summaryrefslogtreecommitdiff
blob: 3529f389cb7d9bf3621719ce0cfc37aa4e586bac (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-skinsoppalusikka/vdr-skinsoppalusikka-0.0.5.ebuild,v 1.3 2006/05/15 06:42:33 zzam Exp $

inherit vdr-plugin eutils

DESCRIPTION="Video Disk Recorder - Skin Plugin"
HOMEPAGE="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka"
SRC_URI="http://www.saunalahti.fi/~rahrenbe/vdr/soppalusikka/files/${P}.tgz"

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

DEPEND=">=media-video/vdr-1.3.27"

S=${WORKDIR}/skinsoppalusikka-${PV}

PATCHES="${FILESDIR}/${PN}-amd64.diff"

src_unpack() {
	vdr-plugin_src_unpack

	if has_version "<media-video/vdr-1.3.44"; then
		epatch "${FILESDIR}/${P}-pre-vdr-1.3.44.diff"
		sed -i i18n.c -e '/Czech/d'
	fi
}

src_install() {
	vdr-plugin_src_install

	insinto /usr/share/vdr/skinsoppalusikka/logos
	doins ${S}/logos/*.xpm

	insinto /etc/vdr/themes
	doins ${S}/themes/*
}