media-libs/libsdl2: migrate to CPU_FLAGS_PPC
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Mon, 16 Mar 2020 02:46:00 +0000 (19:46 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Wed, 18 Mar 2020 18:53:08 +0000 (11:53 -0700)
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Acked-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
media-libs/libsdl2/libsdl2-2.0.12.ebuild

index 9c8910e850051ad381bcc013a344fdd40babb9e6..e8daba276a724fd8321e052f62fe6b6f46c30607 100644 (file)
@@ -13,7 +13,7 @@ LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 
-IUSE="alsa altivec aqua cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus gles haptic jack +joystick kms libsamplerate nas opengl oss pulseaudio +sound static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
+IUSE="alsa aqua cpu_flags_ppc_altivec cpu_flags_x86_3dnow cpu_flags_x86_mmx cpu_flags_x86_sse cpu_flags_x86_sse2 custom-cflags dbus gles haptic jack +joystick kms libsamplerate nas opengl oss pulseaudio +sound static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
 REQUIRED_USE="
        alsa? ( sound )
        gles? ( video )
@@ -117,12 +117,12 @@ multilib_src_configure() {
                --enable-loadso
                --enable-cpuinfo
                --enable-assembly
+               $(use_enable cpu_flags_ppc_altivec altivec)
                $(use_enable cpu_flags_x86_sse ssemath)
                $(use_enable cpu_flags_x86_mmx mmx)
                $(use_enable cpu_flags_x86_3dnow 3dnow)
                $(use_enable cpu_flags_x86_sse sse)
                $(use_enable cpu_flags_x86_sse2 sse2)
-               $(use_enable altivec)
                $(use_enable oss)
                $(use_enable alsa)
                --disable-alsa-shared