commit:     18ab15081aaf20413ba59f41277a65d665538df7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 14 04:26:04 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 04:26:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ab1508

media-sound/mpg123: add note on SDL 2 support

See: 5e4bae804bb7687033836e506188865e7f05ba19
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/mpg123/mpg123-1.28.1-r1.ebuild | 3 +++
 media-sound/mpg123/mpg123-1.28.2-r1.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/media-sound/mpg123/mpg123-1.28.1-r1.ebuild 
b/media-sound/mpg123/mpg123-1.28.1-r1.ebuild
index a7a65a2ca63..4afe46cf0ce 100644
--- a/media-sound/mpg123/mpg123-1.28.1-r1.ebuild
+++ b/media-sound/mpg123/mpg123-1.28.1-r1.ebuild
@@ -15,6 +15,9 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 
sparc x86 ~amd64-li
 IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa 
coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio 
sdl cpu_flags_x86_sse"
 
 # No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
+# Note: build system prefers libsdl2 > libsdl. We could in theory add both
+# but it's tricky when it comes to handling switching between them properly.
+# We'd need a USE flag for both sdl1 and sdl2 and to make them clash.
 RDEPEND="
        dev-libs/libltdl:0
        alsa? ( media-libs/alsa-lib )

diff --git a/media-sound/mpg123/mpg123-1.28.2-r1.ebuild 
b/media-sound/mpg123/mpg123-1.28.2-r1.ebuild
index b54ad5de3c4..29a2b1f3de7 100644
--- a/media-sound/mpg123/mpg123-1.28.2-r1.ebuild
+++ b/media-sound/mpg123/mpg123-1.28.2-r1.ebuild
@@ -15,6 +15,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~riscv ~sparc
 IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa 
coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio 
sdl cpu_flags_x86_sse"
 
 # No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs.
+# Note: build system prefers libsdl2 > libsdl. We could in theory add both
+# but it's tricky when it comes to handling switching between them properly.
+# We'd need a USE flag for both sdl1 and sdl2 and to make them clash.
 RDEPEND="
        dev-libs/libltdl:0
        alsa? ( media-libs/alsa-lib )

Reply via email to