diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:54 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2010-05-11 20:30:54 +0200 |
commit | 4be845bf18a1cec9e704a0eb8906c9e58478cd1d (patch) | |
tree | bc142b9ea38d0897e03dd4236660eca4da1cc259 /audio | |
parent | 70911799acb6e536a65f0013830cfe41277923ce (diff) |
audio/schismtracker: Moved from multimedia
Diffstat (limited to 'audio')
-rw-r--r-- | audio/schismtracker/README | 4 | ||||
-rw-r--r-- | audio/schismtracker/doinst.sh | 3 | ||||
-rw-r--r-- | audio/schismtracker/schismtracker.SlackBuild | 55 | ||||
-rw-r--r-- | audio/schismtracker/schismtracker.desktop | 7 | ||||
-rw-r--r-- | audio/schismtracker/schismtracker.info | 8 | ||||
-rw-r--r-- | audio/schismtracker/slack-desc | 19 |
6 files changed, 96 insertions, 0 deletions
diff --git a/audio/schismtracker/README b/audio/schismtracker/README new file mode 100644 index 0000000000000..6d38e96c9d7ee --- /dev/null +++ b/audio/schismtracker/README @@ -0,0 +1,4 @@ +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/audio/schismtracker/doinst.sh b/audio/schismtracker/doinst.sh new file mode 100644 index 0000000000000..3857649f506a8 --- /dev/null +++ b/audio/schismtracker/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 +fi diff --git a/audio/schismtracker/schismtracker.SlackBuild b/audio/schismtracker/schismtracker.SlackBuild new file mode 100644 index 0000000000000..867b408f3efe9 --- /dev/null +++ b/audio/schismtracker/schismtracker.SlackBuild @@ -0,0 +1,55 @@ +#!/bin/sh -eu + +# Slackware build script for Schism Tracker +# Written by Erik Hanson erik@slackbuilds.org + +PRGNAM=schismtracker +VERSION=git20081102 +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 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + +make +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/audio/schismtracker/schismtracker.desktop b/audio/schismtracker/schismtracker.desktop new file mode 100644 index 0000000000000..58044c6aff5f2 --- /dev/null +++ b/audio/schismtracker/schismtracker.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Schism Tracker +GenericName=Impulse Tracker Clone +Exec=schismtracker +Icon=/usr/share/pixmaps/schism-icon-48.png +Type=Application +Categories=AudioVideo;AudioVideoEditing; diff --git a/audio/schismtracker/schismtracker.info b/audio/schismtracker/schismtracker.info new file mode 100644 index 0000000000000..4a0a15cc2ff58 --- /dev/null +++ b/audio/schismtracker/schismtracker.info @@ -0,0 +1,8 @@ +PRGNAM="schismtracker" +VERSION="git20081102" +HOMEPAGE="http://rigelseven.com/schism/" +DOWNLOAD="http://slackbuilds.org/sources/12.1/schismtracker-git20081102.tar.bz2" +MD5SUM="2acf2a9067e509e193a443ca1fceda9a" +MAINTAINER="Erik Hanson" +EMAIL="erik@slackbuilds.org" +APPROVED="dsomero" diff --git a/audio/schismtracker/slack-desc b/audio/schismtracker/slack-desc new file mode 100644 index 0000000000000..150bdb5cb3f48 --- /dev/null +++ b/audio/schismtracker/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------------------------------------------------------| +schismtracker: Schism Tracker (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: |