diff options
author | hackedhead <slackbuilds at hackedhead dot fastmail dot net> | 2010-05-12 23:27:59 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:27:59 +0200 |
commit | 4616771410e987d6223d7666b79321e05432724f (patch) | |
tree | 5949c06bc786d25315b56785aaada7b8985d1dec | |
parent | 0fe69cd711d6fc52141a2bb95911431b8aedbd1c (diff) | |
download | slackbuilds-4616771410e987d6223d7666b79321e05432724f.tar.gz |
audio/lmms: Added to 12.2 repository
-rw-r--r-- | audio/lmms/README | 8 | ||||
-rw-r--r-- | audio/lmms/lmms.SlackBuild | 59 | ||||
-rw-r--r-- | audio/lmms/lmms.info | 8 | ||||
-rw-r--r-- | audio/lmms/slack-desc | 19 |
4 files changed, 94 insertions, 0 deletions
diff --git a/audio/lmms/README b/audio/lmms/README new file mode 100644 index 0000000000..17175b1fe1 --- /dev/null +++ b/audio/lmms/README @@ -0,0 +1,8 @@ +LMMS is a free cross-platform alternative to commercial programs like +FL Studio (r) which allow you to produce music with your computer. +This includes the creation of melodies and beats, the synthesis and +mixing of sounds, and arranging of samples. You can have fun with +your MIDI-keyboard and much more; all in a user-friendly and modern +interface. + +This requires qt4, libsndfile, libsamplerate, fluidsynth, and fftw. diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild new file mode 100644 index 0000000000..b517abb7e2 --- /dev/null +++ b/audio/lmms/lmms.SlackBuild @@ -0,0 +1,59 @@ +#!/bin/sh +# +# SlackBuild for Linux MultiMedia Studio +# Written by hackedhead (Andrew Lindberg) <alindberg at fastmail dot net> + +PRGNAM=lmms +VERSION=${VERSION:-0.4.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" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT + +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +mkdir -p $PRGNAM-$VERSION/build +cd $PRGNAM-$VERSION/build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. + make VERBOSE=1 + make VERBOSE=1 DESTDIR=$PKG install +cd .. + +# Move man page(s) to the right place +mv $PKG/usr/share/man $PKG/usr + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING ChangeLog INSTALL README TODO \ + $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 + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/audio/lmms/lmms.info b/audio/lmms/lmms.info new file mode 100644 index 0000000000..2297d0b873 --- /dev/null +++ b/audio/lmms/lmms.info @@ -0,0 +1,8 @@ +PRGNAM="lmms" +VERSION="0.4.2" +HOMEPAGE="http://lmms.sourceforge.net" +DOWNLOAD="http://downloads.sourceforge.net/lmms/lmms-0.4.2.tar.bz2" +MD5SUM="de3a46e1c9127b1de5a3a23bfa359cd9" +MAINTAINER="hackedhead" +EMAIL="slackbuilds at hackedhead dot fastmail dot net" +APPROVED="rworkman" diff --git a/audio/lmms/slack-desc b/audio/lmms/slack-desc new file mode 100644 index 0000000000..f5ffea5cfe --- /dev/null +++ b/audio/lmms/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------------------------------------------------------| +lmms: lmms (Linux MultiMedia Studio) +lmms: +lmms: LMMS is a free cross-platform alternative to commercial programs like +lmms: FL Studio (r) which allow you to produce music with your computer. +lmms: This includes the creation of melodies and beats, the synthesis and +lmms: mixing of sounds, and arranging of samples. You can have fun with +lmms: your MIDI-keyboard and much more; all in a user-friendly and modern +lmms: interface. +lmms: +lmms: http://lmms.sourceforge.net/ +lmms: |