commit:     b04a6173c56d914f060f8c76276c6c1997baf78c
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Thu May 29 16:45:01 2014 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu May 29 16:45:01 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=b04a6173

media-tv/mediathekview-bin: 6

---
 .../mediathekview-bin/mediathekview-bin-6.ebuild   | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/media-tv/mediathekview-bin/mediathekview-bin-6.ebuild 
b/media-tv/mediathekview-bin/mediathekview-bin-6.ebuild
new file mode 100644
index 0000000..2270f71
--- /dev/null
+++ b/media-tv/mediathekview-bin/mediathekview-bin-6.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
+}

Reply via email to