diff --git a/common/shlibs b/common/shlibs index 07502488237..d5d256beded 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/zint-qt b/srcpkgs/zint-qt new file mode 120000 index 00000000000..e8e72ad2771 --- /dev/null +++ b/srcpkgs/zint-qt @@ -0,0 +1 @@ +zint \ No newline at end of file diff --git a/srcpkgs/zint/template b/srcpkgs/zint/template index 30412d8cbd4..4dd659e0e22 100644 --- a/srcpkgs/zint/template +++ b/srcpkgs/zint/template @@ -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 " 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 + } +}