aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/calf/calf.SlackBuild11
-rw-r--r--audio/calf/calf.info6
-rw-r--r--audio/calf/git2targz.sh17
3 files changed, 29 insertions, 5 deletions
diff --git a/audio/calf/calf.SlackBuild b/audio/calf/calf.SlackBuild
index fc453e6ce7a40..bd93e232b0edf 100644
--- a/audio/calf/calf.SlackBuild
+++ b/audio/calf/calf.SlackBuild
@@ -4,6 +4,10 @@
# Written by B. Watson (yalhcru@gmail.com)
+# 20170622 bkw:
+# - Update to latest git. It's been a long time since the last release.
+# - Actually make the SSE=yes option work (d'oh!)
+
# 20170301 bkw: use long-format github URL, no more $VERSION.tar.gz
# 20151106 bkw:
@@ -25,7 +29,7 @@
# - Added capability stuff.
PRGNAM=calf
-VERSION=${VERSION:-0.0.60}
+VERSION=${VERSION:-20170622.0873978}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +66,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -91,6 +95,8 @@ case "${SSE:-auto}" in
|| SSEOPT="--disable-sse" ;;
esac
+echo "=== SSEOPT: $SSEOPT"
+
# For the slack-desc:
WITHSSE="without"
[ "$SSEOPT" = "--enable-sse" ] && WITHSSE="with"
@@ -98,6 +104,7 @@ WITHSSE="without"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ $SSEOPT \
--enable-experimental \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
diff --git a/audio/calf/calf.info b/audio/calf/calf.info
index 887a405482b96..92bcf538f04fe 100644
--- a/audio/calf/calf.info
+++ b/audio/calf/calf.info
@@ -1,8 +1,8 @@
PRGNAM="calf"
-VERSION="0.0.60"
+VERSION="20170622.0873978"
HOMEPAGE="http://kxstudio.sourceforge.net/Plugins"
-DOWNLOAD="https://github.com/calf-studio-gear/calf/archive/0.0.60/calf-0.0.60.tar.gz"
-MD5SUM="f54469f4bd3f194e7b979b15dfd3d048"
+DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/calf-20170622.0873978.tar.xz"
+MD5SUM="05dff02fdf399664985d0de7bdba9e96"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit lash slv2 fluidsynth"
diff --git a/audio/calf/git2targz.sh b/audio/calf/git2targz.sh
new file mode 100644
index 0000000000000..35ec01dae5031
--- /dev/null
+++ b/audio/calf/git2targz.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+PRGNAM=calf
+URL=https://github.com/calf-studio-gear/$PRGNAM.git
+DATE=$( date +%Y%m%d )
+
+rm -rf $PRGNAM
+git clone $URL $PRGNAM
+cd $PRGNAM
+REV=$( git rev-parse --short @ )
+rm -rf .git*
+cd -
+
+VERSION=$DATE.$REV
+rm -rf $PRGNAM-$VERSION
+mv $PRGNAM $PRGNAM-$VERSION
+tar cvfJ $PRGNAM-$VERSION.tar.xz $PRGNAM-$VERSION