summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2017-10-10 18:43:09 +0200
committerSebastian Pipping <sping@gentoo.org>2017-10-10 18:43:09 +0200
commitd639116cd288eea5d354576007076ee948094067 (patch)
tree60617d6a4707ddd658a6e757d376ec1b8ab606ad /media-tv
parentmedia-sound/soundkonverter: Remove 2.2.2_p20170829-r2 (diff)
downloadbetagarden-d639116cd288eea5d354576007076ee948094067.tar.gz
betagarden-d639116cd288eea5d354576007076ee948094067.tar.bz2
betagarden-d639116cd288eea5d354576007076ee948094067.zip
media-tv/mediathekview-bin: 13.0.3
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mediathekview-bin/Manifest1
-rw-r--r--media-tv/mediathekview-bin/mediathekview-bin-13.0.3.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/media-tv/mediathekview-bin/Manifest b/media-tv/mediathekview-bin/Manifest
index c83c905..577d761 100644
--- a/media-tv/mediathekview-bin/Manifest
+++ b/media-tv/mediathekview-bin/Manifest
@@ -1 +1,2 @@
DIST MediathekView-13.0.2.zip 27674465 SHA256 1e4ee0fa685a3d44dd0bbfbd48922f883210cbbb0c6e027f3459f7f0f992c2a0 SHA512 377eb0f1ec453b100b8d4fb6143572dbf4397329ee3cd24837a7a194a558bd7e3a8900889217d4ed68dc5a20aacc208f8de429088c3ded657751100fe9103e6f WHIRLPOOL f1cc1720ccd5360fa53fc8c4c421ca3a39a51625e036e6e133246699d0c220ae9b11f0ecf3e5dea5a4dd7077205f4aab22c9045772c3cbcc9c27e53e4abb4ab6
+DIST MediathekView-13.0.3.zip 27535082 SHA256 98a192bfcce8c5508a8ae1d8c9dbc9a95a6c8ab290743ef744355f3185de107c SHA512 ab591ba92e720f77ddf5814779f6f05acb8fe30f928d70707d4de116afc954713b2f4a37926fda649e0b52bc174c05a8c7ab1e98e9ba71e973016dd52710e6cd WHIRLPOOL 1ec1a6962157dacb7b9a86816b7bc15ee565b8d255bbc3bf15cac44f9a7f4175d83791053fc930f50c914f504eb116f5eb59b6026acdffa3cf5d881e926be2f2
diff --git a/media-tv/mediathekview-bin/mediathekview-bin-13.0.3.ebuild b/media-tv/mediathekview-bin/mediathekview-bin-13.0.3.ebuild
new file mode 100644
index 0000000..29c2fed
--- /dev/null
+++ b/media-tv/mediathekview-bin/mediathekview-bin-13.0.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2
+
+MY_PN=MediathekView
+DESCRIPTION="Download files from the public broadcasting services"
+HOMEPAGE="http://zdfmediathk.sourceforge.net/"
+SRC_URI="https://github.com/${MY_PN,,}/${MY_PN}/releases/download/${PV}/${MY_PN}-${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.8"
+RDEPEND=">=virtual/jre-1.8 >=dev-java/oracle-jre-bin-1.8[javafx]
+ media-video/vlc
+ media-video/flvstreamer
+ "
+
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+src_prepare() {
+ ewarn "Bundled libs remaining:"
+ ewarn "$(find lib -name '*.jar' | sort)"
+ eapply_user
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ java-pkg_dojar MediathekView.jar
+ java-pkg_dojar lib/*.jar
+
+ exeinto /usr/share/${PN}/lib/bin/
+ doexe bin/flv.sh || die
+
+ java-pkg_dolauncher ${PN} --main mediathek.Main
+
+ # FIXME javafx:
+ local javafx_jar="$(ls -1 /opt/oracle-jre-bin-1.8.*/lib/ext/jfxrt.jar)"
+ sed "s,^CLASSPATH=\"\(.*\)\",CLASSPATH=\"\1:${javafx_jar}\"," -i "${JAVA_PKG_ENV}" || die
+}