summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-02-06 15:28:08 +0000
committerChris White <chriswhite@gentoo.org>2005-02-06 15:28:08 +0000
commit6624b24c37af19ad1b53cb20234c4da12d28067a (patch)
treec66562cca17072bf63efc5eee3e56ae3a25ace5b /media-video
parentAdded dga USE flag for MPlayer. (diff)
downloadgentoo-2-6624b24c37af19ad1b53cb20234c4da12d28067a.tar.gz
gentoo-2-6624b24c37af19ad1b53cb20234c4da12d28067a.tar.bz2
gentoo-2-6624b24c37af19ad1b53cb20234c4da12d28067a.zip
Added dga logic to fix bug #80861.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer/ChangeLog6
-rw-r--r--media-video/mplayer/mplayer-1.0_pre5-r5.ebuild11
-rw-r--r--media-video/mplayer/mplayer-1.0_pre6.ebuild12
3 files changed, 23 insertions, 6 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog
index aef43e3025a0..c0885c0ba742 100644
--- a/media-video/mplayer/ChangeLog
+++ b/media-video/mplayer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/mplayer
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.269 2005/02/06 06:45:55 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.270 2005/02/06 15:28:08 chriswhite Exp $
+
+ 07 Feb 2005; Chris White <chriswhite@gentoo.org> mplayer-1.0_pre5-r5.ebuild,
+ mplayer-1.0_pre6.ebuild:
+ Added dga logic to fix bug #80861.
06 Feb 2005; Chris White <chriswhite@gentoo.org> files/mplayer-x11.patch:
Fixing the patch to work with 71478's issue as well.
diff --git a/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild b/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
index 98eee05f974f..df0119ebe775 100644
--- a/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild,v 1.22 2005/02/06 06:30:35 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild,v 1.23 2005/02/06 15:28:08 chriswhite Exp $
inherit eutils flag-o-matic kernel-mod
RESTRICT="nostrip"
-IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug divx4linux doc dvb cdparanoia directfb dvd dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas network nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
+IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug dga divx4linux doc dvb cdparanoia directfb dvd dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas network nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
BLUV=1.4
SVGV=1.9.17
@@ -38,6 +38,7 @@ RDEPEND="xvid? ( >=media-libs/xvid-0.9.0 )
bidi? ( dev-libs/fribidi )
cdparanoia? ( media-sound/cdparanoia )
directfb? ( dev-libs/DirectFB )
+ dga? ( virtual/x11 )
dvd? ( dvdread? ( media-libs/libdvdread ) )
encode? (
media-sound/lame
@@ -273,6 +274,12 @@ src_compile() {
myconf="${myconf} --enable-x11 $(use_enable xinerama) $(use_enable xv) $(use_enable gtk gui)"
fi
+ # this looks like a hack, but the
+ # --enable-dga needs a paramter, but there's no surefire
+ # way to tell what it is.. so I'm letting MPlayer decide
+ # the enable part
+ use !dga && myconf="${myconf} --disable-dga"
+
# disable png *only* if gtk && png aren't on
if use png || use gtk; then
myconf="${myconf} --enable-png"
diff --git a/media-video/mplayer/mplayer-1.0_pre6.ebuild b/media-video/mplayer/mplayer-1.0_pre6.ebuild
index adc101368919..b6bb6155733b 100644
--- a/media-video/mplayer/mplayer-1.0_pre6.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre6.ebuild
@@ -1,12 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre6.ebuild,v 1.24 2005/02/06 06:30:35 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre6.ebuild,v 1.25 2005/02/06 15:28:08 chriswhite Exp $
inherit eutils flag-o-matic kernel-mod
RESTRICT="nostrip"
-IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug divx4linux doc dts
-dvb cdparanoia directfb dvd dv dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
+IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts bidi debug dga divx4linux doc dts dvb cdparanoia directfb dvd dv dvdread edl encode esd fbcon gif ggi gtk i8x0 ipv6 jack joystick jpeg libcaca lirc live lzo mad matroska matrox mpeg mmx mmx2 mythtv nas nls nvidia oggvorbis opengl oss png real rtc samba sdl sse sse2 svga tga theora truetype v4l v4l2 X xanim xinerama xmms xv xvid xvmc"
BLUV=1.4
SVGV=1.9.17
@@ -38,6 +37,7 @@ RDEPEND="xvid? ( >=media-libs/xvid-0.9.0 )
arts? ( kde-base/arts )
bidi? ( dev-libs/fribidi )
cdparanoia? ( media-sound/cdparanoia )
+ dga? ( virtual/x11 )
directfb? ( dev-libs/DirectFB )
dts? ( media-libs/libdts )
dvd? ( dvdread? ( media-libs/libdvdread ) )
@@ -246,6 +246,12 @@ src_compile() {
myconf="${myconf} --enable-x11 $(use_enable xinerama) $(use_enable xv) $(use_enable gtk gui)"
fi
+ # this looks like a hack, but the
+ # --enable-dga needs a paramter, but there's no surefire
+ # way to tell what it is.. so I'm letting MPlayer decide
+ # the enable part
+ use !dga && myconf="${myconf} --disable-dga"
+
# disable png *only* if gtk && png aren't on
if use png || use gtk; then
myconf="${myconf} --enable-png"