aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxaizek <xaizek@posteo.net>2023-06-01 21:45:55 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-03 10:38:19 +0700
commit4143ae729c5d1abc7c00f436b241998b2ed4e24d (patch)
treeff58535cc02a19ce84ed0487b63dd0fa5ba43d53
parentbdb51b71f6339bcacdc6733846dcd7a23be23520 (diff)
graphics/ueberzugpp: Updated for version 2.8.6.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/ueberzugpp/README3
-rw-r--r--graphics/ueberzugpp/ueberzugpp.SlackBuild10
-rw-r--r--graphics/ueberzugpp/ueberzugpp.info8
3 files changed, 16 insertions, 5 deletions
diff --git a/graphics/ueberzugpp/README b/graphics/ueberzugpp/README
index 1fa0c36a92130..8f2f0f04bd6ba 100644
--- a/graphics/ueberzugpp/README
+++ b/graphics/ueberzugpp/README
@@ -7,5 +7,8 @@ kitty image protocol.
This project intends to be a drop-in replacement for the now
defunct ueberzug project (https://github.com/seebye/ueberzug).
+Options:
+ * WLROOTS=yes -- enable support for wayland (sway and hyprland only)
+
NOTE: Do not install at the same time with "ueberzug" package!
Both provide /usr/bin/ueberzug.
diff --git a/graphics/ueberzugpp/ueberzugpp.SlackBuild b/graphics/ueberzugpp/ueberzugpp.SlackBuild
index 3801b94396d2a..ab6d3be28972d 100644
--- a/graphics/ueberzugpp/ueberzugpp.SlackBuild
+++ b/graphics/ueberzugpp/ueberzugpp.SlackBuild
@@ -25,11 +25,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ueberzugpp
-VERSION=${VERSION:-2.8.3}
+VERSION=${VERSION:-2.8.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+WLROOTS=${WLROOTS:-no}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -79,12 +81,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+with_wlroots=()
+if [ "$WLROOTS" = "yes" ]; then
+ with_wlroots=( -DENABLE_WLROOTS=ON )
+fi
+
mkdir -p build
cd build
cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
+ "${with_wlroots[@]}" \
..
make
make install/strip DESTDIR=$PKG
diff --git a/graphics/ueberzugpp/ueberzugpp.info b/graphics/ueberzugpp/ueberzugpp.info
index c844245a1430f..4ec71f18b5e2a 100644
--- a/graphics/ueberzugpp/ueberzugpp.info
+++ b/graphics/ueberzugpp/ueberzugpp.info
@@ -1,10 +1,10 @@
PRGNAM="ueberzugpp"
-VERSION="2.8.3"
+VERSION="2.8.6"
HOMEPAGE="https://github.com/jstkdng/ueberzugpp"
-DOWNLOAD="https://github.com/jstkdng/ueberzugpp/archive/v2.8.3/ueberzugpp-2.8.3.tar.gz"
-MD5SUM="9a3bd80299199b95330f390f74221159"
+DOWNLOAD="https://github.com/jstkdng/ueberzugpp/archive/v2.8.6/ueberzugpp-2.8.6.tar.gz"
+MD5SUM="1462ce68657c71c7622b024253ee0704"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="CLI11 cppzmq fmt libsixel microsoft-gsl nlohmann_json oneTBB spdlog vips zeromq"
+REQUIRES="CLI11 chafa fmt libsixel microsoft-gsl nlohmann_json oneTBB spdlog vips"
MAINTAINER="xaizek"
EMAIL="xaizek@posteo.net"