blob: dde1c17a08432fa69c1847ff381104007de4226f (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="A free multi-platform replacement for the TiVo Desktop software"
HOMEPAGE="http://code.google.com/p/kmttg/"
SRC_URI="http://ompldr.org/vYjd5OQ/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="encode"
RDEPEND="
media-video/tivodecode
net-misc/curl
>=virtual/jre-1.5
encode? ( virtual/ffmpeg )"
DEPEND=">=virtual/jdk-1.5"
src_prepare() {
java-pkg-2_src_prepare
epatch "${FILESDIR}/${PN}-settings.patch"
}
src_install() {
java-pkg_dojar release/kmttg.jar
java-pkg_dolauncher kmttg --java_args "-Djava.net.preferIPv4Stack=true -Xmx256m"
insinto /usr/share/${PN}/encode
doins release/encode/*.enc || die
use source && java-pkg_dosrc src/com
}
|