blob: 833d9960b5671e4e1253879501d43a420ea92c55 (
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
|
# 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
}
|