From d2d771165339a96705dbfe7b5e85c246a09222b2 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Mon, 27 Sep 2021 16:54:14 +0700 Subject: [PATCH] qimgv: update to 1.0.2 + add kde build option --- srcpkgs/qimgv/template | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/srcpkgs/qimgv/template b/srcpkgs/qimgv/template index e206fe931d74..7dede61524ee 100644 --- a/srcpkgs/qimgv/template +++ b/srcpkgs/qimgv/template @@ -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 " 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"