summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-04-01 07:19:41 +0000
committerChris White <chriswhite@gentoo.org>2005-04-01 07:19:41 +0000
commitf41755b9d5a2113d6a23931f755dc4d047da1b21 (patch)
tree010f767f03d40b46130ecfc76482359ee89e7812 /media-video
parentManual Manifest commit. (diff)
downloadhistorical-f41755b9d5a2113d6a23931f755dc4d047da1b21.tar.gz
historical-f41755b9d5a2113d6a23931f755dc4d047da1b21.tar.bz2
historical-f41755b9d5a2113d6a23931f755dc4d047da1b21.zip
Fixed gcc detection patch. Converted avi USE flag to win32codecs USE flag to get rid of ugly arch conditional nestings.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer/ChangeLog8
-rw-r--r--media-video/mplayer/Manifest22
-rw-r--r--media-video/mplayer/files/mplayer-gcc_detection.patch9
-rw-r--r--media-video/mplayer/mplayer-1.0_pre5-r5.ebuild8
-rw-r--r--media-video/mplayer/mplayer-1.0_pre6-r2.ebuild67
5 files changed, 50 insertions, 64 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog
index ea53224dea56..4dc2022f714c 100644
--- a/media-video/mplayer/ChangeLog
+++ b/media-video/mplayer/ChangeLog
@@ -1,6 +1,12 @@
# 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.286 2005/03/22 07:14:55 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.287 2005/04/01 07:19:40 chriswhite Exp $
+
+ 01 Apr 2005; Chris White <chriswhite@gentoo.org>
+ files/mplayer-gcc_detection.patch, mplayer-1.0_pre5-r5.ebuild,
+ mplayer-1.0_pre6-r2.ebuild:
+ Fixed gcc detection patch. Converted avi USE flag to win32codecs USE flag to
+ get rid of ugly arch conditional nestings.
22 Mar 2005; Chris White <chriswhite@gentoo.org>
mplayer-1.0_pre6-r2.ebuild:
diff --git a/media-video/mplayer/Manifest b/media-video/mplayer/Manifest
index 3008deee860f..d387c8e28bb7 100644
--- a/media-video/mplayer/Manifest
+++ b/media-video/mplayer/Manifest
@@ -1,21 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 fc81d84f1713e2e77d6aa934ceb2c012 ChangeLog 52764
+MD5 59b2d4e336686aa6393b33a3d7933ea0 ChangeLog 53035
MD5 31018765c8c65a239dba78a98c405543 metadata.xml 224
MD5 6922dce70bbab5cbe8c21e003ffd5226 mplayer-1.0_pre4-r7.ebuild 12234
MD5 c098282cf0148b2caac4682eceec5258 mplayer-1.0_pre5-r2.ebuild 14050
MD5 a899c1b15e110f948f5eaba5746a7016 mplayer-1.0_pre5-r3.ebuild 14739
MD5 8f9db270042c019287fc969f41ac8801 mplayer-1.0_pre5-r4.ebuild 16480
-MD5 a1ed43e3644e0eef95cd878a4bf2ead1 mplayer-1.0_pre5-r5.ebuild 16786
+MD5 8b78266165bb3ae9b9e0e62894f543a9 mplayer-1.0_pre5-r5.ebuild 16809
MD5 788c97fffc9327cee36ea8b524db7606 mplayer-1.0_pre6-r1.ebuild 16491
-MD5 f6371d1f972da97cfe0b361510a11dfd mplayer-1.0_pre6-r2.ebuild 17357
+MD5 803e0ddca7fce8a08aedcaf8dec23a35 mplayer-1.0_pre6-r2.ebuild 16694
MD5 484c45fb52a157c6b056b4298f787f3d files/cachefill.patch 6053
MD5 e4581f6934f66ccecc8c1682664623d0 files/digest-mplayer-1.0_pre4-r7 358
MD5 0c3c71bf461e94d4dcffabab341ddeec files/digest-mplayer-1.0_pre5-r2 440
MD5 0c3c71bf461e94d4dcffabab341ddeec files/digest-mplayer-1.0_pre5-r3 440
MD5 3e0467a312a41645fdc9e65b1caf6e83 files/digest-mplayer-1.0_pre5-r4 510
MD5 f56773d6c12d0e9bf91edfe8a1f7551d files/digest-mplayer-1.0_pre5-r5 514
+MD5 13bcf07a21789edf9b2f7b7935828b5b files/digest-mplayer-1.0_pre6-r1 429
+MD5 13bcf07a21789edf9b2f7b7935828b5b files/digest-mplayer-1.0_pre6-r2 429
MD5 7d81475ff0d1ba01de3b714d6dcc4891 files/gui_vuln_code.patch 17981
MD5 a71fc9832d953424652af1125fb7ea64 files/mplayer-0.90-coreutils-fixup.patch 1857
MD5 c54c7ba8e18c8e7f3412c6d6939d010a files/mplayer-1.0-gtk2.patch 5903
@@ -33,10 +35,12 @@ MD5 d77341e4aea32e3e992f01ce5cc12ae0 files/mplayer-1.0_pre5-r1-conf_locale.patch
MD5 f2d6c259271fd9abc036acd72a26d376 files/mplayer-1.0_pre5-r4-ppc64.patch 597
MD5 a657a67a5658b998acc23a00ffa3951e files/mplayer-1.0_pre5-r5-configure.patch 613
MD5 7f52d1618f675149115ecf8d313b497e files/mplayer-1.0_pre5-yuv2rgb_fix.patch 19505
+MD5 6748b8218fbe9ff36efcec61c749a346 files/mplayer-1.0_pre6-codecs.patch 1264
MD5 9ca8563e7f6df3496b972f87feabd6c0 files/mplayer-1.0_pre6-configure.patch 534
+MD5 c2e82dbe0e7b780adcbe9bfb902b8654 files/mplayer-1.0_pre6-pic.patch 18233
MD5 0ea2e07703fc2105a7f3d265106e9b1f files/mplayer-1.0_pre6-ppc64.patch 353
MD5 475b283b41206562f0ee5ad28ff141e7 files/mplayer-avi_crash.patch 1388
-MD5 efe0d2d4856bdb10685bf499d2b6803a files/mplayer-gcc_detection.patch 390
+MD5 a8ffa5151727e9dd008d95a6553948bb files/mplayer-gcc_detection.patch 780
MD5 d58a5b4657be0c3010eff827e6970371 files/mplayer-gif.patch 1694
MD5 68f89231bdbc972ac6abf45a135c8282 files/mplayer-jack.patch 272
MD5 38c7908ce49f7f6a272993ba5bc9dd09 files/mplayer-mythtv.patch 13755
@@ -48,14 +52,10 @@ MD5 1f9260386b063367f192b6d5d65d6aea files/real_demux.patch 3107
MD5 c39b2e0baa9cc24d22b62765776426ad files/str_undefined.patch 1845
MD5 e614f6546020b77ced4ba12c36e5b51e files/strl.c 950
MD5 34f948b8f242a2aadb53a1e2b00e3155 files/vuln02-fix.diff 467
-MD5 13bcf07a21789edf9b2f7b7935828b5b files/digest-mplayer-1.0_pre6-r1 429
-MD5 6748b8218fbe9ff36efcec61c749a346 files/mplayer-1.0_pre6-codecs.patch 1264
-MD5 13bcf07a21789edf9b2f7b7935828b5b files/digest-mplayer-1.0_pre6-r2 429
-MD5 c2e82dbe0e7b780adcbe9bfb902b8654 files/mplayer-1.0_pre6-pic.patch 18233
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCP742FdQwWVoAgN4RAk8DAKDkMsDkt3+CCf1WoHu115gYaB2u5QCg0T2f
-1VJ5TSKJtwKFOUQb74zT8yo=
-=WnBk
+iD8DBQFCTO6HFdQwWVoAgN4RAlSsAJ9JF0fEgv+iDdFaLOjuQ7yrsEbHBgCcD/LZ
+CCpuvyQ6uZjrkct9pLNnSqQ=
+=QRTi
-----END PGP SIGNATURE-----
diff --git a/media-video/mplayer/files/mplayer-gcc_detection.patch b/media-video/mplayer/files/mplayer-gcc_detection.patch
index 380d4a8c7530..d9aa82b03ff3 100644
--- a/media-video/mplayer/files/mplayer-gcc_detection.patch
+++ b/media-video/mplayer/files/mplayer-gcc_detection.patch
@@ -9,3 +9,12 @@
if test "$?" -gt 0; then
cc_version="not found"
fi
+@@ -595,7 +595,7 @@
+ cc_version="v. ?.??, bad"
+ cc_verc_fail=yes
+ ;;
+- 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9])
++ 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9][-.]*|3.[0-9].[0-9][-.]*)
+ _cc_major=`echo $cc_version | cut -d '.' -f 1`
+ _cc_minor=`echo $cc_version | cut -d '.' -f 2`
+ _cc_mini=`echo $cc_version | cut -d '.' -f 3`
diff --git a/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild b/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild
index 6b131d88ba61..f65b557a9c87 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.27 2005/03/19 22:28:56 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre5-r5.ebuild,v 1.28 2005/04/01 07:19:41 chriswhite Exp $
inherit eutils flag-o-matic kernel-mod
RESTRICT="nostrip"
-IUSE="3dfx 3dnow 3dnowex aalib alsa altivec arts avi 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 mmxext 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 win32codecs 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 mmxext 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
@@ -30,10 +30,10 @@ HOMEPAGE="http://www.mplayerhq.hu/"
RDEPEND="xvid? ( >=media-libs/xvid-0.9.0 )
x86? (
divx4linux? ( >=media-libs/divx4linux-20030428 )
- avi? ( >=media-libs/win32codecs-20040916 )
real? ( >=media-libs/win32codecs-20040916 )
)
aalib? ( media-libs/aalib )
+ win32codecs? ( >=media-libs/win32codecs-20040916 )
alsa? ( media-libs/alsa-lib )
arts? ( kde-base/arts )
bidi? ( dev-libs/fribidi )
@@ -330,7 +330,7 @@ src_compile() {
myconf="${myconf} $(use_enable xvid)"
if use x86; then
- myconf="${myconf} $(use_enable avi win32)"
+ myconf="${myconf} $(use_enable win32codecs win32)"
myconf="${myconf} $(use_enable real)"
fi
diff --git a/media-video/mplayer/mplayer-1.0_pre6-r2.ebuild b/media-video/mplayer/mplayer-1.0_pre6-r2.ebuild
index e45eaa5dd761..b7e49885652d 100644
--- a/media-video/mplayer/mplayer-1.0_pre6-r2.ebuild
+++ b/media-video/mplayer/mplayer-1.0_pre6-r2.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_pre6-r2.ebuild,v 1.2 2005/03/22 07:14:55 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_pre6-r2.ebuild,v 1.3 2005/04/01 07:19:41 chriswhite Exp $
inherit eutils flag-o-matic kernel-mod
RESTRICT="nostrip"
-IUSE="3dfx 3dnow 3dnowext aalib alsa altivec arts avi 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 mmxext 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 avi 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 mmxext 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
@@ -150,16 +150,6 @@ src_unpack() {
# the end anymore ) and add 3gp (nokia) video codec support
# per bug #85642
epatch ${FILESDIR}/${P}-codecs.patch
-
- # fixes -fPIC handling
- sed -i -e 's/#if\(\(.*def *\)\|\(.*defined *\)\)PIC/#if\1__PIC__/' \
- libavcodec/i386/dsputil_mmx{.c,_rnd.h} \
- libavcodec/msmpeg4.c \
- libavcodec/libpostproc/mangle.h \
- libavcodec/common.h \
- || die "sed failed (__PIC__)"
-
- epatch ${FILESDIR}/${P}-pic.patch
}
linguas_warn() {
@@ -229,7 +219,7 @@ src_compile() {
# check cpu flags
if use x86
then
- CPU_FLAGS=(3dnow 3dnowext mmx sse sse2 mmxext)
+ CPU_FLAGS=(3dnow 3dnowex mmx sse sse2 mmxext)
ecpu_check CPU_FLAGS
fi
@@ -243,7 +233,7 @@ src_compile() {
if use x86 ; then
replace-flags -O0 -O2
replace-flags -O3 -O2
- #filter-flags -fPIC -fPIE
+ filter-flags -fPIC -fPIE
fi
local myconf=
@@ -324,20 +314,14 @@ src_compile() {
use x86 && myconf="${myconf} $(use_enable real)"
use x86 && myconf="${myconf} $(use_enable avi win32)"
- # x86+pic doesn't like mp3lib despite patches
- # disable it and use internal ffmpeg's mp3 decoder instead
- if use x86 && has_pic ; then
- myconf="${myconf} --disable-mp3lib"
- fi
-
#############
# Video Output #
#############
- # 3dfx requires dga to build. See bug #85861
+ myconf="${myconf} $(use_enable 3dfx)"
if use 3dfx; then
- myconf="${myconf} --enable-tdfxvid --enable-3dfx --enable-dga"
+ myconf="${myconf} --enable-tdfxvid"
else
- myconf="${myconf} --disable-tdfxvid --disable-3dfx"
+ myconf="${myconf} --disable-tdfxvid"
fi
if use fbcon && use 3dfx; then
myconf="${myconf} --enable-tdfxfb"
@@ -414,33 +398,12 @@ src_compile() {
#################
# Advanced Options #
#################
-
- if has_pic && use x86 || use !mmx; then
- myconf="${myconf} --disable-mmx"
- else
- myconf="${myconf} --enable-mmx"
- fi
-
- if has_pic && use x86 || use !mmxext; then
- myconf="${myconf} --disable-mmx2"
- else
- myconf="${myconf} --enable-mmx2"
- fi
-
- if has_pic && use x86 || use !3dnow; then
- myconf="${myconf} --disable-3dnow"
- else
- myconf="${myconf} --enable-3dnow"
- fi
-
- if has_pic && use x86 || use !3dnowext; then
- myconf="${myconf} --disable-3dnowex"
- else
- myconf="${myconf} --enable-3dnowex"
- fi
-
+ myconf="${myconf} $(use_enable 3dnow)"
+ myconf="${myconf} $(use_enable 3dnowex)";
myconf="${myconf} $(use_enable sse)"
myconf="${myconf} $(use_enable sse2)"
+ myconf="${myconf} $(use_enable mmx)"
+ myconf="${myconf} $(use_enable mmxext mmx2)"
myconf="${myconf} $(use_enable debug)"
myconf="${myconf} $(use_enable nls i18n)"
@@ -489,6 +452,14 @@ src_compile() {
--with-x11incdir=/usr/X11R6/include \
${myconf} || die
+ echo "!!! ERROR: media-video/mplayer-1.0_pre6-r2 failed."
+ echo "!!! Function src_makarena, Line 1000, Exitcode 555-5555"
+ echo "!!! All your base are belong to us!"
+
+ epause 6
+
+ eerror "APRIL FOOLS!"
+
einfo "Make"
make depend && emake || die "Failed to build MPlayer!"
einfo "Make completed"