diff options
author | John Ratliff (jdratlif) <webmaster@technoplaza.net> | 2011-11-11 01:49:18 +0000 |
---|---|---|
committer | John Ratliff (jdratlif) <webmaster@technoplaza.net> | 2011-11-11 01:49:18 +0000 |
commit | ae204c18e42fc52d26c06bb068e79f04409f195a (patch) | |
tree | 22806b82df35d39bb911e6353f853bc69b61def1 /media-tv/kmttg/kmttg-0.8k.ebuild | |
parent | dev-python/netifaces: moved to tree (diff) | |
download | sunrise-ae204c18e42fc52d26c06bb068e79f04409f195a.tar.gz sunrise-ae204c18e42fc52d26c06bb068e79f04409f195a.tar.bz2 sunrise-ae204c18e42fc52d26c06bb068e79f04409f195a.zip |
media-tv/kmttg: Version bump for kmttg
svn path=/sunrise/; revision=12510
Diffstat (limited to 'media-tv/kmttg/kmttg-0.8k.ebuild')
-rw-r--r-- | media-tv/kmttg/kmttg-0.8k.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/media-tv/kmttg/kmttg-0.8k.ebuild b/media-tv/kmttg/kmttg-0.8k.ebuild new file mode 100644 index 000000000..2d13ad579 --- /dev/null +++ b/media-tv/kmttg/kmttg-0.8k.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2011 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 +} |