mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/SimpleSysexxer: Added to 13.0 repository
This commit is contained in:
parent
a6c8e94ae1
commit
02de713278
6 changed files with 130 additions and 0 deletions
2
audio/SimpleSysexxer/README
Normal file
2
audio/SimpleSysexxer/README
Normal file
|
@ -0,0 +1,2 @@
|
|||
Simple Sysexxer is a GUI tool to create backups of the memory contents of your
|
||||
MIDI devices.
|
74
audio/SimpleSysexxer/SimpleSysexxer.SlackBuild
Normal file
74
audio/SimpleSysexxer/SimpleSysexxer.SlackBuild
Normal file
|
@ -0,0 +1,74 @@
|
|||
#!/bin/sh
|
||||
# Slackware build script for <simplesysexxer>
|
||||
# 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}
|
10
audio/SimpleSysexxer/SimpleSysexxer.info
Normal file
10
audio/SimpleSysexxer/SimpleSysexxer.info
Normal file
|
@ -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"
|
14
audio/SimpleSysexxer/doinst.sh
Normal file
14
audio/SimpleSysexxer/doinst.sh
Normal file
|
@ -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
|
||||
|
11
audio/SimpleSysexxer/simplesysexxer.desktop
Normal file
11
audio/SimpleSysexxer/simplesysexxer.desktop
Normal file
|
@ -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;
|
19
audio/SimpleSysexxer/slack-desc
Normal file
19
audio/SimpleSysexxer/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue