summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-04-06 17:20:39 +0000
committerChristian Ruppert <idl0r@gentoo.org>2011-04-06 17:20:39 +0000
commit6834914780f1ddf9a9fbeb760caebbd449a89165 (patch)
treeaf2fcf7156c26c12b4e26a0d100d3fb589f18ce1 /media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild
parentUse the new ffmpeg virtual, bug 362101. QA Fix: Assign DEPEND. (diff)
downloadgentoo-2-6834914780f1ddf9a9fbeb760caebbd449a89165.tar.gz
gentoo-2-6834914780f1ddf9a9fbeb760caebbd449a89165.tar.bz2
gentoo-2-6834914780f1ddf9a9fbeb760caebbd449a89165.zip
Use the new ffmpeg virtual, bug 362103. QA Fix: Assign RDEPEND. Switch to EAPI 3 and use src_prepare instead of src_unpack.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild')
-rw-r--r--media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild b/media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild
index 2c8c9e5edda5..e9619963f4e5 100644
--- a/media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild
+++ b/media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 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 $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pcd/vdr-pcd-0.9.ebuild,v 1.6 2011/04/06 17:20:39 idl0r Exp $
+
+EAPI="3"
inherit vdr-plugin flag-o-matic
@@ -14,15 +16,16 @@ KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=media-video/vdr-1.4.4
- >=media-video/ffmpeg-0.4.9_p20070616"
+ >=virtual/ffmpeg-0.4.9_p20070616"
+RDEPEND="${DEPEND}"
-src_unpack() {
- vdr-plugin_src_unpack
+src_prepare() {
+ vdr-plugin_src_prepare
- cd "${S}"
- if has_version ">=media-video/ffmpeg-0.4.9_p20080326" ; then
+ if has_version ">=virtual/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
}