From 4fd2c14186db8f606ea1c191f8f98c66d18650f3 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.1 + 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..19f97d64fc50 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.1 +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=6d794a11f7e2f8ca0453c6e778a214005e81b69cef50a0198e9eaf949eda4f06 -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 support for some KDE features" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake"