aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-01 19:59:15 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-03 15:56:47 +0700
commit3019930341fbe5342ca54a1d3680ac86de834b4d (patch)
tree19e6687bfaac4fdf30bc0683763754bd4e8efba8
parent39847130cdfa8095cdd8fee3fce578cf9c53e625 (diff)
graphics/mozjpeg: Note zulu-openjdk*.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/mozjpeg/README6
-rw-r--r--graphics/mozjpeg/mozjpeg.SlackBuild2
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README
index a8d968a844c56..511af1e870596 100644
--- a/graphics/mozjpeg/README
+++ b/graphics/mozjpeg/README
@@ -54,7 +54,7 @@ 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*
-or adoptopenjdk* 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
+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.
diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild
index 1a50e140c1f24..b31bbab2f5022 100644
--- a/graphics/mozjpeg/mozjpeg.SlackBuild
+++ b/graphics/mozjpeg/mozjpeg.SlackBuild
@@ -107,7 +107,7 @@ if [ "$JAVA" = "yes" ]; then
# sure it actually matters that much ("write once, run anywhere" should
# mean a .jar built with openjdk will run with Oracle's jdk, right? But
# there's JNI (native code) involved...)
- for i in jdk openjdk8 openjdk7 openjdk6; do
+ for i in jdk openjdk8 openjdk7 openjdk6 zulu-openjdk6 zulu-openjdk7 zulu-openjdk8 ; do
if [ -x /etc/profile.d/$i.sh ]; then
source /etc/profile.d/$i.sh
break