From 56e4f298971568030ae9ccd6f17de61a0350fa07 Mon Sep 17 00:00:00 2001 From: Roger Freitas Pereira Date: Sun, 21 Jun 2026 23:00:16 -0300 Subject: [PATCH] New package: SDL3_mixer-3.2.4 --- common/shlibs | 1 + srcpkgs/SDL3_mixer-devel | 1 + srcpkgs/SDL3_mixer/template | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 120000 srcpkgs/SDL3_mixer-devel create mode 100644 srcpkgs/SDL3_mixer/template diff --git a/common/shlibs b/common/shlibs index 2110512d181..4d36c85637f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4555,6 +4555,7 @@ libilbc.so.3 libilbc-3.0.4_1 libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1 libSDL3.so.0 SDL3-3.2.2_1 libSDL3_image.so.0 SDL3_image-3.2.4_1 +libSDL3_mixer.so.0 SDL3_mixer-3.2.4_1 libiconv.so.2 libiconv-1.18_1 libcharset.so.1 libiconv-1.18_1 libomemo-c.so.0 libomemo-c-0.5.1_1 diff --git a/srcpkgs/SDL3_mixer-devel b/srcpkgs/SDL3_mixer-devel new file mode 120000 index 00000000000..02b8f7e4bba --- /dev/null +++ b/srcpkgs/SDL3_mixer-devel @@ -0,0 +1 @@ +SDL3_mixer \ No newline at end of file diff --git a/srcpkgs/SDL3_mixer/template b/srcpkgs/SDL3_mixer/template new file mode 100644 index 00000000000..7ccef39f98a --- /dev/null +++ b/srcpkgs/SDL3_mixer/template @@ -0,0 +1,34 @@ +# Template file for 'SDL3_mixer' +pkgname=SDL3_mixer +version=3.2.4 +revision=1 +build_style=cmake +configure_args="-DSDLMIXER_VENDORED=OFF -DSDLMIXER_DEPS_SHARED=ON + -DSDLMIXER_TESTS=OFF -DSDLMIXER_EXAMPLES=OFF -DSDLMIXER_STRICT=ON" +hostmakedepends="pkg-config" +makedepends="SDL3-devel opusfile-devel libvorbis-devel libflac-devel libgme-devel libxmp-devel + mpg123-devel fluidsynth-devel wavpack-devel" +# The following deps are dlopen(3)ed at runtime (SDLMIXER_DEPS_SHARED=ON). +depends="opusfile libvorbis libflac libgme libxmp libmpg123 libfluidsynth libwavpack" +short_desc="Multi-channel audio mixer library (SDL 3.x)" +maintainer="Rutpiv " +license="Zlib" +homepage="https://github.com/libsdl-org/SDL_mixer" +changelog="https://raw.githubusercontent.com/libsdl-org/SDL_mixer/refs/heads/main/CHANGES.txt" +distfiles="https://www.libsdl.org/projects/SDL_mixer/release/${pkgname}-${version}.tar.gz" +checksum=182a07c745375e113dc740d43964ff21b0be29f29f59876c4dbc4db3d32f6901 + +post_install() { + vlicense LICENSE.txt +} + +SDL3_mixer-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}