graphics/qimgv: allow disabling KDE integration
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2f322b668a
commit
3a7ad1faa4
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue