zxing-cpp: initial commit, version 2.2.1

This commit is contained in:
Tim Biermann 2024-04-21 23:54:14 +02:00
parent be4e304149
commit 1a75d8447c
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 69 additions and 0 deletions

40
zxing-cpp/.footprint Normal file
View File

@ -0,0 +1,40 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/ZXing/
-rw-r--r-- root/root usr/include/ZXing/BarcodeFormat.h
-rw-r--r-- root/root usr/include/ZXing/BitHacks.h
-rw-r--r-- root/root usr/include/ZXing/BitMatrix.h
-rw-r--r-- root/root usr/include/ZXing/BitMatrixIO.h
-rw-r--r-- root/root usr/include/ZXing/ByteArray.h
-rw-r--r-- root/root usr/include/ZXing/CharacterSet.h
-rw-r--r-- root/root usr/include/ZXing/Content.h
-rw-r--r-- root/root usr/include/ZXing/DecodeHints.h
-rw-r--r-- root/root usr/include/ZXing/Error.h
-rw-r--r-- root/root usr/include/ZXing/Flags.h
-rw-r--r-- root/root usr/include/ZXing/GTIN.h
-rw-r--r-- root/root usr/include/ZXing/ImageView.h
-rw-r--r-- root/root usr/include/ZXing/Matrix.h
-rw-r--r-- root/root usr/include/ZXing/MultiFormatWriter.h
-rw-r--r-- root/root usr/include/ZXing/Point.h
-rw-r--r-- root/root usr/include/ZXing/Quadrilateral.h
-rw-r--r-- root/root usr/include/ZXing/Range.h
-rw-r--r-- root/root usr/include/ZXing/ReadBarcode.h
-rw-r--r-- root/root usr/include/ZXing/ReaderOptions.h
-rw-r--r-- root/root usr/include/ZXing/Result.h
-rw-r--r-- root/root usr/include/ZXing/StructuredAppend.h
-rw-r--r-- root/root usr/include/ZXing/TextUtfEncoding.h
-rw-r--r-- root/root usr/include/ZXing/ZXAlgorithms.h
-rw-r--r-- root/root usr/include/ZXing/ZXConfig.h
-rw-r--r-- root/root usr/include/ZXing/ZXVersion.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/ZXing/
-rw-r--r-- root/root usr/lib/cmake/ZXing/ZXingConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/ZXing/ZXingConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/ZXing/ZXingTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/ZXing/ZXingTargets.cmake
lrwxrwxrwx root/root usr/lib/libZXing.so -> libZXing.so.3
-rwxr-xr-x root/root usr/lib/libZXing.so.2.2.1
lrwxrwxrwx root/root usr/lib/libZXing.so.3 -> libZXing.so.2.2.1
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/zxing.pc

5
zxing-cpp/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/kde-plasma-6.pub
RWTGxEYrvi0p3kt5P6eHpWGM6YKQNkywR8ed5y5PVYbRDfGFOcD/ECKKi8M5URwPoRF9mQ9/siUNCC+3royxtP2/Dq+xCKMg2go=
SHA256 (Pkgfile) = 7b1a4510cc6b901b4bdfb123235296153d4269ccd35dbaae1d091400f070ba4e
SHA256 (.footprint) = 06295efcc48afbb9d93990009bd214d9d54d42812ad84e10758cd20e866e0dd5
SHA256 (zxing-cpp-2.2.1.tar.gz) = 02078ae15f19f9d423a441f205b1d1bee32349ddda7467e2c84e8f08876f8635

24
zxing-cpp/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: A C++ library to decode QRCode
# URL: https://github.com/nu-book/zxing-cpp
# Maintainer: CRUX KDE Ports, kde-ports at crux dot nu
# Depends on:
name=zxing-cpp
version=2.2.1
release=1
source=(https://github.com/nu-book/zxing-cpp/archive/v$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -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 BUILD_EXAMPLES=OFF \
-D BUILD_UNIT_TESTS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}