diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /dev-libs/libphonenumber | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-libs/libphonenumber')
-rw-r--r-- | dev-libs/libphonenumber/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libphonenumber/libphonenumber-8.12.37.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libphonenumber/libphonenumber-8.12.39.ebuild | 48 |
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-libs/libphonenumber/Manifest b/dev-libs/libphonenumber/Manifest index 2c773467ee92..1b89c9772313 100644 --- a/dev-libs/libphonenumber/Manifest +++ b/dev-libs/libphonenumber/Manifest @@ -1,5 +1,7 @@ AUX libphonenumber-8.12.37-cmake.patch 1963 BLAKE2B 4ca131a59bb4a5558b01eb1428cf9be4e8c006c85235800f09689960c7c489a4da52d044eb0b11b40172bc37382545f46872f35571b0f349a9749ce21237da64 SHA512 feb365105ad3aa6437b495e0ea86d8050bed06444adb6ce79628186f3d8a5cc67f496b1a73ee8bee049d12e6e108921d76cdfd2d0d1a9095b4d5bc0acf5d2deb AUX libphonenumber-8.12.37-testing.patch 3349 BLAKE2B 1c96a9efd1919c04ed86ad63713e89ea8a6a21139faaa0b4cff406f0d168c57b981b0af1aedf54e54ed753cfa1c8ea815e78fde86c578c9151bdb5d98e6b4ad2 SHA512 00ed243396507f1d7448faed83f82009de7be1418b499f560b0961ea9796bfe7285d9c04c43dc5f3cd8baa90314a487e377f4fba571c5b492e065a97056ce375 DIST libphonenumber-8.12.37.tar.gz 11005274 BLAKE2B 2bcffe898ca7aa667a35e9a7340a54f880cdb9f290e807e9ff7f6ee778df83dd80023703595781a97355a43a8096bdc957a7f79336b5bf9d892ada26e35ae025 SHA512 420ea841679c1ff420289b3fea0bb6d86d4d1e99525fce00cc90025c8ade99e56e2dcbb7fca64190437ff0a889cdc7373f182e7699db20a072c32e984b8dff33 -EBUILD libphonenumber-8.12.37.ebuild 1138 BLAKE2B 4e251ed825d964f9a10ae6dde8cdf7060f94e84363d18d4e077e5fe2b888a1c730358a3c992ca9170d198d8e37d8f273b287205044428e08515ead53cd0dc85c SHA512 9ab9079d4ebe31ba07aeaef1c082450c500ef84437955f119f2e15091ea03dfa24c881319b9b7ffd690bc8b9428139bfffbdf3ffeaa4a8e289376511015376d6 +DIST libphonenumber-8.12.39.tar.gz 11007180 BLAKE2B 27a47b35497772740da04cb9b79e1a6b4fd6f9b0d4a89768e1ba9212672f1a0fd06c5837aa8858a4680b5c47ef16721c6ef145d8d2cd77dccbe27bb4b0897dcf SHA512 82570c60b132022a713c0664de2c29997cff0ab8c3ab97dbec0f8d1cd1782090ba92ca7d2f044760f523c986660f13b70aacf8a9c247a3b80eb19d35227bc2a8 +EBUILD libphonenumber-8.12.37.ebuild 1149 BLAKE2B 1482c372b5d7ab343ed4f1f78765d64a38538c94281872dcaa14a009187f654e6a92204d53d95179cf0d8c16b88483e7da5f034f57faee72e6a5ed7c536fcbbf SHA512 3b656755e55d20494ce8d86255b0bfe78e8300194a29e34852902a9534564fc9eb528840bf9603cecc704318cdbf2483f4ddbc32b2d4622515971d9820a72468 +EBUILD libphonenumber-8.12.39.ebuild 1170 BLAKE2B 8f5f3fde899d58c7a56a594605045382de984e8321f1e7820f74fb0d372c23827ba8c5acf0014ecfab7fa76c4265d575a09df1dad72e18505b2955da83c5e210 SHA512 b554925d81bb4b99ab08a5687916672f522f63c84195b404dac063899e943e47a965fda1f0fc1003d07371868ba0a1000eccdb6cf9d18fdb2f5617eb6579eb1c MISC metadata.xml 417 BLAKE2B 95de59ae08b1ea02b4e31e2db29ed6e17040d243c0254ae64eaa0c1a4195244063714ebe9f29e0979a9f6be728eecdf47f8bfac77f674128fc37f52eaf8c8896 SHA512 6fc39161d18efec9984fac508c586a579d93ae12a3cd3d4671630af04d8c86db1b86a5f43ac421fa7c0a4b38f7e333676fc36c8066fe08ebe2a92e56f1acb882 diff --git a/dev-libs/libphonenumber/libphonenumber-8.12.37.ebuild b/dev-libs/libphonenumber/libphonenumber-8.12.37.ebuild index ca29ba7d46e6..f613d7a4ab4b 100644 --- a/dev-libs/libphonenumber/libphonenumber-8.12.37.ebuild +++ b/dev-libs/libphonenumber/libphonenumber-8.12.37.ebuild @@ -13,7 +13,7 @@ CMAKE_USE_DIR="${WORKDIR}"/${P}/cpp LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm64" +KEYWORDS="amd64 arm64 ~ppc64 x86" IUSE="test" RESTRICT="test !test? ( test )" diff --git a/dev-libs/libphonenumber/libphonenumber-8.12.39.ebuild b/dev-libs/libphonenumber/libphonenumber-8.12.39.ebuild new file mode 100644 index 000000000000..7b2495ee4158 --- /dev/null +++ b/dev-libs/libphonenumber/libphonenumber-8.12.39.ebuild @@ -0,0 +1,48 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR="emake" # broken w/ ninja +inherit cmake + +DESCRIPTION="Library for parsing, formatting, and validating international phone numbers" +HOMEPAGE="https://github.com/google/libphonenumber" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +CMAKE_USE_DIR="${WORKDIR}"/${P}/cpp + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="test" + +RESTRICT="test !test? ( test )" + +DEPEND=" + dev-libs/icu:= + dev-libs/protobuf:= + dev-libs/boost:= +" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( dev-cpp/gtest ) +" + +PATCHES=( + # it is either this, or disable BUILD_GEOCODER + # https://github.com/google/libphonenumber/pull/2556 + "${FILESDIR}"/${PN}-8.12.37-cmake.patch + # see also https://github.com/google/libphonenumber/pull/2459 + # using a stripped-down patch w/ BUILD_TESTING + "${FILESDIR}"/${PN}-8.12.37-testing.patch +) + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC_LIB=OFF + -DBUILD_TESTING=$(usex test) + -DREGENERATE_METADATA=OFF # avoid JRE dependency + ) + cmake_src_configure +} |