From 02de713278984be065f347af2712ddb15d19c2e2 Mon Sep 17 00:00:00 2001 From: Michales Michaloudes Date: Thu, 13 May 2010 00:57:24 +0200 Subject: [PATCH] audio/SimpleSysexxer: Added to 13.0 repository --- audio/SimpleSysexxer/README | 2 + .../SimpleSysexxer/SimpleSysexxer.SlackBuild | 74 +++++++++++++++++++ audio/SimpleSysexxer/SimpleSysexxer.info | 10 +++ audio/SimpleSysexxer/doinst.sh | 14 ++++ audio/SimpleSysexxer/simplesysexxer.desktop | 11 +++ audio/SimpleSysexxer/slack-desc | 19 +++++ 6 files changed, 130 insertions(+) create mode 100644 audio/SimpleSysexxer/README create mode 100644 audio/SimpleSysexxer/SimpleSysexxer.SlackBuild create mode 100644 audio/SimpleSysexxer/SimpleSysexxer.info create mode 100644 audio/SimpleSysexxer/doinst.sh create mode 100644 audio/SimpleSysexxer/simplesysexxer.desktop create mode 100644 audio/SimpleSysexxer/slack-desc diff --git a/audio/SimpleSysexxer/README b/audio/SimpleSysexxer/README new file mode 100644 index 0000000000..26d8d0a065 --- /dev/null +++ b/audio/SimpleSysexxer/README @@ -0,0 +1,2 @@ +Simple Sysexxer is a GUI tool to create backups of the memory contents of your +MIDI devices. diff --git a/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild b/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild new file mode 100644 index 0000000000..75a115c28f --- /dev/null +++ b/audio/SimpleSysexxer/SimpleSysexxer.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh +# Slackware build script for +# Written by Michales Michaloudes korgie@gmail.com +# +# TODO: I don't know how to handle it: +# simplesysexxer-0.2/binincludes/translations/ +# TODO: 64 bit + +PRGNAM=SimpleSysexxer +VERSION=${VERSION:-0.2} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +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" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +sed -i "s%-O0 -g3%$SLKCFLAGS%" $PRGNAM.pro +qmake $PRGNAM.pro +make + +# Copy executable +mkdir -p $PKG/usr/bin +install -m 0755 bin/simplesysexxer $PKG/usr/bin + +# INSTALL_ROOT for .desktop file and icons +make install DESTDIR=$PKG INSTALL_ROOT=$PKG + +# Use an edited version of the installed desktop file (make it more +# standards-compliant, add categories, etcetera) +cat $CWD/simplesysexxer.desktop > \ + $PKG/usr/share/applications/simplesysexxer.desktop + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a GPL-2 BUILDING CHANGELOG COPYRIGHT CREDITS $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/audio/SimpleSysexxer/SimpleSysexxer.info b/audio/SimpleSysexxer/SimpleSysexxer.info new file mode 100644 index 0000000000..6cd2f0535d --- /dev/null +++ b/audio/SimpleSysexxer/SimpleSysexxer.info @@ -0,0 +1,10 @@ +PRGNAM="SimpleSysexxer" +VERSION="0.2" +HOMEPAGE="http://www.christeck.de/wp/?page_id=24" +DOWNLOAD="http://sourceforge.net/projects/sysexxer/files/sysexxer/SimpleSysexxer-0.2/SimpleSysexxer-0.2.tar.gz/download" +MD5SUM="5b5d0d6d956846cc7a366f18009502c2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Michales Michaloudes" +EMAIL="korgie@gmail.com" +APPROVED="rworkman" diff --git a/audio/SimpleSysexxer/doinst.sh b/audio/SimpleSysexxer/doinst.sh new file mode 100644 index 0000000000..9830478e8c --- /dev/null +++ b/audio/SimpleSysexxer/doinst.sh @@ -0,0 +1,14 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/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/audio/SimpleSysexxer/simplesysexxer.desktop b/audio/SimpleSysexxer/simplesysexxer.desktop new file mode 100644 index 0000000000..821d7b88cf --- /dev/null +++ b/audio/SimpleSysexxer/simplesysexxer.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Simple Sysexxer +Name[de]=Simple Sysexxer +Exec=simplesysexxer %i -caption "%c" +Icon=simplesysexxer +Type=Application +MimeType=audio/x-sysex; +Comment=A tool to send and receive MIDI SysEx data +Comment[de]=Ein Hilfsprogramm, um SysEx-Daten mit MIDI-Geräten auszutauschen +Terminal=false +Categories=KDE;Qt;Audio;AudioVideo; diff --git a/audio/SimpleSysexxer/slack-desc b/audio/SimpleSysexxer/slack-desc new file mode 100644 index 0000000000..4299ee4b82 --- /dev/null +++ b/audio/SimpleSysexxer/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------------------------------------------------------| +SimpleSysexxer: SimpleSysexxer (gui tool for midi device backup) +SimpleSysexxer: +SimpleSysexxer: Simple Sysexxer is a GUI tool to create backups of the memory +SimpleSysexxer: contents of your MIDI devices. +SimpleSysexxer: +SimpleSysexxer: +SimpleSysexxer: +SimpleSysexxer: +SimpleSysexxer: +SimpleSysexxer: +SimpleSysexxer: