audio/FAudio: Updated for version 20.01.

Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
orbea 2020-01-07 07:52:51 -08:00 committed by Willy Sudiarto Raharjo
parent 9a01ea0e0e
commit 4d3d370443
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 15 additions and 5 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for FAudio
# Copyright 2019 Hunter Sezen California, USA
# Copyright 2019-2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=FAudio
VERSION=${VERSION:-19.10}
VERSION=${VERSION:-20.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
[ "${FFMPEG:=OFF}" != OFF ] && FFMPEG=ON
mkdir -p build
cd build
cmake \
@ -76,6 +78,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
-DFFMPEG=$FFMPEG \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@ -86,6 +89,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
[ "$FFMPEG" != ON ] || cp -a README.ffmpeg $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="FAudio"
VERSION="19.10"
VERSION="20.01"
HOMEPAGE="https://fna-xna.github.io/"
DOWNLOAD="https://github.com/FNA-XNA/FAudio/archive/19.10/FAudio-19.10.tar.gz"
MD5SUM="baa212e0a31eb2011ce3450962980310"
DOWNLOAD="https://github.com/FNA-XNA/FAudio/archive/20.01/FAudio-20.01.tar.gz"
MD5SUM="f687b27a6052301af205963d87d4855b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2"

View file

@ -1,3 +1,9 @@
This is FAudio, an XAudio reimplementation that focuses solely on
developing fully accurate DirectX Audio runtime libraries for the FNA
project, including XAudio2, X3DAudio, XAPO, and XACT3.
ffmpeg is an optional dependency for decoding xWMA resources.
To enable ffmpeg support use:
FFMPEG=yes ./FAudio.SlackBuild