diff options
| author | Markus Volk <f_l_k@t-online.de> | 2026-03-21 19:52:19 +0100 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-21 14:23:46 -0700 |
| commit | b1ea104d04ca07e198de2e21bdbd6210b982a000 (patch) | |
| tree | b61b6fe74dfb32e8df86d60350736011a44e1432 /meta-oe/recipes-graphics/libsdl3 | |
| parent | a874710f1a20b5e816d8767d7042b18eed98ee30 (diff) | |
| download | meta-openembedded-b1ea104d04ca07e198de2e21bdbd6210b982a000.tar.gz | |
libsdl3-mixer: add recipe
libsdl3-mixer has initially released
- binaries in wavpack-bin are only needed at runtime but cmake checks
for them during compilation and fails because they are (presumably
intentionally) not present in the target sysroot. Workround this issue
by touching the necessary files to please cmake.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-graphics/libsdl3')
| -rw-r--r-- | meta-oe/recipes-graphics/libsdl3/libsdl3-mixer_3.2.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3-mixer_3.2.0.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3-mixer_3.2.0.bb new file mode 100644 index 0000000000..8540ec55fc --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl3-mixer_3.2.0.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Provides decoding of many popular audio file formats, mixing, various DSP processing effects and positional audio" | ||
| 2 | LICENSE = "Zlib" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=df8f4d887d3997f6e9cf81bb7f43dbf7" | ||
| 4 | |||
| 5 | DEPENDS = "libsdl3" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/libsdl-org/SDL_mixer.git;protocol=https;branch=release-3.2.x" | ||
| 8 | SRCREV = "cedfeef30e93db35eee6b25759117da63f8e5a4f" | ||
| 9 | |||
| 10 | inherit cmake pkgconfig | ||
| 11 | |||
| 12 | PACKAGECONFIG ?= "flac opus wave vorbis" | ||
| 13 | PACKAGECONFIG[opus] = "-DSDLMIXER_OPUS=ON -DSDLMIXER_OPUS_SHARED=ON, -DSDLMIXER_OPUS=OFF,opusfile" | ||
| 14 | PACKAGECONFIG[vorbis] = "-DSDLMIXER_VORBIS_VORBISFILE=ON -DSDLMIXER_VORBIS_STB=OFF -DSDLMIXER_VORBIS_TREMOR=OFF, -DSDLMIXER_VORBIS_VORBISFILE=OFF -DSDLMIXER_VORBIS_STB=OFF -DSDLMIXER_VORBIS_TREMOR=OFF,libvorbis" | ||
| 15 | PACKAGECONFIG[flac] = "-DSDLMIXER_FLAC_LIBFLAC=ON -DSDLMIXER_FLAC_LIBFLAC_SHARED=ON, -DSDLMIXER_FLAC_LIBFLAC=OFF,flac" | ||
| 16 | PACKAGECONFIG[xmp] = "-DSDLMIXER_MOD=ON -DSDLMIXER_MOD_XMP=ON -DSDLMIXER_MOD_XMP_SHARED=ON, -DSDLMIXER_MOD=OFF,libxmp,libxmp" | ||
| 17 | PACKAGECONFIG[fluidsynth] = "-DSDLMIXER_MIDI=ON -DSDLMIXER_MIDI_FLUIDSYNTH_ENABLED=ON -DSDLMIXER_MIDI_FLUIDSYNTH_SHARED=ON, -DSDLMIXER_MIDI=OFF,fluidsynth,fluidsynth-bin" | ||
| 18 | PACKAGECONFIG[wave] = "-DSDLMIXER_WAVE=ON -DSDLMIXER_WAVPACK=ON -DSDLMIXER_WAVPACK_SHARED=ON, -DSDLMIXER_WAVE=OFF,wavpack,wavpack wavpack-bin" | ||
| 19 | PACKAGECONFIG[mpg123] = "-DSDLMIXER_MP3 -DSDLMIXER_MP3_MPG123_SHARED=ON -DSDLMIXER_MP3_MPG123=ON, -DSDLMIXER_MP3=OFF,mpg123" | ||
| 20 | |||
| 21 | do_configure:prepend() { | ||
| 22 | touch ${STAGING_BINDIR}/wavpack | ||
| 23 | touch ${STAGING_BINDIR}/wvunpack | ||
| 24 | touch ${STAGING_BINDIR}/wvgain | ||
| 25 | touch ${STAGING_BINDIR}/wvtag | ||
| 26 | } | ||
| 27 | |||
| 28 | FILES:${PN} += "${datadir}/licenses" | ||
