summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/ffmpeg/ffmpeg-9999-r1.ebuild')
-rw-r--r--media-video/ffmpeg/ffmpeg-9999-r1.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/media-video/ffmpeg/ffmpeg-9999-r1.ebuild b/media-video/ffmpeg/ffmpeg-9999-r1.ebuild
index 69923f94f1fa..df3e8541c9d2 100644
--- a/media-video/ffmpeg/ffmpeg-9999-r1.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999-r1.ebuild,v 1.10 2009/07/09 13:43:14 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999-r1.ebuild,v 1.11 2009/07/09 14:01:13 ssuominen Exp $
EAPI=2
@@ -124,14 +124,10 @@ src_configure() {
{ use faac ; } && myconf="${myconf} --enable-nonfree"
fi
- disable-vdpau-support() {
- for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
- myconf="${myconf} --disable-decoder=$i"
- done
- }
-
- use video_cards_nvidia || disable-vdpau-support
- use vdpau || disable-vdpau-support
+ for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
+ use video_cards_nvidia || myconf="${myconf} --disable-decoder=$i"
+ use vdpau || myconf="${myconf} --disable-decoder=$i"
+ done
# CPU features
for i in mmx ssse3 altivec ; do