Skip to content

Commit

Permalink
sdl2-mixer: update to version 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jan 17, 2025
1 parent 655fef4 commit 13f8f2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 40 deletions.
13 changes: 5 additions & 8 deletions sdl2-mixer/PSPBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname=sdl2-mixer
pkgver=2.6.3
pkgrel=9
pkgver=2.8.0
pkgrel=1
pkgdesc="an audio mixer library based on the SDL2 library"
arch=('mips')
url="https://wiki.libsdl.org/SDL2_mixer/FrontPage"
Expand All @@ -11,14 +11,12 @@ makedepends=()
optdepends=()
source=(
"https://github.com/libsdl-org/SDL_mixer/releases/download/release-${pkgver}/SDL2_mixer-${pkgver}.tar.gz"
"pkg-config-fix.patch"
"CMakeLists.txt.sample"
"main.c.sample"
"https://pspdev.github.io/resources/test.ogg"
)
sha256sums=(
"7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f"
"SKIP"
"1cfb34c87b26dbdbc7afd68c4f545c0116ab5f90bbfecc5aebe2a9cb4bb31549"
"SKIP"
"SKIP"
"b728bb95b6018ba0bb5675d614f2e25d056d04c6b471f4f080623c570f905e01"
Expand All @@ -27,7 +25,6 @@ sha256sums=(
prepare() {
cd "${srcdir}/SDL2_mixer-${pkgver}"
sed -i '/^prefix=/s/=.*$/=${PSPDEV}\/psp/' SDL2_mixer.pc.in
patch -Np1 -i "${srcdir}/pkg-config-fix.patch"
}

build() {
Expand All @@ -38,8 +35,8 @@ build() {
-DSDL2MIXER_INSTALL=ON -DSDL2MIXER_SAMPLES=OFF -DSDL2MIXER_FLAC=OFF -DSDL2MIXER_OPUS=OFF \
-DSDL2MIXER_MIDI=OFF -DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE_SHARED=OFF \
-DSDL2MIXER_MOD=ON -DSDL2MIXER_MOD_MODPLUG=ON -DSDL2MIXER_MOD_MODPLUG_SHARED=OFF \
-DSDL2MIXER_MOD_XMP=OFF -DSDL2MIXER_MP3=ON -DSDL2MIXER_MP3_DRMP3=ON -DSDL2MIXER_MP3_MPG123=OFF \
-DCMAKE_BUILD_TYPE=Release .. "${XTRA_OPTS[@]}" || { exit 1; }
-DSDL2MIXER_MOD_XMP=OFF -DSDL2MIXER_MP3=ON -DSDL2MIXER_MP3_MINIMP3=ON -DSDL2MIXER_MP3_MPG123=OFF \
-DSDL2MIXER_WAVPACK=OFF -DCMAKE_BUILD_TYPE=Release .. "${XTRA_OPTS[@]}" || { exit 1; }
make --quiet $MAKEFLAGS || { exit 1; }
}

Expand Down
32 changes: 0 additions & 32 deletions sdl2-mixer/pkg-config-fix.patch

This file was deleted.

0 comments on commit 13f8f2b

Please sign in to comment.