zint: update to 2.13.0.

This commit is contained in:
Đoàn Trần Công Danh 2024-07-04 08:12:04 +07:00
parent 1906d07113
commit 3cc603708c
3 changed files with 16 additions and 5 deletions

View File

@ -4443,7 +4443,7 @@ libabsl_throw_delegate.so.2401.0.0 abseil-cpp-20240116.1_1
libabsl_time.so.2401.0.0 abseil-cpp-20240116.1_1
libabsl_time_zone.so.2401.0.0 abseil-cpp-20240116.1_1
libabsl_vlog_config_internal.so.2401.0.0 abseil-cpp-20240116.1_1
libzint.so.2.12 libzint-2.12.0_1
libzint.so.2.13 libzint-2.13.0_1
libairspyhf.so.0 libairspyhf-1.6.8_1
libtraceevent.so.1 libtraceevent-1.6.2_1
libtracefs.so.1 libtracefs-1.4.2_1

1
srcpkgs/zint-qt Symbolic link
View File

@ -0,0 +1 @@
zint

View File

@ -1,17 +1,18 @@
# Template file for 'zint'
pkgname=zint
version=2.12.0
version=2.13.0
revision=1
build_style=cmake
configure_args="-DZINT_USE_QT=OFF"
makedepends="libpng-devel zlib-devel"
configure_args="-DZINT_USE_QT=ON -DZINT_USE_PNG=ON -DZINT_QT6=ON"
hostmakedepends="qt6-base"
makedepends="libpng-devel zlib-devel qt6-base-devel qt6-tools-devel qt6-svg-devel"
short_desc="Barcode encoding library"
maintainer="Piraty <mail@piraty.dev>"
license="GPL-3.0-or-later"
homepage="https://www.zint.org.uk/"
changelog="https://raw.githubusercontent.com/zint/zint/master/ChangeLog"
distfiles="https://github.com/zint/zint/archive/refs/tags/${version}.tar.gz"
checksum=83c76873cda163537de4b937d390de42a8ae487e830e73212c4a74c8cc49ce65
checksum=480d95e46d2a2dae204c0f2b6433f185aba50786a0f00d1420752a6e287311ec
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DZINT_TEST=ON"
@ -35,6 +36,7 @@ zint-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
@ -46,3 +48,11 @@ libzint_package() {
vmove "usr/lib/*.so.*"
}
}
zint-qt_package() {
short_desc+=" - Qt frontend"
depends="qt6-svg"
pkg_install() {
vmove usr/bin/zint-qt
}
}