summaryrefslogtreecommitdiff
blob: 9ca6e4febe1e191ac2243284a97c4f7e2b81aff7 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=3

DESCRIPTION="OnlineTVRecorder decoding tool"
HOMEPAGE="http://www.onlinetvrecorder.com"
SRC_URI="x86? ( http://www.onlinetvrecorder.com/downloads/${PN}-bin-linux-Ubuntu_9.04-i686-${PV}.592.tar.bz2 )
	amd64? ( http://www.onlinetvrecorder.com/downloads/${PN}-bin-linux-Ubuntu_8.04.2-x86_64-${PV}.613.tar.bz2 )"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk"

RDEPEND="gtk? ( dev-python/pygtk )"
DEPEND=""

S=${WORKDIR}/${PN}-bin-linux-Ubuntu_8.04.2-x86_64-${PV}.613

QA_PRESTRIPPED="usr/bin/otrdecoder"
QA_DT_HASH="usr/bin/otrdecoder"

src_install() {
	dobin ${PN} || die "dobin failed"
	if use gtk; then
		dobin ${PN}-gui || die "dobin (GUI) failed"
	fi
	dodoc README.OTR || die "dodoc failed"
}