Mercurial > vanilla
comparison audio/sdl2-mixer/sdl2-mixer.sh @ 902:a133976e0783
vanilla: remove all origins, closes #2203
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 26 Aug 2019 12:14:53 +0200 |
parents | 0e6c54d47dfb |
children | ddab65a5b3f5 |
comparison
equal
deleted
inserted
replaced
901:e2de15b7d2b1 | 902:a133976e0783 |
---|---|
21 PKGVERSION=2.0.4 | 21 PKGVERSION=2.0.4 |
22 PKGREVISION=1 | 22 PKGREVISION=1 |
23 PKGLICENSE="zlib" | 23 PKGLICENSE="zlib" |
24 PKGSUMMARY="sound addon for SDL2" | 24 PKGSUMMARY="sound addon for SDL2" |
25 PKGDOWNLOAD="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$PKGVERSION.tar.gz" | 25 PKGDOWNLOAD="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-$PKGVERSION.tar.gz" |
26 PKGDEPENDS="lib/sdl2" | 26 PKGDEPENDS="sdl2" |
27 PKGOPTIONS="FLAC OGG OPUS WAVE" | 27 PKGOPTIONS="FLAC OGG OPUS WAVE" |
28 | 28 |
29 : ${CHOST:=$(uname -m)-linux-musl} | 29 : ${CHOST:=$(uname -m)-linux-musl} |
30 : ${CBUILD:=$(uname -m)-linux-musl} | 30 : ${CBUILD:=$(uname -m)-linux-musl} |
31 : ${CC:=clang} | 31 : ${CC:=clang} |
36 : ${OGG:=yes} | 36 : ${OGG:=yes} |
37 : ${OPUS:=yes} | 37 : ${OPUS:=yes} |
38 : ${WAVE:=yes} | 38 : ${WAVE:=yes} |
39 | 39 |
40 if [ "$FLAC" = "yes" ]; then | 40 if [ "$FLAC" = "yes" ]; then |
41 PKGDEPENDS="audio/flac $PKGDEPENDS" | 41 PKGDEPENDS="flac $PKGDEPENDS" |
42 with_flac="--enable-music-flac" | 42 with_flac="--enable-music-flac" |
43 else | 43 else |
44 with_flac="--disable-music-flac" | 44 with_flac="--disable-music-flac" |
45 fi | 45 fi |
46 | 46 |
47 if [ "$OPUS" = "yes" ]; then | 47 if [ "$OPUS" = "yes" ]; then |
48 PKGDEPENDS="audio/opus $PKGDEPENDS" | 48 PKGDEPENDS="opus $PKGDEPENDS" |
49 with_opus="--enable-music-opus" | 49 with_opus="--enable-music-opus" |
50 else | 50 else |
51 with_opus="--disable-music-opus" | 51 with_opus="--disable-music-opus" |
52 fi | 52 fi |
53 | 53 |