commit:     a96b5680d4ffe2733bec1494310a93763b46f99f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 15 07:58:03 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jul 15 07:58:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96b5680

media-video/mplayer: altivec -> cpu_flags_ppc_altivec

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-video/mplayer/mplayer-1.4-r1.ebuild | 11 +++++------
 media-video/mplayer/mplayer-9999.ebuild   | 11 +++++------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/media-video/mplayer/mplayer-1.4-r1.ebuild 
b/media-video/mplayer/mplayer-1.4-r1.ebuild
index a6f47c026ec8..732273bcd899 100644
--- a/media-video/mplayer/mplayer-1.4-r1.ebuild
+++ b/media-video/mplayer/mplayer-1.4-r1.ebuild
@@ -9,7 +9,7 @@ ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
 
 inherit toolchain-funcs flag-o-matic ${SVN_ECLASS}
 
-IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 aalib +alsa altivec aqua 
bidi bl bluray
+IUSE="cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 
aalib +alsa aqua bidi bl bluray
 bs2b cddb +cdio cdparanoia cpudetection debug dga
 doc dts dv dvb +dvd +dvdnav +enca +encode faac faad fbcon
 ftp ggi gsm +iconv ipv6 jack joystick jpeg ladspa
@@ -90,7 +90,7 @@ RDEPEND+="
        gsm? ( media-sound/gsm )
        iconv? ( virtual/libiconv )
        jack? ( virtual/jack )
-       jpeg? ( virtual/jpeg:0 )
+       jpeg? ( media-libs/libjpeg-turbo:= )
        ladspa? ( media-libs/ladspa-sdk )
        libass? ( >=media-libs/libass-0.9.10:= )
        libcaca? ( media-libs/libcaca )
@@ -454,10 +454,9 @@ src_configure() {
                myconf+=" $(use_enable cpu_flags_x86_${i} ${i})"
        done
 
-       uses="altivec shm"
-       for i in ${uses}; do
-               myconf+=" $(use_enable ${i})"
-       done
+       myconf+="
+               $(use_enable cpu_flags_ppc_altivec altivec)
+               $(use_enable shm)"
 
        use debug && myconf+=" --enable-debug=3"
 

diff --git a/media-video/mplayer/mplayer-9999.ebuild 
b/media-video/mplayer/mplayer-9999.ebuild
index 247a9c42852a..e07e9e46bd59 100644
--- a/media-video/mplayer/mplayer-9999.ebuild
+++ b/media-video/mplayer/mplayer-9999.ebuild
@@ -9,7 +9,7 @@ ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
 
 inherit toolchain-funcs flag-o-matic ${SVN_ECLASS}
 
-IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 aalib +alsa altivec aqua 
bidi bl bluray
+IUSE="cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_3dnowext a52 
aalib +alsa aqua bidi bl bluray
 bs2b cddb +cdio cdparanoia cpudetection debug dga
 doc dts dv dvb +dvd +dvdnav +enca +encode faac faad fbcon
 ftp ggi gsm +iconv ipv6 jack joystick jpeg ladspa
@@ -89,7 +89,7 @@ RDEPEND+="
        gsm? ( media-sound/gsm )
        iconv? ( virtual/libiconv )
        jack? ( virtual/jack )
-       jpeg? ( virtual/jpeg:0 )
+       jpeg? ( media-libs/libjpeg-turbo:= )
        ladspa? ( media-libs/ladspa-sdk )
        libass? ( >=media-libs/libass-0.9.10:= )
        libcaca? ( media-libs/libcaca )
@@ -448,10 +448,9 @@ src_configure() {
                myconf+=" $(use_enable cpu_flags_x86_${i} ${i})"
        done
 
-       uses="altivec shm"
-       for i in ${uses}; do
-               myconf+=" $(use_enable ${i})"
-       done
+       myconf+="
+               $(use_enable cpu_flags_ppc_altivec altivec)
+               $(use_enable shm)"
 
        use debug && myconf+=" --enable-debug=3"
 

Reply via email to