summaryrefslogtreecommitdiff
blob: a83b38506ece4379231b6f73220ebec85f52c596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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.4"
RDEPEND=">=virtual/jre-1.4
	media-video/vlc
	media-video/flvstreamer
	>=dev-java/commons-compress-1.4
	dev-java/swingx:1.6
	>=dev-java/jgoodies-forms-1.3.0"

S=${WORKDIR}

src_compile() {
	:
}

src_install() {
	java-pkg_dojar MediathekView.jar
	java-pkg_dojar lib/jide-oss-3.5.1.jar

	insinto /usr/share/${PN}/lib/bin/
	doins bin/flv.sh || die

	java-pkg_register-dependency commons-compress commons-compress.jar
	java-pkg_register-dependency jgoodies-forms forms.jar
	java-pkg_register-dependency swingx-1.6 swingx.jar

	java-pkg_dolauncher ${PN} --main mediathek.Main
}