diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/rosegarden/README | 11 | ||||
-rw-r--r-- | multimedia/rosegarden/doinst.sh | 11 | ||||
-rw-r--r-- | multimedia/rosegarden/rosegarden.SlackBuild | 89 | ||||
-rw-r--r-- | multimedia/rosegarden/rosegarden.info | 8 | ||||
-rw-r--r-- | multimedia/rosegarden/slack-desc | 12 |
5 files changed, 131 insertions, 0 deletions
diff --git a/multimedia/rosegarden/README b/multimedia/rosegarden/README new file mode 100644 index 0000000000000..c96e4878b4527 --- /dev/null +++ b/multimedia/rosegarden/README @@ -0,0 +1,11 @@ +Rosegarden is an attractive, user-friendly MIDI and audio sequencer, +notation editor, and general-purpose music composition and editing +application for Unix and Linux. + +The only documented hard dependency of Rosegarden is fftw, so it *must* +be installed. Jack-audio-connection-kit is documented as an optional +dependency, but testing here indicates that it must also be installed. +liblo, liblrdf, and ladspa are optional dependencies; they will be used +if they are available at build time. LIRC is another optional dependency; +if you want lirc-support, you will have to pass LIRC=yes to the script. +All dependencies (required and optional) are available at SlackBuilds.org. diff --git a/multimedia/rosegarden/doinst.sh b/multimedia/rosegarden/doinst.sh new file mode 100644 index 0000000000000..d93a90ac70081 --- /dev/null +++ b/multimedia/rosegarden/doinst.sh @@ -0,0 +1,11 @@ + +( if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database -q usr/share/applications + fi +) + +( if [ -x usr/bin/update-mime-database ]; then + usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 + fi +) + diff --git a/multimedia/rosegarden/rosegarden.SlackBuild b/multimedia/rosegarden/rosegarden.SlackBuild new file mode 100644 index 0000000000000..75cdd92878562 --- /dev/null +++ b/multimedia/rosegarden/rosegarden.SlackBuild @@ -0,0 +1,89 @@ +#!/bin/sh + +# Slackware build script for rosegarden + +# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Modified by Robby Workman <rworkman@slackbuilds.org> +# No additional license terms :-) + +PRGNAM=rosegarden +VERSION=1.6.1 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +# Pass LIRC=yes on command line when running this script if you +# want to build with lirc-support +LIRC=${LIRC:-no} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +if [ "$LIRC" = 'yes' ]; then + LIRCOPT='On' +else + LIRCOPT='Off' +fi + +set -e + +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 . + +cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWANT_LIRC=$LIRCOPT + +make +make install DESTDIR=$PKG + +( 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 +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING INSTALL README TRANSLATORS $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/rosegarden/rosegarden.info b/multimedia/rosegarden/rosegarden.info new file mode 100644 index 0000000000000..19b0959a21683 --- /dev/null +++ b/multimedia/rosegarden/rosegarden.info @@ -0,0 +1,8 @@ +PRGNAM="rosegarden" +VERSION="1.6.1" +HOMEPAGE="http://www.rosegardenmusic.com" +DOWNLOAD="http://downloads.sourceforge.net/rosegarden/rosegarden-1.6.1.tar.bz2" +MD5SUM="60efd0d0afcb3632d8188ef25082bcf9" +MAINTAINER="ppr:kut" +EMAIL="HMWiesinger@gmx.at" +APPROVED="rworkman" diff --git a/multimedia/rosegarden/slack-desc b/multimedia/rosegarden/slack-desc new file mode 100644 index 0000000000000..9e615b6e496e3 --- /dev/null +++ b/multimedia/rosegarden/slack-desc @@ -0,0 +1,12 @@ + |-----handy-ruler------------------------------------------------| +rosegarden: rosegarden (Midi / Audio / Notation-Editor) +rosegarden: +rosegarden: Rosegarden is an attractive, user-friendly MIDI and audio +rosegarden: sequencer, notation editor, and general-purpose music +rosegarden: composition and editing application for Unix and Linux. +rosegarden: +rosegarden: Homepage: http://www.rosegardenmusic.com +rosegarden: +rosegarden: +rosegarden: +rosegarden: |