blob: 2aff4b1c3400c82cf4d7c0c0a4a591d9aa8921be (
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
|
# Copyright 2004-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-ttxtsubs/vdr-ttxtsubs-0.0.5.ebuild,v 1.3 2006/03/20 15:32:26 zzam Exp $
inherit vdr-plugin eutils
IUSE=""
PATCHNAME=${P}-directors-cut
DESCRIPTION="Video Disk Recorder Teletext-Subtitles PlugIn"
HOMEPAGE="ftp://ftp.nada.kth.se/pub/home/ragge/vdr"
SRC_URI="ftp://ftp.nada.kth.se/pub/home/ragge/vdr/${P}.tgz
http://www.saunalahti.fi/~rahrenbe/vdr/patches/${PATCHNAME}.diff.gz
mirror://vdrfiles/${PN}/${P}.tgz
mirror://vdrfiles/${PN}/${PATCHNAME}.diff.gz"
KEYWORDS="x86"
SLOT="0"
LICENSE="GPL-2"
DEPEND=">=media-video/vdr-1.3.19"
pkg_setup() {
if [[ ! -f ${ROOT}/usr/include/vdr/vdrttxtsubshooks.h ]]; then
eerror "please compile vdr with USE=\"subtitles\""
die "can not compile packet without subtitles-support from vdr"
fi
vdr-plugin_pkg_setup
}
src_unpack() {
vdr-plugin_src_unpack
cd ${S}
epatch ${WORKDIR}/${PATCHNAME}.diff
sed -i ${S}/Makefile -e '/Checkpatch.sh/d'
}
|