summaryrefslogtreecommitdiff
blob: 4cce7a97e3cce0add140f62b8496004edaa51290 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit git-2

DESCRIPTION="VDR PearlHD Skin"
HOMEPAGE="http://projects.vdr-developer.org/projects/skin-pearlhd/"
SRC_URI=""
EGIT_REPO_URI="git://projects.vdr-developer.org/skin-pearlhd.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="yaepg +dynamicfonts +hideoclocktext"

RDEPEND="media-plugins/vdr-text2skin"
DEPEND=""

src_prepare() {
	use hideoclocktext && sed -i Make.config -e 's:#\(HIDEOCLOCKTEXT=1\):\1:'
	use dynamicfonts && sed -i Make.config -e 's:#\(DYNAMICFONTS=1\):\1:'
	use yaepg && sed -i Make.config -e 's:#\(YAEPGHD=1\):\1:'
}

src_install() {
	emake DESTDIR="${D}" SKINDIR="/usr/share/vdr/text2skin/PearlHD" install || die
	dodoc HISTORY README
}