aboutsummaryrefslogtreecommitdiffstats
path: root/community/libphonenumber/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libphonenumber/APKBUILD')
-rw-r--r--community/libphonenumber/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/community/libphonenumber/APKBUILD b/community/libphonenumber/APKBUILD
index 93eadb25bc..9bf18033f6 100644
--- a/community/libphonenumber/APKBUILD
+++ b/community/libphonenumber/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Bhushan Shah <bshah@kde.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libphonenumber
-pkgver=8.12.18
+pkgver=8.12.24
pkgrel=0
pkgdesc="Library for parsing, formatting, and validating international phone numbers."
url="https://github.com/googlei18n/libphonenumber"
@@ -15,17 +15,21 @@ depends_dev="
makedepends="$depends_dev
cmake
gtest-dev
+ ninja
"
checkdepends="gtest"
subpackages="$pkgname-static $pkgname-dev"
-source="https://github.com/googlei18n/libphonenumber/archive/v$pkgver/libphonenumber-v$pkgver.tar.gz"
+source="https://github.com/googlei18n/libphonenumber/archive/v$pkgver/libphonenumber-v$pkgver.tar.gz
+ cmake-duplicate-rule-definition.patch
+ "
build() {
cd cpp
- cmake -B build \
+ cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DREGENERATE_METADATA=OFF
cmake --build build
}
@@ -39,4 +43,7 @@ package() {
DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="975efaa621f1253b9a4100311d6942a83d2659e00836e1225b1a21eabecb8683a6b4c2dea9c08314d97ad11400146f9e33df3d6912a04c99707ea01a35963d12 libphonenumber-v8.12.18.tar.gz"
+sha512sums="
+893123d41e56dca533f00217807843bc70c91254a110e67c9d11aae9ec7fbe494ad3f141ad904c0686238f362ffda3d08d741891f8743d159f2dcbf4f436779d libphonenumber-v8.12.24.tar.gz
+dc76f0649c401ec97a7449373b96247135c3b80cf1e5bb8afba005fed1055a74429d3c778b7519b609bdcfbb278be395ef83e0bd00228239b6f15d96b0d2df11 cmake-duplicate-rule-definition.patch
+"