Skip to content
Snippets Groups Projects
Commit 2af4c207 authored by TBK's avatar TBK Committed by Rasmus Thomsen
Browse files

testing/faudio: upgrade to 20.02

* Enable on ppc64le since that builds now
* Use tabs instead of spaces for indention
parent 217c6452
No related branches found
No related tags found
No related merge requests found
# Contributor: TBK <alpine@jjtc.eu> # Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu> # Maintainer: TBK <alpine@jjtc.eu>
pkgname=faudio pkgname=faudio
pkgver=19.06.07 pkgver=20.02
pkgrel=1 pkgrel=0
pkgdesc="Accuracy-focused XAudio reimplementation for open platforms" pkgdesc="Accuracy-focused XAudio reimplementation for open platforms"
url="https://fna-xna.github.io/" url="https://fna-xna.github.io/"
arch="all !ppc64le" arch="all"
license="Zlib" license="Zlib"
makedepends="cmake ffmpeg-dev sdl2-dev" makedepends="cmake ffmpeg-dev sdl2-dev"
subpackages="$pkgname-dev" subpackages="$pkgname-dev"
...@@ -13,25 +13,25 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/FNA-XNA/FAudio/archive/$pkgv ...@@ -13,25 +13,25 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/FNA-XNA/FAudio/archive/$pkgv
builddir="$srcdir/FAudio-$pkgver" builddir="$srcdir/FAudio-$pkgver"
build() { build() {
mkdir build && cd build mkdir build && cd build
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE=None \ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_INCLUDEDIR=include/FAudio \ -DCMAKE_INSTALL_INCLUDEDIR=include/FAudio \
-DFFMPEG=ON \ -DFFMPEG=ON \
-DBUILD_TESTS=1 -DBUILD_TESTS=1
make make
} }
check() { check() {
cd "$builddir/build" cd "$builddir/build"
./faudio_tests ./faudio_tests
} }
package() { package() {
cd "$builddir/build" cd "$builddir/build"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
sha512sums="9ac26aca314d94e1c9c234022a966026d98dfd1ef27b3720e20f992b674a472d06c5c78d58b6225b994ac869eec7a5ca9e55dd0934fb440e1741f8da969330c8 faudio-19.06.07.tar.gz" sha512sums="69995fa1fb9ea41182e47f8143252db517adf4e9dc4a0556c9032af5c867259cc7edc81196b10ef043e6118a2e3687b34368f3ac8ffe9294398c5143b9928476 faudio-20.02.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment