aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/portmidi/pmdefaults.desktop12
-rw-r--r--audio/portmidi/portmidi.SlackBuild9
-rw-r--r--audio/portmidi/portmidi.info4
3 files changed, 11 insertions, 14 deletions
diff --git a/audio/portmidi/pmdefaults.desktop b/audio/portmidi/pmdefaults.desktop
index 175d89f7314a..20b0bcefb177 100644
--- a/audio/portmidi/pmdefaults.desktop
+++ b/audio/portmidi/pmdefaults.desktop
@@ -1,13 +1,11 @@
[Desktop Entry]
Comment=Set default input and output devices for PortMidi
-Exec=pmdefaults
GenericName=PortMidi Settings
-Icon=/usr/share/icons/hicolor/128x128/apps/pmdefaults-icon.png
-Name=PM Defaults
+Exec=pmdefaults
+Icon=pmdefaults-icon
+Name=PortMidi Defaults
NoDisplay=false
StartupNotify=true
-Terminal=0
-TerminalOptions=
+Terminal=false
Type=Application
-X-KDE-SubstituteUID=false
-X-KDE-Username=
+Categories=Audio;AudioVideo;
diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild
index 86669a79137c..93d39e602707 100644
--- a/audio/portmidi/portmidi.SlackBuild
+++ b/audio/portmidi/portmidi.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=portmidi
VERSION=${VERSION:-217}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -84,13 +84,12 @@ cmake . \
-DJAVA_AWT_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
-DJAVA_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
-DJAVA_INCLUDE_PATH2="/usr/lib$LIBDIRSUFFIX/java/include/linux" \
+ -DCMAKE_CACHEFILE_DIR=$(pwd) \
-DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so"
-make -j1 \
+make all \
CFLAGS="-fPIC" \
- PMFLAGS="-DNEWBUFFER" \
- all
-
+ PMFLAGS="-DNEWBUFFER"
make install DESTDIR=$PKG
rm -f $PKG/usr/lib$LIBDIRSUFFIX/libportmidi_s.a
diff --git a/audio/portmidi/portmidi.info b/audio/portmidi/portmidi.info
index c8ccb4782e96..6461b7affb57 100644
--- a/audio/portmidi/portmidi.info
+++ b/audio/portmidi/portmidi.info
@@ -1,10 +1,10 @@
PRGNAM="portmidi"
VERSION="217"
HOMEPAGE="http://portmedia.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/portmedia/portmidi/217/portmidi-src-217.zip"
+DOWNLOAD="http://downloads.sourceforge.net/portmedia/portmidi-src-217.zip"
MD5SUM="03f46fd3947e2ef4c8c465baaf832241"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Woodfall"
EMAIL="dave@dawoodfall.net"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"