aboutsummaryrefslogtreecommitdiff
path: root/audio/flacon/flacon.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-12-09 21:28:31 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-16 07:32:01 +0700
commit318011fd3b2b49e2bbd0c717fb90d2d6dbd10b4e (patch)
treea7ccfc21d1f06971dfea31e554c5c2daaa87bc57 /audio/flacon/flacon.SlackBuild
parentbdd7f5fa7c6cf34428e4cbb97522755602358495 (diff)
audio/flacon: Updated for version 3.1.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/flacon/flacon.SlackBuild')
-rw-r--r--audio/flacon/flacon.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/flacon/flacon.SlackBuild b/audio/flacon/flacon.SlackBuild
index 0adaf829c0c46..74742054fdb9d 100644
--- a/audio/flacon/flacon.SlackBuild
+++ b/audio/flacon/flacon.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=flacon
-VERSION=${VERSION:-2.1.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.1.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -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 {} \;
+patch -p1 < $CWD/audioformat_segfault.diff
+
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
@@ -85,7 +87,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mv $PKG/usr/share/man $PKG/usr/man
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install