diff options
author | orbea <orbea@riseup.net> | 2020-01-07 07:52:51 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:55 +0700 |
commit | 4d3d370443d698c453c56b7e7898fd9b45688554 (patch) | |
tree | ebc317228f34047a1f494fb797657afd5387cb76 | |
parent | 9a01ea0e0e640197154cbe7a1c694a1ac4c9eabb (diff) | |
download | slackbuilds-4d3d370443d698c453c56b7e7898fd9b45688554.tar.gz |
audio/FAudio: Updated for version 20.01.
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r-- | audio/FAudio/FAudio.SlackBuild | 8 | ||||
-rw-r--r-- | audio/FAudio/FAudio.info | 6 | ||||
-rw-r--r-- | audio/FAudio/README | 6 |
3 files changed, 15 insertions, 5 deletions
diff --git a/audio/FAudio/FAudio.SlackBuild b/audio/FAudio/FAudio.SlackBuild index 5e5487129c..a16edef591 100644 --- a/audio/FAudio/FAudio.SlackBuild +++ b/audio/FAudio/FAudio.SlackBuild @@ -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 diff --git a/audio/FAudio/FAudio.info b/audio/FAudio/FAudio.info index 211288af9c..68b03ddb46 100644 --- a/audio/FAudio/FAudio.info +++ b/audio/FAudio/FAudio.info @@ -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" diff --git a/audio/FAudio/README b/audio/FAudio/README index 335072c8ba..2d971dd890 100644 --- a/audio/FAudio/README +++ b/audio/FAudio/README @@ -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 |