summaryrefslogtreecommitdiff
path: root/audio/portmidi
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2010-11-05 17:46:15 -0500
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:43:15 +0100
commit9b5e40b59fad4efbd07fb1954225f5b52aae0d9c (patch)
treef1902dc728d89ba94a2c9e6bdfe8094d89f7ded9 /audio/portmidi
parent69c446b059c2213e8f494ace985d562d2f2b2993 (diff)
downloadslackbuilds-9b5e40b59fad4efbd07fb1954225f5b52aae0d9c.tar.gz
audio/portmidi: Updated for version 217.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'audio/portmidi')
-rw-r--r--audio/portmidi/portmidi.SlackBuild13
-rw-r--r--audio/portmidi/portmidi.info10
2 files changed, 9 insertions, 14 deletions
diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild
index 0ca202fe3a..86669a7913 100644
--- a/audio/portmidi/portmidi.SlackBuild
+++ b/audio/portmidi/portmidi.SlackBuild
@@ -25,16 +25,14 @@
# Modified by SlackBuilds.org
PRGNAM=portmidi
-VERSION=${VERSION:-200}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-217}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -74,11 +72,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix the libjvm.so path. This is *really* only needed on x86_64, but fixing
-# it on both arches looks prettier :-) --rworkman
-sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%" $CWD/fixup_java_path.diff | patch --verbose -p1
# cmake install dir & 64 bit fixes
-patch -p1 -i $CWD/portmidi-cmake.patch
+patch --verbose -p1 -i $CWD/portmidi-cmake.patch
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
@@ -91,7 +86,7 @@ cmake . \
-DJAVA_INCLUDE_PATH2="/usr/lib$LIBDIRSUFFIX/java/include/linux" \
-DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so"
-make \
+make -j1 \
CFLAGS="-fPIC" \
PMFLAGS="-DNEWBUFFER" \
all
diff --git a/audio/portmidi/portmidi.info b/audio/portmidi/portmidi.info
index 48a3f318bc..c8ccb4782e 100644
--- a/audio/portmidi/portmidi.info
+++ b/audio/portmidi/portmidi.info
@@ -1,10 +1,10 @@
PRGNAM="portmidi"
-VERSION="200"
+VERSION="217"
HOMEPAGE="http://portmedia.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/portmedia/portmidi/200/portmidi-src-200.zip"
-MD5SUM="26053a105d938395227bb6ae1d78643b"
+DOWNLOAD="http://downloads.sourceforge.net/project/portmedia/portmidi/217/portmidi-src-217.zip"
+MD5SUM="03f46fd3947e2ef4c8c465baaf832241"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Woodfall"
-EMAIL="info@davidwoodfall.co.uk"
-APPROVED="pprkut"
+EMAIL="dave@dawoodfall.net"
+APPROVED="Erik Hanson"