Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging
/ Packages / libphonenumber
Commits:
45f4bcb8 by Jan Alexander Steffens (heftig) at 2024-11-08T03:34:33+01:00
1:8.13.49-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,21 +1,23 @@
pkgbase = libphonenumber
pkgdesc = Google's common library for parsing, formatting, and
validating international phone numbers
- pkgver = 8.13.46
- pkgrel = 2
+ pkgver = 8.13.49
+ pkgrel = 1
epoch = 1
url = https://github.com/googlei18n/libphonenumber
arch = x86_64
license = Apache-2.0 AND BSD-3-Clause
makedepends = cmake
makedepends = git
+ makedepends = gtest
+ makedepends = jre-openjdk-headless
depends = abseil-cpp
depends = gcc-libs
depends = glibc
depends = icu
depends = protobuf
- source = git+https://github.com/googlei18n/libphonenumber#tag=v8.13.46
+ source = git+https://github.com/googlei18n/libphonenumber#tag=v8.13.49
source = 0001-Use-find_package-for-protobuf.patch
- b2sums =
d240dabb3e2e240db0eaf0b967cb6b1505a95b748245f7b3a7f4e91a3149ff505164d06a70118b813911e1231177d6c25d0903e1c9a2be701f295af0d0dbdafd
+ b2sums =
4b06ded7c7008d023a82ef0d80d6b8a064d19201f54d864111942bd8c42c3a4427bbc52a6a6668e7f5a489e4279feb2147c3fba95b31b51969c525c6b7f36e2a
b2sums =
8fc1c65d863051052bb1cb3759a252a3b36a9dffa1335eae4d043821797651e57ca8902cced0672d3c47192b50b9b54436a1551ce65b2e9a4bd82351a58ef1ac
pkgname = libphonenumber
=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
pkgname=libphonenumber
-pkgver=8.13.46
-pkgrel=2
+pkgver=8.13.49
+pkgrel=1
epoch=1
pkgdesc="Google's common library for parsing, formatting, and validating
international phone numbers"
url="https://github.com/googlei18n/libphonenumber"
@@ -18,12 +18,14 @@ depends=(
makedepends=(
cmake
git
+ gtest
+ jre-openjdk-headless
)
source=(
"git+$url#tag=v$pkgver"
0001-Use-find_package-for-protobuf.patch
)
-b2sums=('d240dabb3e2e240db0eaf0b967cb6b1505a95b748245f7b3a7f4e91a3149ff505164d06a70118b813911e1231177d6c25d0903e1c9a2be701f295af0d0dbdafd'
+b2sums=('4b06ded7c7008d023a82ef0d80d6b8a064d19201f54d864111942bd8c42c3a4427bbc52a6a6668e7f5a489e4279feb2147c3fba95b31b51969c525c6b7f36e2a'
'8fc1c65d863051052bb1cb3759a252a3b36a9dffa1335eae4d043821797651e57ca8902cced0672d3c47192b50b9b54436a1551ce65b2e9a4bd82351a58ef1ac')
prepare() {
@@ -41,16 +43,16 @@ build() {
-D CMAKE_CXX_STANDARD=17
-D USE_BOOST=OFF
-D USE_STDMUTEX=ON
-
- # https://issuetracker.google.com/issues/369040934
- -D BUILD_TESTING=OFF
- -D REGENERATE_METADATA=OFF
)
cmake -S $pkgname/cpp -B build "${cmake_options[@]}"
cmake --build build
}
+check() {
+ cmake --build build --target tests
+}
+
package() {
depends+=(
libicu{uc,i18n}.so
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libphonenumber/-/commit/45f4bcb8519e8c361091c558c00e9a97d11dd2ea
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libphonenumber/-/commit/45f4bcb8519e8c361091c558c00e9a97d11dd2ea
You're receiving this email because of your account on gitlab.archlinux.org.