aboutsummaryrefslogtreecommitdiff
path: root/graphics/webp-pixbuf-loader
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-10 02:58:32 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:13 +0700
commiteae06ac9ce72b18e979ee2cc5c91dcf26e91dfc3 (patch)
tree38d8a3480932eb758765a1ec53d52de75266dc13 /graphics/webp-pixbuf-loader
parent4f5ff784f826ae9d5457cc7b74751a7a3f2ebe51 (diff)
graphics/webp-pixbuf-loader: Updated for version 0.0.3.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/webp-pixbuf-loader')
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild15
-rw-r--r--graphics/webp-pixbuf-loader/webp-pixbuf-loader.info6
2 files changed, 13 insertions, 8 deletions
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
index 32beb61370b6..c5d16b6a53f2 100644
--- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.SlackBuild
@@ -6,10 +6,15 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20210910 bkw: upstream finally started doing releases!
+# - upgrade for v0.0.3
+# - include LICENSE in DOCDIR
+# - include 2 test .webp images in DOCDIR
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=webp-pixbuf-loader
-VERSION=${VERSION:-20191003.fb04954}
+VERSION=${VERSION:-0.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -54,7 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
@@ -80,9 +82,12 @@ cd build
DESTDIR=$PKG $NINJA install
cd ..
+# 20210910 bkw: upstream added a README.md, but it's just
+# install instructions.
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $DOCDIR
cat $CWD/README > $DOCDIR/README
+cp -a LICENSE* tests/*.webp $DOCDIR
cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
index 2e575782ca19..737550c0cbd4 100644
--- a/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
+++ b/graphics/webp-pixbuf-loader/webp-pixbuf-loader.info
@@ -1,8 +1,8 @@
PRGNAM="webp-pixbuf-loader"
-VERSION="20191003.fb04954"
+VERSION="0.0.3"
HOMEPAGE="https://github.com/aruiz/webp-pixbuf-loader"
-DOWNLOAD="https://slackware.uk/~urchlay/src/webp-pixbuf-loader-20191003.fb04954.tar.xz"
-MD5SUM="d3e9041ab56b18020c647dcb9f3176d4"
+DOWNLOAD="https://github.com/aruiz/webp-pixbuf-loader/archive/0.0.3/webp-pixbuf-loader-0.0.3.tar.gz"
+MD5SUM="66ed64b8ebb70efef26c233876e8bd74"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""