graphics/mozjpeg: Updated for version 4.1.1.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-05 15:51:41 -05:00 committed by Willy Sudiarto Raharjo
parent 128ceaced5
commit b9f90c3640
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 5 deletions

View file

@ -7,6 +7,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230105 bkw: update for v4.1.1, fix doc symlink.
# 20220318 bkw: fix 32-bit lib vs. lib32 install path mess.
# 20210909 bkw: relicense as WTFPL, w/permission from original author.
@ -45,7 +47,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mozjpeg
VERSION=${VERSION:-4.0.3}
VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -153,7 +155,7 @@ mkdir -p $PKG/usr/doc
mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
rm -f CMakeLists.txt BUILDING.* jconfig.txt # do not want
cp -a *.txt *.md tjexample.c doc/html $PKG/usr/doc/$PRGNAM-$VERSION
ln -s ../../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
ln -s ../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
[ "$JAVA" = "yes" ] && cp -a java/doc $PKG/usr/doc/$PRGNAM-$VERSION/javadoc

View file

@ -1,8 +1,8 @@
PRGNAM="mozjpeg"
VERSION="4.0.3"
VERSION="4.1.1"
HOMEPAGE="https://github.com/mozilla/mozjpeg"
DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.0.3/mozjpeg-4.0.3.tar.gz"
MD5SUM="c6910ca8f0ee82a8c0243dc5b7217aba"
DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.1.1/mozjpeg-4.1.1.tar.gz"
MD5SUM="0eae98d47302cb6f29d1e5aecbae9d52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""