blob: 13f5519bd344894103ac49fb1c53937c91e0e0fc (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-dxr3/vdr-dxr3-0.2.6.ebuild,v 1.6 2007/11/08 18:06:23 drac Exp $
inherit vdr-plugin
DESCRIPTION="VDR plugin: Use a dxr3 or hw+ card as output device"
HOMEPAGE="http://sourceforge.net/projects/dxr3plugin/"
SRC_URI="mirror://sourceforge/dxr3plugin/${P}.tgz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE=""
DEPEND="media-video/em8300-libraries
>=media-video/vdr-1.3.36
media-video/ffmpeg"
PATCHES="${FILESDIR}/${P}-polish.patch"
src_unpack() {
vdr-plugin_src_unpack
cd "${S}"
sed -i Makefile -e 's:^FFMDIR =.*$:FFMDIR=/usr/include/ffmpeg:'
if has_version "<media-video/vdr-1.3.42"; then
sed -i dxr3i18n.c -e '/\(Czech\)/d'
sed -i dxr3.c -e '/VDRVERSNUM && VDRVERSNUM/s:10342:10336:'
fi
}
|