diff options
Diffstat (limited to 'media-tv/otrdecoder-bin/otrdecoder-bin-492.ebuild')
-rw-r--r-- | media-tv/otrdecoder-bin/otrdecoder-bin-492.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-tv/otrdecoder-bin/otrdecoder-bin-492.ebuild b/media-tv/otrdecoder-bin/otrdecoder-bin-492.ebuild new file mode 100644 index 000000000..833d9960b --- /dev/null +++ b/media-tv/otrdecoder-bin/otrdecoder-bin-492.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PV=492 + +DESCRIPTION="Decoder for onlinetvrecorder.com (German)" +HOMEPAGE="http://www.onlinetvrecorder.com/" +SRC_URI="http://www.onlinetvrecorder.com/downloads/${PN}-linux-v${MY_PV}.tar.bz2" +LICENSE="as-is" + +SLOT="0" +KEYWORDS="~x86" + +IUSE="X" + +RDEPEND="X? ( gnome-base/libglade + dev-python/pygtk )" +DEPEND="" + +RESTRICT="strip" +S="${WORKDIR}/otrdecoder-bin-linux-Ubuntu_gutsy_(development_branch)-v${MY_PV}" + +src_install() { + echo ${S} + dobin otrdecoder + if use X; then + insinto /usr/share/${P} + doins decoder.glade + + sed -i -e "s:xml = gtk.glade.XML(join(decoderpath,'decoder.glade')):xml = gtk.glade.XML(join('/usr/share/${P}/','decoder.glade')):" \ + otrdecoder-gui + dobin otrdecoder-gui + fi + + dodoc README.OTR +} |