summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-15 09:58:03 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-15 09:58:03 +0200
commita96b5680d4ffe2733bec1494310a93763b46f99f (patch)
treee657b0a0c6a132bb0b4d239c83efc4992a8e6319 /media-video/mplayer
parentmedia-tv/mythtv: altivec -> cpu_flags_ppc_altivec (diff)
downloadgentoo-a96b5680d4ffe2733bec1494310a93763b46f99f.tar.gz
gentoo-a96b5680d4ffe2733bec1494310a93763b46f99f.tar.bz2
gentoo-a96b5680d4ffe2733bec1494310a93763b46f99f.zip
media-video/mplayer: altivec -> cpu_flags_ppc_altivec
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-video/mplayer')
-rw-r--r--media-video/mplayer/mplayer-1.4-r1.ebuild11
-rw-r--r--media-video/mplayer/mplayer-9999.ebuild11
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"