mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
audio/FAudio: Updated for version 20.01.
Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
parent
9a01ea0e0e
commit
4d3d370443
3 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue