Skip to content

Commit

Permalink
libphonenumber 8.13.14
Browse files Browse the repository at this point in the history
Closes Homebrew#133508.

Co-authored-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
2 people authored and carlocab committed Jun 15, 2023
1 parent bf9dc2a commit f5ddc93
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Formula/libphonenumber.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
class Libphonenumber < Formula
desc "C++ Phone Number library by Google"
homepage "https://github.com/google/libphonenumber"
# TODO: Check if we can use unversioned `protobuf` at version bump
url "https://github.com/google/libphonenumber/archive/v8.13.13.tar.gz"
sha256 "5722d25b41ef621849f765121233dcedeb4bca7df87355a21053f893ba7a9a69"
url "https://github.com/google/libphonenumber/archive/v8.13.14.tar.gz"
sha256 "65aa0c7d6da4b070794fb1d7d34f7322e613708c3f10ddd90fe3725e049f1fb0"
license "Apache-2.0"
revision 2

livecheck do
url :stable
Expand All @@ -28,7 +26,7 @@ class Libphonenumber < Formula
depends_on "abseil"
depends_on "boost"
depends_on "icu4c"
depends_on "protobuf@21"
depends_on "protobuf"
depends_on "re2"

fails_with gcc: "5" # For abseil and C++17
Expand Down Expand Up @@ -68,8 +66,7 @@ def install
}
}
EOS
system ENV.cxx, "-std=c++17", "-I#{Formula["protobuf@21"].opt_include}", "test.cpp",
"-L#{lib}", "-lphonenumber", "-o", "test"
system ENV.cxx, "-std=c++17", "test.cpp", "-L#{lib}", "-lphonenumber", "-o", "test"
system "./test"
end
end
Expand Down

0 comments on commit f5ddc93

Please sign in to comment.