summaryrefslogtreecommitdiff
blob: 07d1ee04077fdde295190fa7a32f46c079dc5da1 (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
38
39
40
41
42
43
44
45
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit vdr-plugin


DESCRIPTION="VDR Plugin: for the Reel true color osd"
HOMEPAGE="http://www.reel-multimedia.com"
SRC_URI="http://vdr.websitec.de/download/${PN}/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

S="${WORKDIR}/${PN}"

DEPEND=">=media-video/vdr-1.6.0
		>=media-video/reelbox-ehd-headers-12384
		media-libs/libpng"
RDEPEND="${DEPEND}"

src_unpack() {
	vdr-plugin_src_unpack

	epatch "${FILESDIR}/vdr-skinreel-12384.diff"

	if has_version "media-plugins/vdr-epgsearch"
	then
		einfo "Enabling epgsearch in the Makefile"
		sed -i "${S}/Makefile" -e "s:#SKINREEL_USE_PLUGIN_EPGSEARCH = 0:SKINREEL_USE_PLUGIN_EPGSEARCH = 1:g"
	fi
}

src_install() {
	vdr-plugin_src_install

	cd "${S}"

	insinto /usr/share/vdr/skinreel3

	doins -r ../pictures/*

	}