forked from ports/contrib
sdl2_mixer: update to 2.8.0
This commit is contained in:
parent
81f50cd2d3
commit
d7f12a76c1
@ -10,8 +10,8 @@ drwxr-xr-x root/root usr/lib/cmake/SDL2_mixer/
|
||||
-rw-r--r-- root/root usr/lib/cmake/SDL2_mixer/SDL2_mixerConfig.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/SDL2_mixer/SDL2_mixerConfigVersion.cmake
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_mixer-2.0.so -> libSDL2_mixer-2.0.so.0
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_mixer-2.0.so.0 -> libSDL2_mixer-2.0.so.0.600.3
|
||||
-rwxr-xr-x root/root usr/lib/libSDL2_mixer-2.0.so.0.600.3
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_mixer-2.0.so.0 -> libSDL2_mixer-2.0.so.0.800.0
|
||||
-rwxr-xr-x root/root usr/lib/libSDL2_mixer-2.0.so.0.800.0
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_mixer.so -> libSDL2_mixer-2.0.so.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/SDL2_mixer.pc
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3xGTwed21RH3/G5JBao+b0RnTg3VAK3pY3y/SSx2y5YQU+lWf7duVGIuHkBuPmCza0E4aGL3E29Ouv3wYkmp/AI=
|
||||
SHA256 (Pkgfile) = 22dd45104dfed9b8783b8c3c0ac8d2065bc99357577c48ca3eddd9879f8bd253
|
||||
SHA256 (.footprint) = 111b662e86102cd4c1ca88a8f8081ae2a68bf2ccf78a53eb4ddf7da9886007b2
|
||||
SHA256 (SDL2_mixer-2.6.3.tar.gz) = 7a6ba86a478648ce617e3a5e9277181bc67f7ce9876605eea6affd4a0d6eea8f
|
||||
RWSagIOpLGJF39DpxCQJJ9moV5qzd6mCijbzV21UaVvrdssit+5TTVE31q2XUDKESWeMw1p6AbOdwPXDuZimyf9qr9GS7ihfjQY=
|
||||
SHA256 (Pkgfile) = f11a316a281566cbd3f0dba8d2997842840414bc6b07042bfd1bd5a668c06074
|
||||
SHA256 (.footprint) = cdfae73ed1670e303d4c1cf71e2c6895815bd3b6b6618b58715b96d21dac6c55
|
||||
SHA256 (SDL2_mixer-2.8.0.tar.gz) = 1cfb34c87b26dbdbc7afd68c4f545c0116ab5f90bbfecc5aebe2a9cb4bb31549
|
||||
|
@ -2,27 +2,28 @@
|
||||
# URL: https://github.com/libsdl-org/SDL_mixer
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: libvorbis libmodplug flac libsdl2 mpg123
|
||||
# Optional: fluidsynth opusfile
|
||||
# Optional: fluidsynth opusfile wavpack
|
||||
|
||||
name=sdl2_mixer
|
||||
version=2.6.3
|
||||
release=2
|
||||
version=2.8.0
|
||||
release=1
|
||||
source=(https://github.com/libsdl-org/SDL_mixer/releases/download/release-$version/SDL2_mixer-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst fluidsynth \
|
||||
|| PKGMK_SDLMIX="-D SDL2MIXER_MIDI_FLUIDSYNTH=OFF"
|
||||
prt-get isinst opusfile \
|
||||
|| PKGMK_SDLMIX+=" -D SDL2MIXER_OPUS=OFF"
|
||||
cmake -S SDL2_mixer-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" $PKGMK_SDLMIX
|
||||
PKGMK_SDLMIX="-D SDL2MIXER_MOD_MODPLUG=ON -D SDL2MIXER_MOD_XMP=OFF"
|
||||
prt-get isinst fluidsynth || PKGMK_SDLMIX+=" -D SDL2MIXER_MIDI_FLUIDSYNTH=OFF"
|
||||
prt-get isinst opusfile || PKGMK_SDLMIX+=" -D SDL2MIXER_OPUS=OFF"
|
||||
prt-get isinst wavpack || PKGMK_SDLMIX+=" -D SDL2MIXER_WAVPACK=OFF"
|
||||
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
cmake -S SDL2_mixer-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" $PKGMK_SDLMIX
|
||||
|
||||
# delete installed license.txt
|
||||
rm -rf $PKG/usr/share
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
|
||||
# delete installed license.txt
|
||||
rm -rf $PKG/usr/share
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user