qimgv: update to 1.0.2 + add kde build option

This commit is contained in:
FollieHiyuki 2021-09-27 16:54:14 +07:00 committed by Érico Nogueira Rolim
parent 81fe050bdf
commit 53917c367e
1 changed files with 9 additions and 7 deletions

View File

@ -1,25 +1,27 @@
# Template file for 'qimgv'
pkgname=qimgv
version=0.9.1
revision=2
version=1.0.2
revision=1
build_style=cmake
configure_args="$(vopt_if video -DVIDEO_SUPPORT=ON -DVIDEO_SUPPORT=OFF)
$(vopt_if scale -DOPENCV_SUPPORT=ON -DOPENCV_SUPPORT=OFF)"
$(vopt_if scale -DOPENCV_SUPPORT=ON -DOPENCV_SUPPORT=OFF)
$(vopt_if kde -DKDE_SUPPORT=ON -DKDE_SUPPORT=OFF)"
hostmakedepends="pkg-config"
makedepends="exiv2-devel qt5-devel $(vopt_if video mpv-devel)
$(vopt_if scale libopencv4-devel)"
makedepends="exiv2-devel qt5-devel qt5-svg-devel $(vopt_if video mpv-devel)
$(vopt_if scale libopencv4-devel) $(vopt_if kde kwindowsystem-devel)"
depends="hicolor-icon-theme qt5-imageformats"
short_desc="Cross-platform image viewer with webm support"
maintainer="travankor <travankor@tuta.io>"
license="GPL-3.0-or-later"
homepage="https://github.com/easymodo/qimgv"
distfiles="https://github.com/easymodo/qimgv/archive/v${version}.tar.gz"
checksum=728b05b0e26d0188b3d25eb564effab4a77dd0c7453d82e024f1eaa8781e8f4b
checksum=ace75077c5b6f3cb2b0d40b24482b3778728d98dce75ed8186c7ae4282e57634
build_options="scale video"
build_options="scale video kde"
build_options_default="video"
desc_option_scale="Enable high quality scaling options"
desc_option_video="Enable video support"
desc_option_kde="Enable background blur (KDE) option"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"