summaryrefslogtreecommitdiffstats
path: root/audio/mda-lv2
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mda-lv2')
-rw-r--r--audio/mda-lv2/mda-lv2.SlackBuild20
-rw-r--r--audio/mda-lv2/mda-lv2.info6
2 files changed, 18 insertions, 8 deletions
diff --git a/audio/mda-lv2/mda-lv2.SlackBuild b/audio/mda-lv2/mda-lv2.SlackBuild
index 8b31d4345d..86ec65463e 100644
--- a/audio/mda-lv2/mda-lv2.SlackBuild
+++ b/audio/mda-lv2/mda-lv2.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mda-lv2
@@ -6,10 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mda-lv2
-VERSION=${VERSION:-1.2.4}
+VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -19,7 +22,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,7 +69,7 @@ ln -s /usr/include/lv2.h lv2includes/lv2/core
SLKCFLAGS="$SLKCFLAGS -I$(pwd)/lv2includes"
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=c++11" \
./waf configure build install \
--prefix=/usr \
--lv2dir=/usr/lib$LIBDIRSUFFIX/lv2 \
@@ -84,4 +94,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/mda-lv2/mda-lv2.info b/audio/mda-lv2/mda-lv2.info
index 4e8ede3493..e316be7505 100644
--- a/audio/mda-lv2/mda-lv2.info
+++ b/audio/mda-lv2/mda-lv2.info
@@ -1,8 +1,8 @@
PRGNAM="mda-lv2"
-VERSION="1.2.4"
+VERSION="1.2.6"
HOMEPAGE="http://drobilla.net/software/mda-lv2/"
-DOWNLOAD="http://download.drobilla.net/mda-lv2-1.2.4.tar.bz2"
-MD5SUM="57feb6b58b195f87f8b3e436f3b56076"
+DOWNLOAD="http://download.drobilla.net/mda-lv2-1.2.6.tar.bz2"
+MD5SUM="78712e8e1d2019c8bda6e164d1cd9115"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lv2"