graphics/mozjpeg: Updated for version 4.1.5.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ba41e1ddeb
commit
fed43797d8
|
@ -51,10 +51,10 @@ mozjpeg libraries automatically.
|
|||
|
||||
Java Support
|
||||
------------
|
||||
Optionally, mozjpeg can be built with Java wrapper support
|
||||
for turbojpeg. To do this, install one of: jdk, openjdk8,
|
||||
openjdk7, or openjdk6 (or possibly one of the zulu-openjdk*
|
||||
packages; untested). Then run this script with JAVA=yes in
|
||||
the environment. The Java library will be installed as
|
||||
/opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in
|
||||
Optionally, mozjpeg can be built with Java wrapper support for
|
||||
turbojpeg. To do this, install one of: zulu-openjdk8, openjdk8,
|
||||
openjdk7, or openjdk6 (or possibly jdk, or one of the later
|
||||
zulu-openjdk* packages; untested). Then run this script with
|
||||
JAVA=yes in the environment. The Java library will be installed
|
||||
as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in
|
||||
/usr/doc/mozjpeg-$VERSION/javadoc.
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20240317 bkw: update for v4.1.5.
|
||||
# 20230912 bkw: update for v4.1.4.
|
||||
|
||||
# 20230710 bkw:
|
||||
|
@ -53,7 +54,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=mozjpeg
|
||||
VERSION=${VERSION:-4.1.4}
|
||||
VERSION=${VERSION:-4.1.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -139,8 +140,8 @@ rm -rf $PRGNAM-$VERSION
|
|||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
@ -170,14 +171,15 @@ fi
|
|||
rm -rf $PKG/opt/$PRGNAM/man
|
||||
|
||||
# most of the docs are installed in /opt already, but not all.
|
||||
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKG/usr/doc
|
||||
mv $PKG/opt/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $PKG/opt/$PRGNAM/doc $PKGDOC
|
||||
rm -f CMakeLists.txt BUILDING.* jconfig.txt # do not want
|
||||
cp -a *.txt *.md tjexample.c doc/html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a *.txt *.md tjexample.c doc/html $PKGDOC
|
||||
ln -s ../../usr/doc/$PRGNAM-$VERSION $PKG/opt/$PRGNAM/doc
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
|
||||
|
||||
[ "$JAVA" = "yes" ] && cp -a java/doc $PKG/usr/doc/$PRGNAM-$VERSION/javadoc
|
||||
[ "$JAVA" = "yes" ] && cp -a java/doc $PKGDOC/javadoc
|
||||
|
||||
# 20210312 bkw: profile script is new with v4.0.x. It's installed without +x
|
||||
# permission (see README).
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="mozjpeg"
|
||||
VERSION="4.1.4"
|
||||
VERSION="4.1.5"
|
||||
HOMEPAGE="https://github.com/mozilla/mozjpeg"
|
||||
DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.1.4/mozjpeg-4.1.4.tar.gz"
|
||||
MD5SUM="076b452b78001f29b2e996029c23aac0"
|
||||
DOWNLOAD="https://github.com/mozilla/mozjpeg/archive/v4.1.5/mozjpeg-4.1.5.tar.gz"
|
||||
MD5SUM="d37f58b3ebc811deaf3f684c85700294"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue