diff options
author | xaizek <xaizek@posteo.net> | 2023-11-29 06:04:03 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-29 11:21:47 +0700 |
commit | afcddad3aefe803e4fcc989c8c94410299b473ff (patch) | |
tree | 2e5d6006321d0e751e37796d81e14ab8ee26fd28 /libraries/libsixel | |
parent | 94ad243b90ba3dfaa7c7aeed675cc18d5c23355f (diff) |
libraries/libsixel: Updated for version 1.10.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libsixel')
-rw-r--r-- | libraries/libsixel/libsixel.SlackBuild | 38 | ||||
-rw-r--r-- | libraries/libsixel/libsixel.info | 8 |
2 files changed, 25 insertions, 21 deletions
diff --git a/libraries/libsixel/libsixel.SlackBuild b/libraries/libsixel/libsixel.SlackBuild index e02d2328cc8b..59a6b2a038e8 100644 --- a/libraries/libsixel/libsixel.SlackBuild +++ b/libraries/libsixel/libsixel.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libsixel -VERSION=${VERSION:-1.8.6} +VERSION=${VERSION:-1.10.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -68,7 +68,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd sixel-$VERSION +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -76,27 +76,31 @@ 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 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --disable-static \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -# Don't ship .la files: -rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +mkdir build +cd build + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true + "${NINJA:=ninja}" + DESTDIR=$PKG $NINJA install +cd .. + +# static library is built unconditionally +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a 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 \ - ChangeLog NEWS \ + AUTHORS LICENSE NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/libsixel/libsixel.info b/libraries/libsixel/libsixel.info index e091af9ca221..89d9a88aa1ee 100644 --- a/libraries/libsixel/libsixel.info +++ b/libraries/libsixel/libsixel.info @@ -1,8 +1,8 @@ PRGNAM="libsixel" -VERSION="1.8.6" -HOMEPAGE="https://github.com/saitoha/libsixel" -DOWNLOAD="https://github.com/saitoha/libsixel/releases/download/v1.8.6/libsixel-1.8.6.tar.gz" -MD5SUM="f691eba95b54a8407c875b163e73a6ef" +VERSION="1.10.3" +HOMEPAGE="https://github.com/libsixel/libsixel" +DOWNLOAD="https://github.com/libsixel/libsixel/archive/v1.10.3/libsixel-1.10.3.tar.gz" +MD5SUM="c104233ee1a4c18fb2e76a478d9bb60c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |