commit: e69018682821d282dcfa0c3161c0ea8359b795c5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Dec 6 08:25:39 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 6 08:31:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6901868
media-video/mplayer: add 1.5_p20231206 Bug: https://bugs.gentoo.org/918113 Signed-off-by: Sam James <sam <AT> gentoo.org> media-video/mplayer/Manifest | 1 + ...er-9999.ebuild => mplayer-1.5_p20231206.ebuild} | 23 +++++++++++++++------- media-video/mplayer/mplayer-9999.ebuild | 23 +++++++++++++++------- 3 files changed, 33 insertions(+), 14 deletions(-) diff --git a/media-video/mplayer/Manifest b/media-video/mplayer/Manifest index 00ffd71a6226..7be42fef3422 100644 --- a/media-video/mplayer/Manifest +++ b/media-video/mplayer/Manifest @@ -3,3 +3,4 @@ DIST font-arial-iso-8859-1.tar.bz2 234242 BLAKE2B 0671854e1a257d27b502affb59de68 DIST font-arial-iso-8859-2.tar.bz2 222208 BLAKE2B 94b1a04672bf9b4b20a0e6981591e761f751bd637deddcb801855296c525bf3b5e8feb1cb11cef282c0269f2c963ded22846089076e7e6763f258b8a932af454 SHA512 5671e628303fd816f64a51ad10e2f4dd9c3dc1b34c379a2ecf489b83931db7af668aaa4e00e96a00cacd63ed98daeae6b6a4d5925edfb06fc98d3a923f70257d DIST mplayer-1.5_p20230215.tar.xz 15454028 BLAKE2B 08012f9b955921d832ab268a6e52e22e018b669787ff5e1c1ac734bd85083138551ad1065d5e4f5f9c977b804f8135ee89d2fd0590fb7228d4916b458cc58efa SHA512 f93d222817ff59ac7708956d6e8d5e9ee2084b4e724f66ea9fe4ffd477b864c2d0546d8df97511d499495ee446239645216a1e027d70eed434a3c64331f5ac73 DIST mplayer-1.5_p20230618.tar.xz 15101476 BLAKE2B 74f1d2d579c83330d8bf1e1ce2a89592f62142f361ff0e4107710c80de4351a5807e344869cb55ff5b5856efaedb6cfe242483f8e7f97521b805f84ca23e3818 SHA512 874e76b3edfccb7475349d954ed49860f92a5e99f0374084f5da53af35326365bb064c460fb6527d2fb6d8ae20d9e059ba197f45d4de42bc7a78992b5191a7cb +DIST mplayer-1.5_p20231206.tar.xz 15212032 BLAKE2B c4658a0070296a9e24bb8388787a2ef322fefad4f4ea095bbf3f95b20f2e32b0423814ae311e43c9a6ef20afe0970540abd5d6d0ae0ebd59df74a8beb7abe3df SHA512 480502c735fb8d24ea1761a2b3f7daf1872df268f44791c7141f5b444b583beb0e4ecebe94e04129d27aae27656baddfb2da50406a431f1df39c589baac69432 diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-1.5_p20231206.ebuild similarity index 96% copy from media-video/mplayer/mplayer-9999.ebuild copy to media-video/mplayer/mplayer-1.5_p20231206.ebuild index 8abf788096fd..59ad25c596aa 100644 --- a/media-video/mplayer/mplayer-9999.ebuild +++ b/media-video/mplayer/mplayer-1.5_p20231206.ebuild @@ -36,12 +36,15 @@ SRC_URI=" !truetype? ( ${FONT_URI} ) " -IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4" +IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2" +IUSE+=" cpu_flags_x86_fma3 cpu_flags_x86_fma4" IUSE+=" cpu_flags_x86_mmx cpu_flags_x86_mmxext" IUSE+=" cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1" IUSE+=" cpu_flags_x86_sse4_2 cpu_flags_x86_xop" IUSE+=" cpu_flags_x86_3dnow cpu_flags_x86_3dnowext" +IUSE+=" cpu_flags_arm_thumb cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_arm_vfpv3" +IUSE+=" cpu_flags_arm_iwmmxt" IUSE+=" cpu_flags_ppc_altivec" IUSE+=" a52 aalib +alsa aqua bidi bl bluray" @@ -150,7 +153,7 @@ DEPEND=" xinerama? ( x11-base/xorg-proto ) xscreensaver? ( x11-base/xorg-proto ) " -ASM_DEP="dev-lang/yasm" +ASM_DEP="dev-lang/nasm" BDEPEND=" virtual/pkgconfig amd64? ( ${ASM_DEP} ) @@ -461,15 +464,21 @@ src_configure() { # Platform specific flags, hardcoded on amd64 (see below) use cpudetection && myconf+=( --enable-runtime-cpudetection ) - # TODO: refresh this list - uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop" - for i in ${uses}; do + local x86_uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop" + for i in ${x86_uses}; do myconf+=( $(use_enable cpu_flags_x86_${i} ${i}) ) done - myconf+=( $(use_enable cpu_flags_x86_sse4_1 sse4) ) - myconf+=( $(use_enable cpu_flags_x86_sse4_2 sse42) ) + myconf+=( + $(use_enable cpu_flags_x86_sse4_1 sse4) + $(use_enable cpu_flags_x86_sse4_2 sse42) + ) myconf+=( + $(use_enable cpu_flags_arm_iwmmxt iwmmxt) + $(use_enable cpu_flags_arm_thumb thumb) + $(use_enable cpu_flags_arm_neon neon) + $(use_enable cpu_flags_arm_vfp armvfp) + $(use_enable cpu_flags_arm_vfpv3 vfpv3) $(use_enable cpu_flags_ppc_altivec altivec) $(use_enable shm) ) diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild index 8abf788096fd..59ad25c596aa 100644 --- a/media-video/mplayer/mplayer-9999.ebuild +++ b/media-video/mplayer/mplayer-9999.ebuild @@ -36,12 +36,15 @@ SRC_URI=" !truetype? ( ${FONT_URI} ) " -IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_fma4" +IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2" +IUSE+=" cpu_flags_x86_fma3 cpu_flags_x86_fma4" IUSE+=" cpu_flags_x86_mmx cpu_flags_x86_mmxext" IUSE+=" cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1" IUSE+=" cpu_flags_x86_sse4_2 cpu_flags_x86_xop" IUSE+=" cpu_flags_x86_3dnow cpu_flags_x86_3dnowext" +IUSE+=" cpu_flags_arm_thumb cpu_flags_arm_neon cpu_flags_arm_vfp cpu_flags_arm_vfpv3" +IUSE+=" cpu_flags_arm_iwmmxt" IUSE+=" cpu_flags_ppc_altivec" IUSE+=" a52 aalib +alsa aqua bidi bl bluray" @@ -150,7 +153,7 @@ DEPEND=" xinerama? ( x11-base/xorg-proto ) xscreensaver? ( x11-base/xorg-proto ) " -ASM_DEP="dev-lang/yasm" +ASM_DEP="dev-lang/nasm" BDEPEND=" virtual/pkgconfig amd64? ( ${ASM_DEP} ) @@ -461,15 +464,21 @@ src_configure() { # Platform specific flags, hardcoded on amd64 (see below) use cpudetection && myconf+=( --enable-runtime-cpudetection ) - # TODO: refresh this list - uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop" - for i in ${uses}; do + local x86_uses="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 ssse3 xop" + for i in ${x86_uses}; do myconf+=( $(use_enable cpu_flags_x86_${i} ${i}) ) done - myconf+=( $(use_enable cpu_flags_x86_sse4_1 sse4) ) - myconf+=( $(use_enable cpu_flags_x86_sse4_2 sse42) ) + myconf+=( + $(use_enable cpu_flags_x86_sse4_1 sse4) + $(use_enable cpu_flags_x86_sse4_2 sse42) + ) myconf+=( + $(use_enable cpu_flags_arm_iwmmxt iwmmxt) + $(use_enable cpu_flags_arm_thumb thumb) + $(use_enable cpu_flags_arm_neon neon) + $(use_enable cpu_flags_arm_vfp armvfp) + $(use_enable cpu_flags_arm_vfpv3 vfpv3) $(use_enable cpu_flags_ppc_altivec altivec) $(use_enable shm) )
