Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955672 - media-libs/sdl2-mixer-2.8.1 pkgconfig requires tremor instead of vorbisidec
Summary: media-libs/sdl2-mixer-2.8.1 pkgconfig requires tremor instead of vorbisidec
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 952114
  Show dependency tree
 
Reported: 2025-05-09 09:37 UTC by gletonai
Modified: 2025-06-01 02:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sdl2-mixer ebuild supporting git/release and multilib (sdl2-mixer-9999.ebuild,3.03 KB, application/vnd.gentoo.ebuild)
2025-05-31 09:36 UTC, Jon Daniel
Details
sdl2-mixer-2.8.1-tremor-vorbisidec.patch from gletonai@gmail.com (sdl2-mixer-2.8.1-tremor-vorbisidec.patch,492 bytes, patch)
2025-05-31 09:38 UTC, Jon Daniel
Details | Diff
sdl2-mixer ebuild supporting git/release and the tremor patch (sdl2-mixer-9999.ebuild,3.04 KB, application/vnd.gentoo.ebuild)
2025-05-31 09:46 UTC, Jon Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gletonai 2025-05-09 09:37:16 UTC
media-libs/sdl2-mixer-2.8.1-r3 requires tremor in its SDL2_mixer.pc pkgconfig file altough tremor renamed its tremor.pc into vorbisidec.pc

Reproducible: Always

Steps to Reproduce:
emerge --ask -1 =media-libs/sdl2-mixer-2.8.1-r3

cat /usr/lib64/pkgconfig/SDL2_mixer.pc

Actual Results:  
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

Name: SDL2_mixer
Description: mixer library for Simple DirectMedia Layer
Version: 2.8.1
Requires: sdl2 >= 2.0.9
Libs: -L${libdir} -lSDL2_mixer
Cflags: -I${includedir}/SDL2
Requires.private: tremor flac libgme libmodplug fluidsynth wavpack
Libs.private: 


Expected Results:  
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

Name: SDL2_mixer
Description: mixer library for Simple DirectMedia Layer
Version: 2.8.1
Requires: sdl2 >= 2.0.9
Libs: -L${libdir} -lSDL2_mixer
Cflags: -I${includedir}/SDL2
Requires.private: vorbisidec flac libgme libmodplug fluidsynth wavpack
Libs.private: 


A patch like this could fix it, or a more elaborate depending on media-libs/tremor version:

diff '--color=auto' -Naur A/CMakeLists.txt B/CMakeLists.txt
--- A/CMakeLists.txt	2025-02-07 21:40:44.000000000 +0100
+++ B/CMakeLists.txt	2025-05-09 09:08:22.844295085 +0200
@@ -472,7 +472,7 @@
         message(STATUS "Using system tremor")
         find_package(tremor REQUIRED)
         if(NOT SDL2MIXER_VORBIS_TREMOR_SHARED)
-            list(APPEND PC_REQUIRES tremor)
+            list(APPEND PC_REQUIRES vorbisidec)
         endif()
     endif()
     if(SDL2MIXER_VORBIS_TREMOR_SHARED)
Comment 1 Jon Daniel 2025-05-31 09:36:26 UTC
Created attachment 930138 [details]
sdl2-mixer ebuild supporting git/release and multilib

Needs the sdl2-mixer-2.8.1-tremor-vorbisidec.patch
Comment 2 Jon Daniel 2025-05-31 09:38:17 UTC
Created attachment 930139 [details, diff]
sdl2-mixer-2.8.1-tremor-vorbisidec.patch from gletonai@gmail.com
Comment 3 Jon Daniel 2025-05-31 09:46:37 UTC
Created attachment 930140 [details]
sdl2-mixer ebuild supporting git/release and the tremor patch
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-01 02:12:37 UTC
(In reply to Jon Daniel from comment #3)
> Created attachment 930140 [details]
> sdl2-mixer ebuild supporting git/release and the tremor patch

Please don't repeat your attachments across every bug you feel is relevant.