diff options
author | prspkt <prspkt@protonmail.com> | 2020-08-01 20:12:51 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2020-08-02 13:30:50 +0000 |
commit | 4f2a28f7a01f2376ff05241ee50393c041de7565 (patch) | |
tree | e0c62974a8e0c33781991fce3f3dc419ba46ad7d | |
parent | 4d516c3a1269cbe03c7ca79f307351088e8ba554 (diff) | |
download | aports-4f2a28f7a01f2376ff05241ee50393c041de7565.zip |
testing/faudio: upgrade to 20.08
* FFmpeg backend for (optional) xWMA decoding has been replaced with
GStreamer. Configure without xWMA support until required.
-rw-r--r-- | testing/faudio/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/faudio/APKBUILD b/testing/faudio/APKBUILD index fbf0b12d912..5ee11e7cc1b 100644 --- a/testing/faudio/APKBUILD +++ b/testing/faudio/APKBUILD @@ -1,25 +1,26 @@ # Contributor: TBK <alpine@jjtc.eu> # Maintainer: TBK <alpine@jjtc.eu> pkgname=faudio -pkgver=20.07 +pkgver=20.08 pkgrel=0 pkgdesc="Accuracy-focused XAudio reimplementation for open platforms" url="https://fna-xna.github.io/" arch="all !mips !mips64" license="Zlib" -makedepends="cmake ffmpeg-dev sdl2-dev sdl2-static" +makedepends="cmake sdl2-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/FNA-XNA/FAudio/archive/$pkgver.tar.gz" builddir="$srcdir/FAudio-$pkgver" build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi cmake -B build \ -DCMAKE_BUILD_TYPE=None \ - -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_INCLUDEDIR=include/FAudio \ -DBUILD_SHARED_LIBS=1 \ - -DFFMPEG=ON \ -DBUILD_TESTS=1 make -C build } @@ -33,4 +34,4 @@ package() { make -C build DESTDIR="$pkgdir" install } -sha512sums="00104a019582bd8a04a4966b7b6d179f9791c8ee3a475068117d71d50de011bb537dee55390f6dcb60380abe04d21179cb0ae5e23beab19494fec6bf6109903f faudio-20.07.tar.gz" +sha512sums="c5975d399daf8b9cc8432b4efa8c0cb3e5de4fc50ca8bb85652cec3951ae3c755e3151bcfe7777c8cdec3093c4a2dd9f9427cbee8984ae385c04cdfa1d9ad081 faudio-20.08.tar.gz" |