graphics/chafa: Updated for version 1.14.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
98e6620df8
commit
c3f9776555
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue