multimedia/rosegarden: Added to 12.0 repository

This commit is contained in:
Heinz Wiesinger 2010-05-11 20:01:24 +02:00 committed by Robby Workman
parent 3ac2202d56
commit 6c75aff15f
5 changed files with 131 additions and 0 deletions

View file

@ -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.

View file

@ -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
)

View file

@ -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

View file

@ -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"

View file

@ -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: