Skip to content

Commit

Permalink
net/serviio: Switch to Java 21.
Browse files Browse the repository at this point in the history
  • Loading branch information
netchild committed Mar 3, 2024
1 parent 4ac8a19 commit fabbea9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions net/serviio/Makefile
@@ -1,6 +1,6 @@
PORTNAME= serviio
PORTVERSION= 2.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net multimedia java www
MASTER_SITES= https://download.serviio.org/releases/
EXTRACT_SUFX= -linux.tar.gz
Expand All @@ -19,7 +19,7 @@ RUN_DEPENDS= ffmpeg:multimedia/ffmpeg

NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 8
JAVA_VERSION= 21
USES= dos2unix
DOS2UNIX_GLOB= derby.properties

Expand Down
2 changes: 1 addition & 1 deletion net/serviio/files/serviiod.in
Expand Up @@ -20,7 +20,7 @@ SERVIIO_CLASS_PATH="$SERVIIO_CLASS_PATH:%%ETCDIR%%"
# Setup Serviio specific properties
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade -Dderby.system.home=/var/db/serviio -Dserviio.home=$HOME -Dffmpeg.location=%%LOCALBASE%%/bin/ffmpeg -Ddcraw.location=%%LOCALBASE%%/bin/dcraw"
JAVA_OPTS="${JAVA_OPTS} -Djcs.auxiliary.DC.attributes.DiskPath=/var/db/serviio"
JAVA_VERSION="1.8+"
JAVA_VERSION="21+"

# A kludge to get the -D... flags to Java, rather than to Serviio itself:
for o in "$@"
Expand Down

0 comments on commit fabbea9

Please sign in to comment.