diff --git a/multimedia/gmidimonitor/README b/multimedia/gmidimonitor/README new file mode 100644 index 0000000000..c3f98f24d4 --- /dev/null +++ b/multimedia/gmidimonitor/README @@ -0,0 +1,3 @@ +GMIDImonitor is GTK+ application that shows MIDI events via alsa or jack. + +Optional: jack-audio-connection-kit, lash diff --git a/multimedia/gmidimonitor/doinst.sh b/multimedia/gmidimonitor/doinst.sh new file mode 100644 index 0000000000..4e8ba7071d --- /dev/null +++ b/multimedia/gmidimonitor/doinst.sh @@ -0,0 +1,4 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + diff --git a/multimedia/gmidimonitor/gmidimonitor-64.xpm b/multimedia/gmidimonitor/gmidimonitor-64.xpm new file mode 100644 index 0000000000..d21abeba7f --- /dev/null +++ b/multimedia/gmidimonitor/gmidimonitor-64.xpm @@ -0,0 +1,86 @@ +/* XPM */ +static char *gmidimonitor___[] = { +/* columns rows colors chars-per-pixel */ +"64 64 16 1", +" c #000200", +". c #3D2B22", +"X c #783417", +"o c #4B4436", +"O c #474E55", +"+ c #B63F18", +"@ c #575956", +"# c #565D64", +"$ c #6B6E6E", +"% c #D05A29", +"& c #72777B", +"* c #838990", +"= c #959A2B", +"- c #949EA6", +"; c #BEC6C8", +": c #D7D74D", +/* pixels */ +";;;;;;;;;;;;;-;;;;;;;;;;;;;;;;;; ", +";------;;;;;;;-------;---------- ", +";-------;;;;;--;;;----;;;------- ", +";------;--;--;---*---;---------- ", +";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$", +"&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"&#&&&&&&&&&&&&&&*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", +"&#@@@@@.%%.@@@@@$@@@@@#.#@@@@@@@@@@@@@@@@;$ @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OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", +"&OOOOOOOOOOOOOOOOOOOOOOOOOOO&O*OOOOOOOOOOOOOOOOOOOOOOO#OOOOOOOOO", +"&O#OOOOOOOOOOOOO#----***OO-$;O;OOOO-*OOO#-&-;O-@&&-OO$*OOOOOOOOO", +"&O**OOOOOOOOOOOO#O--O***OO-@*O-OOOO-*&OO#-&-*O-#-#-OOO*OOOOOOOOO", +"&OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", +"&OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", +"&OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", +"&O*OOOOOOOOOOOOO#$*OO#OOOOOOOOOOOOO*&OOOOOOO*OOOOOOOOO-OOOOOOO*O", +"&O#OOOOOOOOOOOOO#&-&&$-*OO--&OOOOOO#&OOO$&*$-O-#-*-OO--OOOO**-*O", +"&O&&OOOOOOOOOOOO#O&*O$#$OO*$#OOOOOO&$&OO#&#&#O&#&O&OOO$#OOO&#&##" +}; diff --git a/multimedia/gmidimonitor/gmidimonitor.SlackBuild b/multimedia/gmidimonitor/gmidimonitor.SlackBuild new file mode 100644 index 0000000000..a498cdcac4 --- /dev/null +++ b/multimedia/gmidimonitor/gmidimonitor.SlackBuild @@ -0,0 +1,104 @@ +#!/bin/sh +# Slackware build script for +# +# Copyright 2011 Michales - clavisound - Michaloudes korgie@gmail.com +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=gmidimonitor +VERSION=${VERSION:-3.6} +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 xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +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 {} \; + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./waf configure --prefix=/usr/ + +./waf -v + +mkdir -p $PKG/usr/bin +mkdir -p $PKG/usr/man +./waf install --destdir=$PKG + +mkdir -p $PKG/usr/share/$PRGNAM +cp -a $CWD/$PRGNAM-64.xpm $PKG/usr/share/$PRGNAM/ +mkdir -p $PKG/usr/share/applications +cp -a $CWD/$PRGNAM.desktop $PKG/usr/share/applications + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +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 NEWS INSTALL README \ + $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/gmidimonitor/gmidimonitor.desktop b/multimedia/gmidimonitor/gmidimonitor.desktop new file mode 100644 index 0000000000..c02c1a584d --- /dev/null +++ b/multimedia/gmidimonitor/gmidimonitor.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Exec=gmidimonitor +Icon=/usr/share/gmidimonitor/gmidimonitor-64.xpm +Name=gmidimonitor +GenericName=Midi monitor (via alsa or jack) +StartupNotify=true +Type=Application +Categories=AudioVideo;X-MIDI; diff --git a/multimedia/gmidimonitor/gmidimonitor.info b/multimedia/gmidimonitor/gmidimonitor.info new file mode 100644 index 0000000000..c54c4be87f --- /dev/null +++ b/multimedia/gmidimonitor/gmidimonitor.info @@ -0,0 +1,10 @@ +PRGNAM="gmidimonitor" +VERSION="3.6" +HOMEPAGE="http://home.gna.org/gmidimonitor/" +DOWNLOAD="http://download.gna.org/gmidimonitor/gmidimonitor-3.6.tar.bz2" +MD5SUM="49733d81529cfaed1f7409cfe67b0398" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Michales Michaloudes" +EMAIL="korgie@gmail.com" diff --git a/multimedia/gmidimonitor/slack-desc b/multimedia/gmidimonitor/slack-desc new file mode 100644 index 0000000000..c941fef795 --- /dev/null +++ b/multimedia/gmidimonitor/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +gmidimonitor: gmidimonitor (shows MIDI events) +gmidimonitor: +gmidimonitor: GMIDImonitor is GTK+ application that shows MIDI events via alsa +gmidimonitor: or jack +gmidimonitor: +gmidimonitor: +gmidimonitor: +gmidimonitor: +gmidimonitor: +gmidimonitor: +gmidimonitor: