diff options
author | John Ratliff (jdratlif) <webmaster@technoplaza.net> | 2009-09-06 20:56:12 +0000 |
---|---|---|
committer | John Ratliff (jdratlif) <webmaster@technoplaza.net> | 2009-09-06 20:56:12 +0000 |
commit | 7851561cccfd940f6edb8d826fea421e6f102001 (patch) | |
tree | a8ffc81d9eca146052e3e5605d66b7e34b32ad45 /media-tv | |
parent | gnome-extra/alarm-clock-applet: Cosmetic ebuild changes (identation) (diff) | |
download | sunrise-reviewed-7851561cccfd940f6edb8d826fea421e6f102001.tar.gz sunrise-reviewed-7851561cccfd940f6edb8d826fea421e6f102001.tar.bz2 sunrise-reviewed-7851561cccfd940f6edb8d826fea421e6f102001.zip |
media-tv/kmttg: New Ebuild for bug 256972
svn path=/sunrise/; revision=9187
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/kmttg/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/kmttg/Manifest | 5 | ||||
-rw-r--r-- | media-tv/kmttg/files/kmttg-settings.patch | 39 | ||||
-rw-r--r-- | media-tv/kmttg/kmttg-0.6k.ebuild | 38 | ||||
-rw-r--r-- | media-tv/kmttg/metadata.xml | 5 |
5 files changed, 95 insertions, 0 deletions
diff --git a/media-tv/kmttg/ChangeLog b/media-tv/kmttg/ChangeLog new file mode 100644 index 000000000..f5b8f99fe --- /dev/null +++ b/media-tv/kmttg/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-tv/kmttg +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 06 Sep 2009; John Ratliff (jdratlif) <webmaster@technoplaza.net> + +kmttg-0.6k.ebuild, +files/kmttg-settings.patch, +metadata.xml: + New Ebuild for bug 256972 + diff --git a/media-tv/kmttg/Manifest b/media-tv/kmttg/Manifest new file mode 100644 index 000000000..e89cd36f0 --- /dev/null +++ b/media-tv/kmttg/Manifest @@ -0,0 +1,5 @@ +AUX kmttg-settings.patch 1787 RMD160 6e01bfc9614881e8c2601c7958004155e41dcd60 SHA1 9acd8e03c3563516881893fd9a0380c503e727fa SHA256 26dcb0b29bbb1a950e24dd36f0a39359d4052c5dbe91faaf18a1b3d2fd1b315e +DIST kmttg-0.6k.tar.bz2 897941 RMD160 8b2b764dc74843892195aecabf6f4aa32891f0c0 SHA1 9e9c85033d11eb99d6dbc930b097ab70f690a4f2 SHA256 aff381ee85883e21f7580092c9cfa2cefa82f04058354a89fa4796aee8c0b7ce +EBUILD kmttg-0.6k.ebuild 855 RMD160 ea996cfaea9fc1bdb89d1bd469e0e92da9bb1424 SHA1 48598ce05c5c590bde55f21520060393330f1bed SHA256 7d77d8f42d595fb320ae0e887a0fc9650855082ba95afa2dfafc6cb925e48a30 +MISC ChangeLog 277 RMD160 7a4d6ef48ea79b39dc8a5d48bb92d13e285c67c9 SHA1 6baebf15626d6cd8c398983c7984a681f1f566d8 SHA256 22eaf5c722a110cc95b7ba13dff558dece4bdecc74bf3c92d267ce017753b1f8 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/media-tv/kmttg/files/kmttg-settings.patch b/media-tv/kmttg/files/kmttg-settings.patch new file mode 100644 index 000000000..681e2f435 --- /dev/null +++ b/media-tv/kmttg/files/kmttg-settings.patch @@ -0,0 +1,39 @@ +diff -ur kmttg-0.6k-original/src/com/tivo/kmttg/main/config.java kmttg-0.6k/src/com/tivo/kmttg/main/config.java +--- kmttg-0.6k-original/src/com/tivo/kmttg/main/config.java 2009-09-04 02:32:36.000000000 -0400 ++++ kmttg-0.6k/src/com/tivo/kmttg/main/config.java 2009-09-06 01:22:33.005185340 -0400 +@@ -299,23 +299,30 @@ + } + } + ++ // multi-user settings patch for SVN r497 ++ String settingsDir = System.getProperty("user.home") + s + ".kmttg"; ++ (new File(settingsDir)).mkdir(); ++ + // Try and get MAK from ~/.tivodecode_mak + String result = getMakFromFile(); + if (result != null) MAK = result; + + // These files all should reside along side jar file +- configIni = programDir + s + "config.ini"; +- autoIni = programDir + s + "auto.ini"; +- autoLog = programDir + s + "auto.log"; +- autoHistory = programDir + s + "auto.history"; +- encProfDir = programDir + s + "encode"; ++ configIni = settingsDir + s + "config.ini"; ++ autoIni = settingsDir + s + "auto.ini"; ++ autoLog = settingsDir + s + "auto.log"; ++ autoHistory = settingsDir + s + "auto.history"; ++ encProfDir = "/usr/share/kmttg/encode"; // gentoo ebuild hack!! + + // File to store/restore GUI settings ++ /* + gui_settings = programDir + s + ".kmttg_settings"; + if (file.isDir(System.getProperty("user.home"))) { + // Centralize this non-critical file instead of localizing it + gui_settings = System.getProperty("user.home") + s + ".kmttg_settings"; + } ++ */ ++ gui_settings = settingsDir + s + "kmttg_settings"; + + // Non-executable defaults + tivoFileNameFormat = "[title] ([monthNum]_[mday]_[year])"; 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 +} + diff --git a/media-tv/kmttg/metadata.xml b/media-tv/kmttg/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/media-tv/kmttg/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> |