diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 15:00:30 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 15:00:30 +0200 |
commit | 8c77ecd2efc6a05eff434109d52e11f9ec53796d (patch) | |
tree | a700019279d2310983737bbd1f343a17e1c39705 /multimedia | |
parent | 555e53d2b112a4abe41de1ab3e8ee2014c8e34bc (diff) |
multimedia/schismtracker: Initial import
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/schismtracker/README | 5 | ||||
-rw-r--r-- | multimedia/schismtracker/doinst.sh | 5 | ||||
-rw-r--r-- | multimedia/schismtracker/schismtracker.SlackBuild | 55 | ||||
-rw-r--r-- | multimedia/schismtracker/schismtracker.desktop | 8 | ||||
-rw-r--r-- | multimedia/schismtracker/schismtracker.info | 8 | ||||
-rw-r--r-- | multimedia/schismtracker/slack-desc | 11 |
6 files changed, 92 insertions, 0 deletions
diff --git a/multimedia/schismtracker/README b/multimedia/schismtracker/README new file mode 100644 index 0000000000000..965a7b53fa8fb --- /dev/null +++ b/multimedia/schismtracker/README @@ -0,0 +1,5 @@ +Schism Tracker is a music editor that aims to match the look +and feel of Impulse Tracker as closely as possible. The player +code is based on Modplug, so it supports a wide variety of +module formats. + diff --git a/multimedia/schismtracker/doinst.sh b/multimedia/schismtracker/doinst.sh new file mode 100644 index 0000000000000..3412314ed0094 --- /dev/null +++ b/multimedia/schismtracker/doinst.sh @@ -0,0 +1,5 @@ + +if [ -x usr/bin/update-desktop-database ]; then + ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1 +fi + diff --git a/multimedia/schismtracker/schismtracker.SlackBuild b/multimedia/schismtracker/schismtracker.SlackBuild new file mode 100644 index 0000000000000..eb185363b46e2 --- /dev/null +++ b/multimedia/schismtracker/schismtracker.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh + +# Slackware build script for Schism Tracker +# Written by Erik Hanson erik@slackbuilds.org + +PRGNAM=schismtracker +VERSION=0.5rc1 +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" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP || exit 1 +rm -rf $PRGNAM-$VERSION +tar xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 +cd $PRGNAM-$VERSION || exit 1 +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + || exit 1 + +make || exit 1 +make install-strip DESTDIR=$PKG || exit 1 + +# Manually copy desktop file and icon +mkdir -p $PKG/usr/share/{applications,pixmaps} +cp $CWD/schismtracker.desktop $PKG/usr/share/applications +cp icons/schism-icon-48.png $PKG/usr/share/pixmaps/schism-icon-48.png + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING* ChangeLog NEWS README helptext/ $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.tgz diff --git a/multimedia/schismtracker/schismtracker.desktop b/multimedia/schismtracker/schismtracker.desktop new file mode 100644 index 0000000000000..07d666d27b3aa --- /dev/null +++ b/multimedia/schismtracker/schismtracker.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Schism Tracker +GenericName=Impulse Tracker Clone +Exec=schismtracker +Icon=/usr/share/pixmaps/schism-icon-48.png +Type=Application +Categories=Application;AudioVideo;AudioVideoEditing diff --git a/multimedia/schismtracker/schismtracker.info b/multimedia/schismtracker/schismtracker.info new file mode 100644 index 0000000000000..2360d6b53d20b --- /dev/null +++ b/multimedia/schismtracker/schismtracker.info @@ -0,0 +1,8 @@ +PRGNAM="schismtracker" +VERSION="0.5rc1" +HOMEPAGE="http://rigelseven.com/schism/" +DOWNLOAD="http://rigelseven.com/schism/dl/schismtracker-0.5rc1.tar.bz2" +MD5SUM="43b6220340f2b19a67e71623a44aa571" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="elohim,robw810" diff --git a/multimedia/schismtracker/slack-desc b/multimedia/schismtracker/slack-desc new file mode 100644 index 0000000000000..44812b51f29cd --- /dev/null +++ b/multimedia/schismtracker/slack-desc @@ -0,0 +1,11 @@ +schismtracker: Schism Tracker - A music tracker/editor. +schismtracker: +schismtracker: Schism Tracker is a music editor that aims to match the look +schismtracker: and feel of Impulse Tracker as closely as possible. The player +schismtracker: code is based on Modplug, so it supports a wide variety of +schismtracker: module formats. +schismtracker: +schismtracker: http://rigelseven.com/schism/ +schismtracker: +schismtracker: +schismtracker: |