aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorС. С. Болоканаръ <bolokanar@bulgars.org>2023-06-18 20:01:13 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-20 17:30:36 +0700
commit3a7ad1faa48ac46452487a85f45d222c58b5664a (patch)
treea76df876aef458b8a13c65cbea51929f2dd8f3ff /graphics
parent2f322b668a020f6b28b31844bcacbce5f86badc8 (diff)
graphics/qimgv: allow disabling KDE integration
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qimgv/README8
-rw-r--r--graphics/qimgv/qimgv.SlackBuild5
2 files changed, 10 insertions, 3 deletions
diff --git a/graphics/qimgv/README b/graphics/qimgv/README
index a2a3a50670167..13b87fa88c9bf 100644
--- a/graphics/qimgv/README
+++ b/graphics/qimgv/README
@@ -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.
diff --git a/graphics/qimgv/qimgv.SlackBuild b/graphics/qimgv/qimgv.SlackBuild
index eb1baac81c141..6fd2126411166 100644
--- a/graphics/qimgv/qimgv.SlackBuild
+++ b/graphics/qimgv/qimgv.SlackBuild
@@ -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