diff options
author | Michales Michaloudes <korgie@gmail.com> | 2011-10-17 10:17:58 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-10-17 10:17:58 -0200 |
commit | 7921d3352c207c1bf96da7068f0d69b64dd4b53a (patch) | |
tree | ea91483773409b158525bf3a1804df4b34f88a74 /multimedia | |
parent | f651982f07f4382992bceb73c305d3b5354ae064 (diff) |
audio/vmpk: Updated for version 0.4.0 (+moved from multimedia)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vmpk/README | 7 | ||||
-rw-r--r-- | multimedia/vmpk/doinst.sh | 10 | ||||
-rw-r--r-- | multimedia/vmpk/slack-desc | 19 | ||||
-rw-r--r-- | multimedia/vmpk/vmpk.SlackBuild | 82 | ||||
-rw-r--r-- | multimedia/vmpk/vmpk.info | 10 |
5 files changed, 0 insertions, 128 deletions
diff --git a/multimedia/vmpk/README b/multimedia/vmpk/README deleted file mode 100644 index 82fa797d26bad..0000000000000 --- a/multimedia/vmpk/README +++ /dev/null @@ -1,7 +0,0 @@ -Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. It -doesn't produce any sound by itself, but can be used to drive a MIDI -synthesizer (either hardware or software, internal or external). You can -use the computer's keyboard to play MIDI notes, and also the mouse. You -can use the Virtual MIDI Piano Keyboard to display the played MIDI notes -from another instrument or MIDI file player. To do so, connect the other -MIDI port to the input port of VMPK. diff --git a/multimedia/vmpk/doinst.sh b/multimedia/vmpk/doinst.sh deleted file mode 100644 index 1f8ff67dedb29..0000000000000 --- a/multimedia/vmpk/doinst.sh +++ /dev/null @@ -1,10 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - -if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 - fi -fi - diff --git a/multimedia/vmpk/slack-desc b/multimedia/vmpk/slack-desc deleted file mode 100644 index ab1ff62ff4e01..0000000000000 --- a/multimedia/vmpk/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -vmpk: vmpk (Virtual Midi Piano Keyboard) -vmpk: -vmpk: Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. -vmpk: it doesn't produce any sound by itself, but can be used to drive a -vmpk: MIDI synthesizer (either hardware or software, internal or external). -vmpk: You can use the computer's keyboard to play MIDI notes, and also the -vmpk: mouse. -vmpk: -vmpk: You can use the Virtual MIDI Piano Keyboard to display -vmpk: the played MIDI notes from another instrument or MIDI file player. To -vmpk: do so, connect the other MIDI port to the input port of VMPK. diff --git a/multimedia/vmpk/vmpk.SlackBuild b/multimedia/vmpk/vmpk.SlackBuild deleted file mode 100644 index f204c2596b362..0000000000000 --- a/multimedia/vmpk/vmpk.SlackBuild +++ /dev/null @@ -1,82 +0,0 @@ -#!/bin/sh -# Slackware build script for <vmpk> -# Written by Michales Michaloudes korgie@gmail.com - -PRGNAM=vmpk -VERSION=${VERSION:-0.3.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -cmake . \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DBUILD_SHARED_LIBS:BOOL=ON - -make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# fix location of man page -mv $PKG/usr/share/man $PKG/usr/ -find $PKG/usr/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING ChangeLog README TODO NEWS gpl.rtf \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/multimedia/vmpk/vmpk.info b/multimedia/vmpk/vmpk.info deleted file mode 100644 index 3ce05583aadb7..0000000000000 --- a/multimedia/vmpk/vmpk.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="vmpk" -VERSION="0.3.3" -HOMEPAGE="http://vmpk.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/project/vmpk/vmpk/0.3.3/vmpk-0.3.3.tar.bz2" -MD5SUM="f3d4e86975c948afe94702964ce73a86" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Michales Michaloudes" -EMAIL="korgie@gmail.com" -APPROVED="Niels Horn" |