net/serviio: Switch to Java 21.

This commit is contained in:
Alexander Leidinger 2024-03-03 18:17:43 +01:00
parent 4ac8a1929e
commit fabbea96d4
2 changed files with 3 additions and 3 deletions

View File

@ -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
@ -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

View File

@ -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 "$@"