mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
german/mediathek:
- Rename the port to german/mediathekview to reflect upstream change (a long time ago) - Update to 13.0.1 - Use upstream's Java start parameters in mediathekview.in - Switch from .zip to .tar.gz distfile - Add an OPTION for multimedia/mpv as player / backend - Modernize OPTIONS
This commit is contained in:
parent
cffc3bce8b
commit
ba64203142
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434474
1
MOVED
1
MOVED
@ -9081,3 +9081,4 @@ www/webkit-qt5|www/qt5-webkit|2017-02-18|Renamed to match other Qt ports
|
||||
www/rt40|www/rt44|2017-02-18|Has expired: Upstream support EoL, please migrate to rt44
|
||||
devel/m6811-binutils||2017-02-18|Has expired: multiple vulnerabilities, version is years behind upstream
|
||||
devel/libevent2|devel/libevent|2017-02-20|Rename as only libevent 2.x is supported
|
||||
german/mediathek|german/mediathekview|2017-02-20|Project renamed
|
||||
|
@ -20,7 +20,7 @@
|
||||
SUBDIR += jdictionary-ger-hun
|
||||
SUBDIR += kde4-l10n
|
||||
SUBDIR += libreoffice
|
||||
SUBDIR += mediathek
|
||||
SUBDIR += mediathekview
|
||||
SUBDIR += mythes
|
||||
SUBDIR += phone
|
||||
SUBDIR += php_doc
|
||||
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1471200643
|
||||
SHA256 (MediathekView_12.zip) = 7a8767572657390831a39f0a1e6ce483cca589c56506a27c896f6fb39edd549a
|
||||
SIZE (MediathekView_12.zip) = 39389109
|
@ -1,11 +1,11 @@
|
||||
# Created by: Lars Engels <lme@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mediathek
|
||||
PORTVERSION= 12
|
||||
PORTNAME= mediathekview
|
||||
PORTVERSION= 13.0.1
|
||||
CATEGORIES= german java
|
||||
MASTER_SITES= SF/zdfmediathk/Mediathek/Mediathek%20${PORTVERSION}
|
||||
DISTNAME= MediathekView_${PORTVERSION}
|
||||
MASTER_SITES= https://download.mediathekview.de/stabil/
|
||||
DISTNAME= MediathekView-${PORTVERSION}
|
||||
|
||||
MAINTAINER= lme@FreeBSD.org
|
||||
COMMENT= Filme der oeff. rechtlichen Sender herunterladen und ansehen
|
||||
@ -14,44 +14,33 @@ RUN_DEPENDS= ${LOCALBASE}/openjdk8/bin/javafxpackager:java/openjfx8-devel \
|
||||
flvstreamer:multimedia/flvstreamer
|
||||
|
||||
NO_BUILD= yes
|
||||
USES= zip:infozip
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.8+
|
||||
SUB_FILES= mediathek
|
||||
SUB_FILES= ${PORTNAME}
|
||||
|
||||
INSTALLFILES= MediathekView.jar MediathekView.ico
|
||||
INSTALLDOCS= Kurzanleitung.pdf Instructions.pdf
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
OPTIONS_MULTI= BACKEND
|
||||
OPTIONS_MULTI_BACKEND= MPLAYER VLC
|
||||
OPTIONS_MULTI_BACKEND= MPLAYER MPV VLC
|
||||
|
||||
VLC_DESC= VLC support
|
||||
MPV_DESC= VLC support
|
||||
|
||||
OPTIONS_DEFAULT= VLC
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMPLAYER}
|
||||
RUN_DEPENDS+= mplayer:multimedia/mplayer
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MVLC}
|
||||
RUN_DEPENDS+= vlc:multimedia/vlc
|
||||
.endif
|
||||
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
|
||||
MPV_RUN_DEPENDS= mpv:multimedia/mpv
|
||||
VLC_RUN_DEPENDS= vlc:multimedia/vlc
|
||||
|
||||
DESKTOP_ENTRIES="MediathekView" \
|
||||
"Filme der oeff. rechtlichen Sender herunterladen und ansehen" \
|
||||
"${DATADIR}/MediathekView.ico" \
|
||||
"mediathek" \
|
||||
"${PORTNAME}" \
|
||||
"Video;AudioVideo;Java;" \
|
||||
false
|
||||
|
||||
do-extract:
|
||||
@${RM} -r ${WRKDIR}
|
||||
@${MKDIR} ${WRKSRC}
|
||||
@${UNZIP_CMD} -q -d ${WRKSRC} ${DISTDIR}/${EXTRACT_ONLY}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}/lib
|
||||
@ -63,6 +52,6 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/Anleitung/${i} ${STAGEDIR}${DOCSDIR}/
|
||||
.endfor
|
||||
(cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib/)
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/mediathek ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
german/mediathekview/distinfo
Normal file
3
german/mediathekview/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1487606056
|
||||
SHA256 (MediathekView-13.0.1.tar.gz) = a5a7187e2ab50617bf641ca058b05432f7dfb3934136884c3dcc9657cec0d912
|
||||
SIZE (MediathekView-13.0.1.tar.gz) = 27399095
|
@ -2,5 +2,5 @@
|
||||
|
||||
cd %%DATADIR%%
|
||||
JAVA_VERSION="%%JAVA_VERSION%%" exec %%LOCALBASE%%/bin/java \
|
||||
-Xms128M -Xmx1G -jar MediathekView.jar "$@"
|
||||
-jar MediathekView.jar "$@"
|
||||
|
@ -1,16 +1,17 @@
|
||||
bin/mediathek
|
||||
bin/mediathekview
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Instructions.pdf
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Kurzanleitung.pdf
|
||||
%%DATADIR%%/MediathekView.ico
|
||||
%%DATADIR%%/MediathekView.jar
|
||||
%%DATADIR%%/lib/MSearch.jar
|
||||
%%DATADIR%%/lib/commons-compress-1.12.jar
|
||||
%%DATADIR%%/lib/commons-lang3-3.4.jar
|
||||
%%DATADIR%%/lib/MSearch-2.1.1.jar
|
||||
%%DATADIR%%/lib/commons-io-1.3.1.jar
|
||||
%%DATADIR%%/lib/commons-lang3-3.5.jar
|
||||
%%DATADIR%%/lib/commons-logging-1.0.4.jar
|
||||
%%DATADIR%%/lib/jackson-core-2.7.0.jar
|
||||
%%DATADIR%%/lib/jchart2d-3.2.2.jar
|
||||
%%DATADIR%%/lib/jgoodies-common-1.8.0.jar
|
||||
%%DATADIR%%/lib/jgoodies-forms-1.8.0.jar
|
||||
%%DATADIR%%/lib/jide-oss-3.6.1.jar
|
||||
%%DATADIR%%/lib/jchart2d-3.3.2.jar
|
||||
%%DATADIR%%/lib/jgoodies-common-1.8.1.jar
|
||||
%%DATADIR%%/lib/jgoodies-forms-1.9.0.jar
|
||||
%%DATADIR%%/lib/jide-oss-3.6.16.jar
|
||||
%%DATADIR%%/lib/swingx-action-1.6.6-SNAPSHOT.jar
|
||||
%%DATADIR%%/lib/swingx-autocomplete-1.6.6-SNAPSHOT.jar
|
||||
%%DATADIR%%/lib/swingx-beaninfo-1.6.6-SNAPSHOT.jar
|
||||
@ -19,4 +20,5 @@ bin/mediathek
|
||||
%%DATADIR%%/lib/swingx-graphics-1.6.6-SNAPSHOT.jar
|
||||
%%DATADIR%%/lib/swingx-painters-1.6.6-SNAPSHOT.jar
|
||||
%%DATADIR%%/lib/swingx-plaf-1.6.6-SNAPSHOT.jar
|
||||
%%DATADIR%%/lib/xz.jar
|
||||
%%DATADIR%%/lib/xmlgraphics-commons-1.3.1.jar
|
||||
%%DATADIR%%/lib/xz-1.5.jar
|
Loading…
Reference in New Issue
Block a user