blob: 363d7290b804c808fa9d36a00f7e13699eef8746 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild,v 1.7 2013/01/26 14:44:11 aballier Exp $
EAPI="3"
inherit vdr-plugin flag-o-matic eutils
DESCRIPTION="VDR Plugin: adds the functionality to view PhotoCDs"
HOMEPAGE="http://www.heiligenmann.de/vdr/vdr/plugins/pcd.html"
SRC_URI="http://www.heiligenmann.de/vdr/download/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=media-video/vdr-1.4.4
>=virtual/ffmpeg-0.10"
RDEPEND="${DEPEND}"
src_prepare() {
vdr-plugin_src_prepare
sed -e "s:ffmpeg/avcodec.h:libavcodec/avcodec.h:" -i mpeg.h
epatch "${FILESDIR}/${P}-ffmpeg-1.patch"
# UINT64_C is needed by ffmpeg headers
append-flags -D__STDC_CONSTANT_MACROS
}
|