blob: 2c8c9e5edda5d424062637de666a353c28fa2fe1 (
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
|
# Copyright 1999-2010 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.5 2010/06/16 12:25:44 aballier Exp $
inherit vdr-plugin flag-o-matic
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
>=media-video/ffmpeg-0.4.9_p20070616"
src_unpack() {
vdr-plugin_src_unpack
cd "${S}"
if has_version ">=media-video/ffmpeg-0.4.9_p20080326" ; then
sed -e "s:ffmpeg/avcodec.h:libavcodec/avcodec.h:" -i mpeg.h
fi
# UINT64_C is needed by ffmpeg headers
append-flags -D__STDC_CONSTANT_MACROS
}
|