libphonenumber: initial commit, version 8.13.35

This commit is contained in:
Tim Biermann 2024-04-21 23:57:00 +02:00
parent d37897b3e6
commit 0348780955
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 90 additions and 0 deletions

56
libphonenumber/.footprint Normal file
View File

@ -0,0 +1,56 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/phonenumbers/
-rw-r--r-- root/root usr/include/phonenumbers/asyoutypeformatter.h
drwxr-xr-x root/root usr/include/phonenumbers/base/
-rw-r--r-- root/root usr/include/phonenumbers/base/basictypes.h
-rw-r--r-- root/root usr/include/phonenumbers/base/logging.h
drwxr-xr-x root/root usr/include/phonenumbers/base/memory/
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/scoped_ptr.h
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/singleton.h
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/singleton_boost.h
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/singleton_posix.h
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/singleton_stdmutex.h
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/singleton_unsafe.h
-rw-r--r-- root/root usr/include/phonenumbers/base/memory/singleton_win32.h
drwxr-xr-x root/root usr/include/phonenumbers/base/synchronization/
-rw-r--r-- root/root usr/include/phonenumbers/base/synchronization/lock.h
-rw-r--r-- root/root usr/include/phonenumbers/base/synchronization/lock_boost.h
-rw-r--r-- root/root usr/include/phonenumbers/base/synchronization/lock_posix.h
-rw-r--r-- root/root usr/include/phonenumbers/base/synchronization/lock_stdmutex.h
-rw-r--r-- root/root usr/include/phonenumbers/base/synchronization/lock_unsafe.h
-rw-r--r-- root/root usr/include/phonenumbers/base/synchronization/lock_win32.h
-rw-r--r-- root/root usr/include/phonenumbers/base/template_util.h
-rw-r--r-- root/root usr/include/phonenumbers/base/thread_checker.h
-rw-r--r-- root/root usr/include/phonenumbers/callback.h
drwxr-xr-x root/root usr/include/phonenumbers/geocoding/
-rw-r--r-- root/root usr/include/phonenumbers/geocoding/phonenumber_offline_geocoder.h
-rw-r--r-- root/root usr/include/phonenumbers/logger.h
-rw-r--r-- root/root usr/include/phonenumbers/matcher_api.h
-rw-r--r-- root/root usr/include/phonenumbers/phonemetadata.pb.h
-rw-r--r-- root/root usr/include/phonenumbers/phonenumber.pb.h
-rw-r--r-- root/root usr/include/phonenumbers/phonenumbermatch.h
-rw-r--r-- root/root usr/include/phonenumbers/phonenumbermatcher.h
-rw-r--r-- root/root usr/include/phonenumbers/phonenumberutil.h
-rw-r--r-- root/root usr/include/phonenumbers/regexp_adapter.h
-rw-r--r-- root/root usr/include/phonenumbers/regexp_cache.h
-rw-r--r-- root/root usr/include/phonenumbers/region_code.h
-rw-r--r-- root/root usr/include/phonenumbers/shortnumberinfo.h
-rw-r--r-- root/root usr/include/phonenumbers/unicodestring.h
drwxr-xr-x root/root usr/include/phonenumbers/utf/
-rw-r--r-- root/root usr/include/phonenumbers/utf/unicodetext.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/libphonenumber/
-rw-r--r-- root/root usr/lib/cmake/libphonenumber/libphonenumber-config-version.cmake
-rw-r--r-- root/root usr/lib/cmake/libphonenumber/libphonenumber-config.cmake
-rw-r--r-- root/root usr/lib/cmake/libphonenumber/libphonenumber-targets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/libphonenumber/libphonenumber-targets.cmake
-rw-r--r-- root/root usr/lib/libgeocoding.a
lrwxrwxrwx root/root usr/lib/libgeocoding.so -> libgeocoding.so.8
lrwxrwxrwx root/root usr/lib/libgeocoding.so.8 -> libgeocoding.so.8.13
-rwxr-xr-x root/root usr/lib/libgeocoding.so.8.13
-rw-r--r-- root/root usr/lib/libphonenumber.a
lrwxrwxrwx root/root usr/lib/libphonenumber.so -> libphonenumber.so.8
lrwxrwxrwx root/root usr/lib/libphonenumber.so.8 -> libphonenumber.so.8.13
-rwxr-xr-x root/root usr/lib/libphonenumber.so.8.13

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/kde-plasma-6.pub
RWTGxEYrvi0p3ngr583HU0iezToM2GEFYAHiuHY2ldaQukvsCrvxex4cLjxsdqP5O/XOSpW9b6CjRBWtYGYBthKclacjBpXpWQs=
SHA256 (Pkgfile) = c1ee126151e69d2c1f11189d2ead3120348d64f988a4f745d7b29fd29219fc11
SHA256 (.footprint) = 666c1dd2f8962293c8ccb89310e904793d23a57911882a8ab45e74c40c6fbc2d
SHA256 (libphonenumber-8.13.35.tar.gz) = dc3dc9aaa48510f424f8b9ec520c0451a7dafdc46c800d1ba3701f82e6dab078

29
libphonenumber/Pkgfile Normal file
View File

@ -0,0 +1,29 @@
# Description: Google's common library for parsing, formatting, and validating international phone numbers
# URL: https://github.com/googlei18n/libphonenumber
# Maintainer: CRUX KDE Ports, kde-ports at crux dot nu
# Depends on: icu openjdk20-jdk protobuf
name=libphonenumber
version=8.13.35
release=1
source=(https://github.com/google/libphonenumber/archive/v$version/$name-$version.tar.gz)
build() {
export PATH="/usr/lib/java/openjdk20-jdk/bin:/usr/bin:/bin:/usr/sbin:/sbin"
cmake -S $name-$version/cpp -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D CMAKE_CXX_STANDARD=17 \
-D USE_BOOST=OFF \
-D USE_STDMUTEX=ON \
-D BUILD_TESTING=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}
# vim: set ts=4 et: