Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging 
/ Packages / libphonenumber


Commits:
0d5792e8 by Jan Alexander Steffens (heftig) at 2023-10-03T22:29:03+02:00
8.13.22-1

- - - - -


3 changed files:

- + .SRCINFO
- PKGBUILD
- protobuf-targets.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,29 @@
+pkgbase = libphonenumber
+       pkgdesc = Google's common library for parsing, formatting, and 
validating international phone numbers
+       pkgver = 8.13.22
+       pkgrel = 1
+       epoch = 1
+       url = https://github.com/googlei18n/libphonenumber
+       arch = x86_64
+       license = Apache
+       makedepends = cmake
+       makedepends = git
+       makedepends = gtest
+       makedepends = jre-openjdk-headless
+       depends = abseil-cpp
+       depends = icu
+       depends = protobuf
+       source = 
git+https://github.com/googlei18n/libphonenumber#commit=4189ef0fd972c8b54b8f9d25bf0d600ad9d80a9e
+       source = protobuf-targets.patch
+       b2sums = SKIP
+       b2sums = 
911187934b234eeda64e64513daa2ad7ce5bbb56e91921cad49334286c147acafdaf7343545b3f896ab26ead774902b9f17ace93c8a49ae4b0e9763c0009781e
+
+pkgname = libphonenumber
+       depends = abseil-cpp
+       depends = icu
+       depends = protobuf
+       depends = libicuuc.so
+       depends = libicui18n.so
+       depends = libprotobuf.so
+       provides = libgeocoding.so
+       provides = libphonenumber.so


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org>
 
 pkgname=libphonenumber
-pkgver=8.13.20
+pkgver=8.13.22
 pkgrel=1
 epoch=1
 pkgdesc="Google's common library for parsing, formatting, and validating 
international phone numbers"
@@ -19,13 +19,13 @@ makedepends=(
   gtest
   jre-openjdk-headless
 )
-_commit=6d7589a49a91bfc15bfb757a516ded67ade2c1ed  # tags/v8.13.20^0
+_commit=4189ef0fd972c8b54b8f9d25bf0d600ad9d80a9e  # tags/v8.13.22^0
 source=(
   "git+$url#commit=$_commit"
   protobuf-targets.patch
 )
 b2sums=('SKIP'
-        
'f80dbf7a2654a1d53e2c8452415bc99a26701edbe593ce1b86fdb7ba3fe920888ce07aad74bc33ff0e6335bc0345700318fdeec7f113f29c77a82a9495966317')
+        
'911187934b234eeda64e64513daa2ad7ce5bbb56e91921cad49334286c147acafdaf7343545b3f896ab26ead774902b9f17ace93c8a49ae4b0e9763c0009781e')
 
 pkgver() {
   cd $pkgname
@@ -54,7 +54,7 @@ build() {
   )
 
   # Greatly reduce size of libgeocoding's relocation tables
-  # https://glandium.org/blog/?p=4297
+  # 
https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0023-pack-relative-relocs.rst
   LDFLAGS+=" -Wl,-z,pack-relative-relocs"
 
   cmake -S $pkgname/cpp -B build "${cmake_options[@]}"
@@ -66,8 +66,14 @@ check() {
 }
 
 package() {
-  depends+=(libicu{uc,i18n}.so libprotobuf.so)
-  provides+=(libgeocoding.so libphonenumber.so)
+  depends+=(
+    libicu{uc,i18n}.so
+    libprotobuf.so
+  )
+  provides+=(
+    libgeocoding.so
+    libphonenumber.so
+  )
 
   DESTDIR="$pkgdir" cmake --install build
 }


=====================================
protobuf-targets.patch
=====================================
@@ -1,11 +1,8 @@
- cpp/CMakeLists.txt | 10 ++++------
- 1 file changed, 4 insertions(+), 6 deletions(-)
-
-diff --git c/cpp/CMakeLists.txt i/cpp/CMakeLists.txt
-index cdd7a0813..2ea3c5e38 100644
---- c/cpp/CMakeLists.txt
-+++ i/cpp/CMakeLists.txt
-@@ -176,13 +176,11 @@ if (USE_RE2)
+diff --git i/cpp/CMakeLists.txt w/cpp/CMakeLists.txt
+index 96def5c8f..304a1a2af 100644
+--- i/cpp/CMakeLists.txt
++++ w/cpp/CMakeLists.txt
+@@ -170,13 +170,11 @@ if (USE_RE2)
  endif ()
  
  if (USE_PROTOBUF_LITE)



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libphonenumber/-/commit/0d5792e82515f8b00a4d2dfa0275935f8e5aa4d8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libphonenumber/-/commit/0d5792e82515f8b00a4d2dfa0275935f8e5aa4d8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to