mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
audio/portmidi: Various packaging fixes
* Removed /Release dir in package * Fixed .desktop file Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
6707463cff
commit
48ba3c16cf
3 changed files with 11 additions and 14 deletions
|
@ -1,13 +1,11 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Comment=Set default input and output devices for PortMidi
|
Comment=Set default input and output devices for PortMidi
|
||||||
Exec=pmdefaults
|
|
||||||
GenericName=PortMidi Settings
|
GenericName=PortMidi Settings
|
||||||
Icon=/usr/share/icons/hicolor/128x128/apps/pmdefaults-icon.png
|
Exec=pmdefaults
|
||||||
Name=PM Defaults
|
Icon=pmdefaults-icon
|
||||||
|
Name=PortMidi Defaults
|
||||||
NoDisplay=false
|
NoDisplay=false
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
Terminal=0
|
Terminal=false
|
||||||
TerminalOptions=
|
|
||||||
Type=Application
|
Type=Application
|
||||||
X-KDE-SubstituteUID=false
|
Categories=Audio;AudioVideo;
|
||||||
X-KDE-Username=
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
PRGNAM=portmidi
|
PRGNAM=portmidi
|
||||||
VERSION=${VERSION:-217}
|
VERSION=${VERSION:-217}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -84,13 +84,12 @@ cmake . \
|
||||||
-DJAVA_AWT_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
|
-DJAVA_AWT_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
|
||||||
-DJAVA_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
|
-DJAVA_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
|
||||||
-DJAVA_INCLUDE_PATH2="/usr/lib$LIBDIRSUFFIX/java/include/linux" \
|
-DJAVA_INCLUDE_PATH2="/usr/lib$LIBDIRSUFFIX/java/include/linux" \
|
||||||
|
-DCMAKE_CACHEFILE_DIR=$(pwd) \
|
||||||
-DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so"
|
-DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so"
|
||||||
|
|
||||||
make -j1 \
|
make all \
|
||||||
CFLAGS="-fPIC" \
|
CFLAGS="-fPIC" \
|
||||||
PMFLAGS="-DNEWBUFFER" \
|
PMFLAGS="-DNEWBUFFER"
|
||||||
all
|
|
||||||
|
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
rm -f $PKG/usr/lib$LIBDIRSUFFIX/libportmidi_s.a
|
rm -f $PKG/usr/lib$LIBDIRSUFFIX/libportmidi_s.a
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="portmidi"
|
PRGNAM="portmidi"
|
||||||
VERSION="217"
|
VERSION="217"
|
||||||
HOMEPAGE="http://portmedia.sourceforge.net/"
|
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"
|
MD5SUM="03f46fd3947e2ef4c8c465baaf832241"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="David Woodfall"
|
MAINTAINER="David Woodfall"
|
||||||
EMAIL="dave@dawoodfall.net"
|
EMAIL="dave@dawoodfall.net"
|
||||||
APPROVED="Erik Hanson"
|
APPROVED="rworkman"
|
||||||
|
|
Loading…
Reference in a new issue