summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ratliff (jdratlif) <webmaster@technoplaza.net>2009-09-06 20:56:12 +0000
committerJohn Ratliff (jdratlif) <webmaster@technoplaza.net>2009-09-06 20:56:12 +0000
commit7851561cccfd940f6edb8d826fea421e6f102001 (patch)
treea8ffc81d9eca146052e3e5605d66b7e34b32ad45 /media-tv/kmttg/kmttg-0.6k.ebuild
parentgnome-extra/alarm-clock-applet: Cosmetic ebuild changes (identation) (diff)
downloadsunrise-7851561cccfd940f6edb8d826fea421e6f102001.tar.gz
sunrise-7851561cccfd940f6edb8d826fea421e6f102001.tar.bz2
sunrise-7851561cccfd940f6edb8d826fea421e6f102001.zip
media-tv/kmttg: New Ebuild for bug 256972
svn path=/sunrise/; revision=9187
Diffstat (limited to 'media-tv/kmttg/kmttg-0.6k.ebuild')
-rw-r--r--media-tv/kmttg/kmttg-0.6k.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/media-tv/kmttg/kmttg-0.6k.ebuild b/media-tv/kmttg/kmttg-0.6k.ebuild
new file mode 100644
index 000000000..2d2afdb38
--- /dev/null
+++ b/media-tv/kmttg/kmttg-0.6k.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 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://omploader.org/vMmFqbA/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="encode"
+
+RDEPEND="encode? ( media-video/ffmpeg )
+ media-video/tivodecode
+ net-misc/curl
+ >=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5"
+
+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
+
+ use source && java-pkg_dosrc src/com
+}
+