blob: d7b9077679515c21f437810590ba86e61292483c (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-softplay/vdr-softplay-0.0.2.20060815.ebuild,v 1.3 2008/04/21 10:45:33 zzam Exp $
inherit vdr-plugin versionator
MY_PV=$(get_version_component_range 4)
MY_P=${PN}-${MY_PV}
DESCRIPTION="VDR plugin: play media-files with vdr+vdr-softdevice as output device"
HOMEPAGE="http://softdevice.berlios.de/softplay/index.html"
SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=">=media-video/vdr-1.3.20
>=media-plugins/vdr-softdevice-0.2.3.20060814-r1
>=media-video/ffmpeg-0.4.9_pre1"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${VDRPLUGIN}-${MY_PV}
src_unpack() {
vdr-plugin_src_unpack
cd "${S}"
# Inclusion of vdr-softdevice header-files from /usr/include/vdr-softdevice
sed -i SoftPlayer.h -e 's#../softdevice/softdevice.h#vdr-softdevice/softdevice.h#'
# ffmpeg-header-directory
sed -i Makefile -e 's#^LIBFFMPEG=.*$#LIBFFMPEG=/usr/include/ffmpeg#'
}
|