qxmpp 1.5.1
Closes #122348. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
0bbdeded61
commit
74bca2487a
|
@ -1,8 +1,8 @@
|
|||
class Qxmpp < Formula
|
||||
desc "Cross-platform C++ XMPP client and server library"
|
||||
homepage "https://github.com/qxmpp-project/qxmpp/"
|
||||
url "https://github.com/qxmpp-project/qxmpp/archive/v1.4.0.tar.gz"
|
||||
sha256 "2148162138eaf4b431a6ee94104f87877b85a589da803dff9433c698b4cf4f19"
|
||||
url "https://github.com/qxmpp-project/qxmpp/archive/v1.5.1.tar.gz"
|
||||
sha256 "13cddaea206385202346fc7c0479c22da4c1463ef36a8e07ba09131eece06198"
|
||||
license "LGPL-2.1-or-later"
|
||||
|
||||
bottle do
|
||||
|
@ -19,15 +19,14 @@ class Qxmpp < Formula
|
|||
|
||||
depends_on "cmake" => :build
|
||||
depends_on xcode: :build
|
||||
depends_on "qt@5"
|
||||
depends_on "qt"
|
||||
|
||||
fails_with gcc: "5"
|
||||
|
||||
def install
|
||||
mkdir "build" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
system "cmake", "--build", ".", "--target", "install"
|
||||
end
|
||||
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
|
||||
system "cmake", "--build", "build"
|
||||
system "cmake", "--install", "build"
|
||||
end
|
||||
|
||||
test do
|
||||
|
@ -53,7 +52,7 @@ class Qxmpp < Formula
|
|||
}
|
||||
EOS
|
||||
|
||||
system "#{Formula["qt@5"].bin}/qmake", "test.pro"
|
||||
system "#{Formula["qt"].bin}/qmake", "test.pro"
|
||||
system "make"
|
||||
assert_predicate testpath/"test", :exist?, "test output file does not exist!"
|
||||
system "./test"
|
||||
|
|
Loading…
Reference in New Issue