New package: zxing-cpp-1.2.0

This commit is contained in:
John 2021-12-13 17:24:38 +01:00
parent df6ffa472a
commit 5799c2cebb
3 changed files with 25 additions and 0 deletions

View File

@ -1580,6 +1580,7 @@ libKF5Mime.so.5 kmime-17.12.1_1
libKF5Kirigami2.so.5 kirigami2-5.47.0_1
libtaskmanager.so.6 plasma-workspace-5.8.4_1
libnotificationmanager.so.1 plasma-workspace-5.15.90_1
libZXing.so.1 zxing-cpp-1.2.0_1
libfreerdp-client2.so.2 libfreerdp-2.2.0_3
libfreerdp2.so.2 libfreerdp-2.2.0_3
libwinpr2.so.2 libfreerdp-2.2.0_3

1
srcpkgs/zxing-cpp-devel Symbolic link
View File

@ -0,0 +1 @@
zxing-cpp

View File

@ -0,0 +1,23 @@
# Template file for 'zxing-cpp'
pkgname=zxing-cpp
version=1.2.0
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=OFF -DBUILD_BLACKBOX_TESTS=OFF"
short_desc="Multi-format 1D/2D barcode image processing library"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://github.com/nu-book/zxing-cpp/"
distfiles="https://github.com/nu-book/zxing-cpp/archive/refs/tags/v${version}.tar.gz"
checksum=653d9e44195d86cf64a36af9ff3a1978ec5599df3882439fefa56e7064f55e8a
zxing-cpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}