summaryrefslogtreecommitdiff
path: root/multimedia/dsmidiwifi
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2012-04-20 16:14:04 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-04-20 16:14:04 -0400
commit274abc9d3f169f124a2d8869e1873848d0afef7f (patch)
tree20cdd33417ae778f512ea7142aab156729cd899c /multimedia/dsmidiwifi
parent9a9079626150d024a3ce5559a784a2a1fe91f8e5 (diff)
downloadslackbuilds-274abc9d3f169f124a2d8869e1873848d0afef7f.tar.gz
multimedia/dsmidiwifi: Added (Music Interface for Mobile devices)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/dsmidiwifi')
-rw-r--r--multimedia/dsmidiwifi/README7
-rw-r--r--multimedia/dsmidiwifi/doinst.sh3
-rw-r--r--multimedia/dsmidiwifi/dsmidiwifi.SlackBuild80
-rw-r--r--multimedia/dsmidiwifi/dsmidiwifi.desktop8
-rw-r--r--multimedia/dsmidiwifi/dsmidiwifi.info10
-rw-r--r--multimedia/dsmidiwifi/dsmidiwifi_32.xpm141
-rw-r--r--multimedia/dsmidiwifi/slack-desc19
7 files changed, 268 insertions, 0 deletions
diff --git a/multimedia/dsmidiwifi/README b/multimedia/dsmidiwifi/README
new file mode 100644
index 0000000000..a1f82cea5d
--- /dev/null
+++ b/multimedia/dsmidiwifi/README
@@ -0,0 +1,7 @@
+An application that runs on the computer and forwards the MIDI messages received
+via Wifi to MIDI applications.
+
+Mini howto: Start jack and dsmidiwifi. Then start a (dsmi) wifimidi program on
+another network device (like midimonitor on iPad)
+
+Optional runtime (for easy routing of dsmidiwifi): jack, qjackctl
diff --git a/multimedia/dsmidiwifi/doinst.sh b/multimedia/dsmidiwifi/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/multimedia/dsmidiwifi/doinst.sh
@@ -0,0 +1,3 @@
+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/dsmidiwifi/dsmidiwifi.SlackBuild b/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild
new file mode 100644
index 0000000000..138b95ea69
--- /dev/null
+++ b/multimedia/dsmidiwifi/dsmidiwifi.SlackBuild
@@ -0,0 +1,80 @@
+#!/bin/sh
+# Slackware build script for <dsmidiwifi>
+#
+# Michales - clavisound - Michaloudes korgie@gmail.com <2012>
+
+PRGNAM=dsmidiwifi
+VERSION=${VERSION:-1.01}
+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-v$VERSION.tgz
+mv $PRGNAM-v$VERSION $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION/source
+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" \
+qmake
+make
+
+# manual cp the files and canonicalize
+mkdir -p $PKG/usr/bin
+cp -p DSMIDIWiFi $PKG/usr/bin/dsmidiwifi
+
+# cp KDE desktop icon
+mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/share/$PRGNAM
+convert images/midiwifiico32.png $PKG/usr/share/$PRGNAM/${PRGNAM}_32.xpm
+cp $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
+
+mkdir -p $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/dsmidiwifi/dsmidiwifi.desktop b/multimedia/dsmidiwifi/dsmidiwifi.desktop
new file mode 100644
index 0000000000..5c59af2f78
--- /dev/null
+++ b/multimedia/dsmidiwifi/dsmidiwifi.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Exec=dsmidiwifi
+Icon=/usr/share/dsmidiwifi/dsmidiwifi_32.xpm
+Name=DSMidiWiFi
+GenericName=Wifi MIDI (dsmi server)
+StartupNotify=true
+Type=Application
+Categories=AudioVideo;
diff --git a/multimedia/dsmidiwifi/dsmidiwifi.info b/multimedia/dsmidiwifi/dsmidiwifi.info
new file mode 100644
index 0000000000..2d17f90f87
--- /dev/null
+++ b/multimedia/dsmidiwifi/dsmidiwifi.info
@@ -0,0 +1,10 @@
+PRGNAM="dsmidiwifi"
+VERSION="1.01"
+HOMEPAGE="http://dsmi.tobw.net"
+DOWNLOAD="http://dsmi.googlecode.com/files/dsmidiwifi-v1.01.tgz"
+MD5SUM="e45703b1a37602d6326916d2ce1b404c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Michales Michaloudes"
+EMAIL="korgie@gmail.com"
+APPROVED="dsomero"
diff --git a/multimedia/dsmidiwifi/dsmidiwifi_32.xpm b/multimedia/dsmidiwifi/dsmidiwifi_32.xpm
new file mode 100644
index 0000000000..7f4486b3a8
--- /dev/null
+++ b/multimedia/dsmidiwifi/dsmidiwifi_32.xpm
@@ -0,0 +1,141 @@
+/* XPM */
+static char *dsmidiwifi_32[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 103 2 ",
+" c #050301",
+". c #080500",
+"X c #0D0800",
+"o c #110A00",
+"O c #150D00",
+"+ c #180F00",
+"@ c #100F0C",
+"# c #1B1100",
+"$ c #211400",
+"% c #2A1600",
+"& c #281800",
+"* c #301D00",
+"= c #261E11",
+"- c #352000",
+"; c #382200",
+": c #3F2700",
+"> c #2B2214",
+", c #412800",
+"< c #492D00",
+"1 c #4E3102",
+"2 c #503100",
+"3 c #5B3900",
+"4 c #573E18",
+"5 c #603900",
+"6 c #653F00",
+"7 c #6C3800",
+"8 c #5D441C",
+"9 c #684000",
+"0 c #744200",
+"q c #784700",
+"w c #754800",
+"e c #7A4900",
+"r c #7E7364",
+"t c #814F00",
+"y c #815000",
+"u c #885300",
+"i c #925900",
+"p c #995E00",
+"a c #9F6100",
+"s c #A16200",
+"d c #AB6300",
+"f c #AB6900",
+"g c #B36800",
+"h c #B36E00",
+"j c #BC7100",
+"k c #996F2D",
+"l c #826230",
+"z c #C47200",
+"x c #C17600",
+"c c #C47800",
+"v c #C87800",
+"b c #CD7E00",
+"n c #D07F00",
+"m c #9F7B44",
+"M c #B1833A",
+"N c #D28000",
+"B c #D88400",
+"V c #DB8600",
+"C c #C0801E",
+"Z c #E08900",
+"A c #E98F00",
+"S c #F18A00",
+"D c #EC9000",
+"F c #F09200",
+"G c #FF9000",
+"H c #F79800",
+"J c #F89800",
+"K c #FF9F00",
+"L c #F1950A",
+"P c #FE9F0F",
+"I c #F8A31F",
+"U c #C78C2E",
+"Y c #EDA83A",
+"T c #A28352",
+"R c #8E8577",
+"E c #BE9C67",
+"W c #C99645",
+"Q c #FFBD52",
+"! c #FBBE5F",
+"~ c #C5A87C",
+"^ c #EAB362",
+"/ c #EAC07E",
+"( c #FCC876",
+") c #FBC77A",
+"_ c #B9A687",
+"` c #B1A796",
+"' c #CAB38B",
+"] c #C9B492",
+"[ c #C4B49C",
+"{ c #FBD190",
+"} c #D2CABD",
+"| c #D0C9BE",
+" . c #FBDAA8",
+".. c #F0D7B0",
+"X. c #FCE2B7",
+"o. c #D4D1CC",
+"O. c #FDE8C5",
+"+. c #FEE8C6",
+"@. c #E6E4E1",
+"#. c #F8F2E7",
+"$. c #EDEFF2",
+"%. c #F8FDFF",
+"&. c None",
+/* pixels */
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.& 3 u f c n N U j a e 2 & &.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.; u N J J K J J J J O.Y S J J J N u ; &.&.&.&.&.&.&.",
+"&.&.&.X 9 v J J K J K J K K K J O.#.^ I J K J K J c 3 &.&.&.&.&.",
+"&.&.2 V J K K J K J K J J K J J X.%.%.%. .L J K J K J v , &.&.&.",
+"&.y J K J K J K K J K K K J K J X.@.l [ %...A J J K J K J u . &.",
+"3 J K J K K J K J K J F N f p t ' $.2 7 E %.W A K J K K J J f . ",
+"f J K J K J K J F h 5 * o . . &.r %.@ o % ` ~ z J J K J K K K y ",
+"i J K K J K D a , - 2 t s c N n / %.8 < - & > 1 N K K J K J J g ",
+"o s Z Z c u , , i V J K J J K G ( %.k n J v 5 # . 3 b J K J K h ",
+"&.&.X X &.&.9 D K K J K J J J G ! %.m x J K J V , &.X 3 h Z N 2 ",
+"&.&.&.&.&.- F J K J K J K Q { ) { %.T g J J K K K 6 &.&.&.X &.&.",
+"&.&.&.&.&.i J K J K J P X.%.%.%.%.%.T d J K J K J F & &.&.&.&.&.",
+"&.&.&.&.&.p J K J K J Q %.%.%.%.%.%._ d J J K J K J e &.&.&.&.&.",
+"&.&.&.&.&.; Z K J J v M %.%.%.%.%.%.R q J K K J K K 9 &.&.&.&.&.",
+"&.&.&.&.&.&.# , , * &. o.%.%.%.%.@.= + $ y v D D s o &.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.7 j ] | | ` 4 5 e X &.&.o # &.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.3 K L f e 7 3 q g F g &.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.c K H L V c c V H J K : &.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.j J K K J J J K J K J 1 &.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&., Z J K K K K K J K v o &.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.# 3 y i p s f s 0 O &.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.o &.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.# g Z i . &.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.y J J K 2 &.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.f J K J w &.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.1 F K V $ &.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.& 2 # &.&.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.",
+"&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&.&."
+};
diff --git a/multimedia/dsmidiwifi/slack-desc b/multimedia/dsmidiwifi/slack-desc
new file mode 100644
index 0000000000..72ae4b83e2
--- /dev/null
+++ b/multimedia/dsmidiwifi/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------------------------------------------------------|
+dsmidiwifi: dsmidiwifi (Music Interface for Mobile Interfaces)
+dsmidiwifi:
+dsmidiwifi: An application that runs on the computer and forwards the MIDI
+dsmidiwifi: messages received via Wifi to MIDI applications.
+dsmidiwifi:
+dsmidiwifi:
+dsmidiwifi:
+dsmidiwifi:
+dsmidiwifi:
+dsmidiwifi:
+dsmidiwifi: