aboutsummaryrefslogtreecommitdiff
path: root/audio/miniAudicle
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-04 06:58:25 +0000
committerDave Woodfall <dave@slackbuilds.org>2022-03-04 09:52:10 +0000
commitf650de0f07094495ea9584fa549850e501e676ab (patch)
tree93a7666c1c636b695efd44e7d831e5c2002bfd6b /audio/miniAudicle
parente69e3bd03d5fca953d21a37fc659f0379ab4a5c0 (diff)
audio/miniAudicle: Use c++14.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'audio/miniAudicle')
-rw-r--r--audio/miniAudicle/miniAudicle.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/miniAudicle/miniAudicle.SlackBuild b/audio/miniAudicle/miniAudicle.SlackBuild
index 66aaf4330b6a..b353f823572e 100644
--- a/audio/miniAudicle/miniAudicle.SlackBuild
+++ b/audio/miniAudicle/miniAudicle.SlackBuild
@@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=miniAudicle
VERSION=${VERSION:-0.2.2c}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,7 +65,9 @@ find -L . \
cd src
# Set our CFLAGS
-sed -i "s|-O3|$SLKCFLAGS|" makefile* chuck/makefile*
+sed -i "s|-O3|$SLKCFLAGS -std=c++14|" makefile* chuck/makefile*
+sed -i "s,weights<0,weights!=0,g
+ s,in_args<0,in_args!=0,g" chuck/ugen_osc.cpp
make linux-$SOUNDENGINE
install -m 0755 -D wxw/$PRGNAM $PKG/usr/bin/$PRGNAM-$SOUNDENGINE