summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Vijay Marcel2024-02-07 00:29:53 +0100
committer Willy Sudiarto Raharjo2024-02-10 10:09:43 +0100
commitc3f9776555030b6fb7bf56644396eaf2043e4f6e (patch)
treea42ded44050404f26b08f528d0506433824e8090 /graphics
parent98e6620df86d0bf2e4315ddef49692cf85808198 (diff)
downloadslackbuilds-c3f9776555030b6fb7bf56644396eaf2043e4f6e.tar.gz
graphics/chafa: Updated for version 1.14.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/chafa/chafa.SlackBuild18
-rw-r--r--graphics/chafa/chafa.info6
-rw-r--r--graphics/chafa/changelog6
3 files changed, 18 insertions, 12 deletions
diff --git a/graphics/chafa/chafa.SlackBuild b/graphics/chafa/chafa.SlackBuild
index 9081665b9a..6b131b4122 100644
--- a/graphics/chafa/chafa.SlackBuild
+++ b/graphics/chafa/chafa.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for chafa
-# Copyright 2022-2023 Vijay Marcel
+# Copyright 2022-2024 Vijay Marcel
# All rights reserved.
#
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=chafa
-VERSION=${VERSION:-1.12.5}
+VERSION=${VERSION:-1.14.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,6 +82,7 @@ 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 {} \;
+CPPFLAGS="-D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS" \
CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -92,8 +93,12 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-man \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-shared=yes \
- --enable-static=no \
+ --enable-shared \
+ --disable-static \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf \
+ --without-avif \
--with-gnu-ld \
--build=$ARCH-slackware-linux
@@ -110,11 +115,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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
-find $PKG -name perllocal.pod \
- -o -name ".packlist" \
- -o -name "*.bs" \
- | xargs rm -f
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING COPYING.LESSER HACKING NEWS README README.md SECURITY.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/graphics/chafa/chafa.info b/graphics/chafa/chafa.info
index 2ef2f195bd..b228710458 100644
--- a/graphics/chafa/chafa.info
+++ b/graphics/chafa/chafa.info
@@ -1,8 +1,8 @@
PRGNAM="chafa"
-VERSION="1.12.5"
+VERSION="1.14.0"
HOMEPAGE="https://hpjansson.org/chafa"
-DOWNLOAD="https://hpjansson.org/chafa/releases/chafa-1.12.5.tar.xz"
-MD5SUM="2bf932a51d6b66d2660198122d310406"
+DOWNLOAD="https://hpjansson.org/chafa/releases/chafa-1.14.0.tar.xz"
+MD5SUM="9b13047a48ee89fd1064886ef73ad06b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/graphics/chafa/changelog b/graphics/chafa/changelog
index c7932bdd9b..8b7e5ac5cb 100644
--- a/graphics/chafa/changelog
+++ b/graphics/chafa/changelog
@@ -19,3 +19,9 @@ DSO missing from command line
to avoid this modify the CFLAGS to
CFLAGS="$SLKCFLAGS $(pkg-config --libs libwebp)"
Thanks to Christoph Willing for the solution.
+
+05/02/2024:
+
+updated to version 1.14.0
+libavif is an optional dependency.This slackbuild
+builds without avif support.