diff --git a/srcpkgs/nomacs/template b/srcpkgs/nomacs/template index 18954205aad6fb..06e5e15936f6c0 100644 --- a/srcpkgs/nomacs/template +++ b/srcpkgs/nomacs/template @@ -1,31 +1,17 @@ # Template file for 'nomacs' pkgname=nomacs -version=3.17.2287 -revision=5 -_plugins_ver=3.17.2285 +version=3.22.0 +revision=1 build_wrksrc=ImageLounge build_style=cmake configure_args="-DCMAKE_BUILD_TYPE=None -DENABLE_TRANSLATIONS=1 - -DUSE_SYSTEM_QUAZIP=1" -hostmakedepends="pkg-config qt5-qmake qt5-host-tools quazip-devel" -makedepends="qt5-tools-devel qt5-svg-devel exiv2-devel libopencv-devel + -DENABLE_QUAZIP=1 -DUSE_SYSTEM_QUAZIP=1" +hostmakedepends="pkg-config qt6-base qt6-declarative-host-tools quazip-qt6-devel" +makedepends="qt6-tools-devel qt6-svg-devel qt6-qt5compat-devel exiv2-devel libopencv-devel libraw-devel quazip-devel" short_desc="Simple yet powerful Qt imageviewer" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://github.com/nomacs/nomacs" -distfiles="https://github.com/nomacs/nomacs/archive/${version}.tar.gz - https://github.com/novomesk/nomacs-plugins/archive/refs/tags/${_plugins_ver}.tar.gz>plugins.tar.gz" -checksum="6905ea615358f84a0c83d5b1b7077871dea0526ec667500a1951448cb845a92c - 946b2d754be9ecca5cb155f7ecc5dcafb164f6c3dcc7bf5c3c0610d3b47774aa" -skip_extraction="plugins.tar.gz" - -post_extract() { - cd ${build_wrksrc} - vsrcextract -C plugins "plugins.tar.gz" -} - -post_patch() { - # XXX: remove this when updating, it no longer requires git as of 3.17.2295 - vsed -i -e "s/import subprocess/return '${version}'/" ../scripts/versionupdate.py -} +distfiles="https://github.com/nomacs/nomacs/archive/${version}.tar.gz" +checksum="0842ce44999fe6a315069ca06b1b3d189dcb34308c8b359b83c453eb76366c0f"