blob: 80029c6f5e709db05002ba909a94590a557929ce (
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
|
# Copyright 1999-2012 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.13.ebuild,v 1.5 2012/12/03 07:25:16 ssuominen Exp $
EAPI="4"
inherit vdr-plugin-2 versionator flag-o-matic
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="amd64 x86"
IUSE=""
DEPEND="media-video/em8300-libraries
>=media-video/vdr-1.6.0_p2-r7
virtual/ffmpeg"
RDEPEND="${DEPEND}"
# buildtime depend
DEPEND="${DEPEND}
virtual/pkgconfig"
src_prepare() {
vdr-plugin-2_src_prepare
cd "${S}"
sed -i -e 's:^FFMDIR =.*$:FFMDIR=/usr/include/ffmpeg:' Makefile
# UINT64_C is needed by ffmpeg headers
append-flags -D__STDC_CONSTANT_MACROS
}
src_install() {
vdr-plugin-2_src_install
emake CONFDIR="${D}/etc/vdr" install-data
}
|