blob: 8e67634b69150796dfe7db222d567df1aede73d4 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-text2skin/vdr-text2skin-1.0.20070506.ebuild,v 1.4 2007/08/19 12:13:11 zzam Exp $
inherit vdr-plugin versionator
MY_PV=$(get_version_component_range 3)
MY_BASE="text2skin-1.1-cvs_ext-0.10"
MY_P="${MY_BASE}-patched-${MY_PV}"
DESCRIPTION="VDR text2skin PlugIn"
HOMEPAGE="http://www.magoa.net/linux/"
SRC_URI="ftp://merkur.2y.net/pub/vdr/${MY_P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE="truetype direct_blit"
DEPEND=">=media-video/vdr-1.3.18
media-gfx/imagemagick
truetype? ( media-libs/freetype )
!media-plugins/vdr-text2skin-cvs"
PATCHES="
${FILESDIR}/${MY_PV}/01_gcc-4.diff
${FILESDIR}/${MY_PV}/02_uint64.diff
${FILESDIR}/${MY_PV}/03_gentoo.diff
${FILESDIR}/${MY_PV}/05_vdr-1.5.4.diff
${FILESDIR}/${MY_PV}/06_vdr-1.5.7.diff
"
S="${WORKDIR}/${MY_BASE}"
SKINDIR=/usr/share/vdr/${VDRPLUGIN}
ETC_SKIN_DIR=/etc/vdr/plugins/${VDRPLUGIN}
src_unpack() {
vdr-plugin_src_unpack
cd "${S}"
use truetype || sed -i Makefile -e 's/^HAVE_FREETYPE/#HAVE_FREETYPE/'
if ! use direct_blit; then
epatch "${FILESDIR}/${MY_PV}/04_no_direct_blit.diff"
fi
}
src_install() {
vdr-plugin_src_install
keepdir "${SKINDIR}"
exeinto "${SKINDIR}/contrib"
doexe ${S}/contrib/skin_to_*.pl
doexe ${S}/contrib/transform.pl
dodoc ${S}/Docs/*.txt
}
|