summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/mediathekview-bin/mediathekview-bin-4.ebuild')
-rw-r--r--media-tv/mediathekview-bin/mediathekview-bin-4.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-tv/mediathekview-bin/mediathekview-bin-4.ebuild b/media-tv/mediathekview-bin/mediathekview-bin-4.ebuild
new file mode 100644
index 0000000..2270f71
--- /dev/null
+++ b/media-tv/mediathekview-bin/mediathekview-bin-4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit java-pkg-2
+
+DESCRIPTION="Download files from the public broadcasting services"
+HOMEPAGE="http://zdfmediathk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/zdfmediathk/Mediathek/Mediathek%20${PV}/MediathekView_${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+ media-video/vlc
+ media-video/flvstreamer
+ dev-java/xz-java"
+
+S=${WORKDIR}
+
+src_prepare() {
+ rm lib/xz.jar
+
+ ewarn "Bundled libs remaining:"
+ ewarn "$(find lib -name '*.jar' | sort)"
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ java-pkg_dojar MediathekView.jar
+ java-pkg_dojar lib/*.jar
+
+ insinto /usr/share/${PN}/lib/bin/
+ doins bin/flv.sh || die
+
+ java-pkg_register-dependency xz-java xz.jar
+
+ java-pkg_dolauncher ${PN} --main mediathek.Main
+}