summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author xaizek <xaizek@posteo.net>2023-07-02 21:07:10 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-02 21:27:52 +0700
commitaa5aa14ae34b3780bf69389dc69b81b7d0a69c19 (patch)
tree20869f7d249285ced67cc6d92078d27a78824e1e
parent30b346aa4b91e59ab69fa2f497ad7127694d1947 (diff)
downloadslackbuilds-aa5aa14ae34b3780bf69389dc69b81b7d0a69c19.tar.gz
slackbuilds-aa5aa14ae34b3780bf69389dc69b81b7d0a69c19.tar.xz
graphics/ueberzugpp: Updated for version 2.8.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/ueberzugpp/README9
-rw-r--r--graphics/ueberzugpp/slack-desc4
-rw-r--r--graphics/ueberzugpp/ueberzugpp.SlackBuild21
-rw-r--r--graphics/ueberzugpp/ueberzugpp.info6
4 files changed, 20 insertions, 20 deletions
diff --git a/graphics/ueberzugpp/README b/graphics/ueberzugpp/README
index 8f2f0f04bd..7099964e32 100644
--- a/graphics/ueberzugpp/README
+++ b/graphics/ueberzugpp/README
@@ -1,14 +1,15 @@
ueberzugpp (drop in replacement for ueberzug written in C++)
-Ɯberzug++ is a command line utility written in C++ which allows to
-draw images on terminals by using X11 child windows, sixels or the
-kitty image protocol.
+Ueberzug++ is a command line utility written in C++ which allows to
+draw images on terminals by using X11/wayland child windows, sixels,
+kitty and iterm2 protocols or chafa.
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)
+ * WAYLAND=yes -- enable support for wayland (window positioning is
+ correct only for sway and hyprland)
NOTE: Do not install at the same time with "ueberzug" package!
Both provide /usr/bin/ueberzug.
diff --git a/graphics/ueberzugpp/slack-desc b/graphics/ueberzugpp/slack-desc
index d2d0c773a7..c042e68380 100644
--- a/graphics/ueberzugpp/slack-desc
+++ b/graphics/ueberzugpp/slack-desc
@@ -9,8 +9,8 @@
ueberzugpp: ueberzugpp (drop in replacement for ueberzug written in C++)
ueberzugpp:
ueberzugpp: Ueberzug++ is a command line utility written in C++ which allows to
-ueberzugpp: draw images on terminals by using X11 child windows, sixels or the
-ueberzugpp: kitty image protocol.
+ueberzugpp: draw images on terminals by using X11/wayland child windows, sixels,
+ueberzugpp: kitty and iterm2 protocols or chafa.
ueberzugpp:
ueberzugpp: This project intends to be a drop-in replacement for the now
ueberzugpp: defunct ueberzug project.
diff --git a/graphics/ueberzugpp/ueberzugpp.SlackBuild b/graphics/ueberzugpp/ueberzugpp.SlackBuild
index ab6d3be289..face7b3c21 100644
--- a/graphics/ueberzugpp/ueberzugpp.SlackBuild
+++ b/graphics/ueberzugpp/ueberzugpp.SlackBuild
@@ -25,12 +25,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ueberzugpp
-VERSION=${VERSION:-2.8.6}
+VERSION=${VERSION:-2.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-WLROOTS=${WLROOTS:-no}
+WAYLAND=${WAYLAND:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,19 +51,14 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -81,9 +76,9 @@ 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 )
+with_wayland=()
+if [ "$WAYLAND" = "yes" ]; then
+ with_wayland=( -DENABLE_WAYLAND=ON )
fi
mkdir -p build
@@ -91,13 +86,17 @@ cd build
cmake \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
- "${with_wlroots[@]}" \
+ "${with_wayland[@]}" \
..
make
make install/strip DESTDIR=$PKG
cd ..
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README.md \
diff --git a/graphics/ueberzugpp/ueberzugpp.info b/graphics/ueberzugpp/ueberzugpp.info
index 4ec71f18b5..c26b3432c4 100644
--- a/graphics/ueberzugpp/ueberzugpp.info
+++ b/graphics/ueberzugpp/ueberzugpp.info
@@ -1,8 +1,8 @@
PRGNAM="ueberzugpp"
-VERSION="2.8.6"
+VERSION="2.8.8"
HOMEPAGE="https://github.com/jstkdng/ueberzugpp"
-DOWNLOAD="https://github.com/jstkdng/ueberzugpp/archive/v2.8.6/ueberzugpp-2.8.6.tar.gz"
-MD5SUM="1462ce68657c71c7622b024253ee0704"
+DOWNLOAD="https://github.com/jstkdng/ueberzugpp/archive/v2.8.8/ueberzugpp-2.8.8.tar.gz"
+MD5SUM="731df88e0349427e20aaf4b89c44e021"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="CLI11 chafa fmt libsixel microsoft-gsl nlohmann_json oneTBB spdlog vips"