graphics/qimgv: allow disabling KDE integration

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
С. С. Болоканаръ 2023-06-18 20:01:13 +03:00 committed by Willy Sudiarto Raharjo
parent 2f322b668a
commit 3a7ad1faa4
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,10 @@
A qt5 cross-platform image viewer with video support
Notes:
To build with video support, pass WITH_VIDEO=ON to the build script.
mpv required for video support.
mpv is required for the video support
To disable KDE integration, pass WITH_KDE=OFF
WARNING: you will need to disable KDE integration if you do not have
KDE installed or the build will fail.

View File

@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qimgv
VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -61,6 +61,7 @@ else
fi
WITH_VIDEO=${WITH_VIDEO:-OFF}
WITH_KDE=${WITH_KDE:-ON}
set -e
@ -89,7 +90,7 @@ cd build
-DEXIV2=ON \
-DOPENCV_SUPPORT=ON \
-DVIDEO_SUPPORT=${WITH_VIDEO} \
-DKDE_SUPPORT=ON \
-DKDE_SUPPORT=${WITH_KDE} \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG