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 /audio/FAudio/FAudio.SlackBuild | |
parent | 9a01ea0e0e640197154cbe7a1c694a1ac4c9eabb (diff) |
audio/FAudio: Updated for version 20.01.
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'audio/FAudio/FAudio.SlackBuild')
-rw-r--r-- | audio/FAudio/FAudio.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/audio/FAudio/FAudio.SlackBuild b/audio/FAudio/FAudio.SlackBuild index 5e5487129c4d..a16edef59116 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 |