From 152ff5ff7235db7921c4c03fdda583ab18466cd1 Mon Sep 17 00:00:00 2001 From: "Elvio Basello (HelLViS69)" Date: Fri, 4 Nov 2011 16:19:17 -0200 Subject: [PATCH] audio/mixxx: Updated for version 1.9.0. Signed-off-by: Niels Horn --- audio/mixxx/README | 2 +- audio/mixxx/doinst.sh | 3 +++ audio/mixxx/mixxx.SlackBuild | 12 ++++++------ audio/mixxx/mixxx.info | 8 ++++---- audio/mixxx/slack-desc | 2 +- 5 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 audio/mixxx/doinst.sh diff --git a/audio/mixxx/README b/audio/mixxx/README index 66d2bced44..6bfd120768 100644 --- a/audio/mixxx/README +++ b/audio/mixxx/README @@ -6,4 +6,4 @@ wave recording, BPM detection, multichannel and multiple soundcard support, MIDI controllers support and scripting engine, a skinnable interface -This requires scons, ladspa-sdk, portaudio, and portmidi. +This requires scons, ladspa-sdk, portaudio, portmidi and libshout. diff --git a/audio/mixxx/doinst.sh b/audio/mixxx/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/audio/mixxx/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 2>&1 +fi diff --git a/audio/mixxx/mixxx.SlackBuild b/audio/mixxx/mixxx.SlackBuild index 87bb03cdfb..da31ce86d8 100644 --- a/audio/mixxx/mixxx.SlackBuild +++ b/audio/mixxx/mixxx.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mixxx -# Copyright 2009 Elvio "HelLViS69" Basello +# Copyright 2011 Elvio "HelLViS69" Basello # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mixxx -VERSION=${VERSION:-1.8.2} +VERSION=${VERSION:-1.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -61,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION~release-1.9.x~bzr2720 tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM-$VERSION~release-1.9.x~bzr2720 chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -74,6 +72,7 @@ find . \ # Fix the desktop file patch -p0 < $CWD/desktop.diff +CFLAGS="$SLKCFLAGS" \ QTDIR=/usr/lib$LIBDIRSUFFIX/qt \ scons \ prefix=/usr @@ -92,6 +91,7 @@ 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.${PKGTYPE:-tgz} diff --git a/audio/mixxx/mixxx.info b/audio/mixxx/mixxx.info index 7a3125cb89..dc54f2a186 100644 --- a/audio/mixxx/mixxx.info +++ b/audio/mixxx/mixxx.info @@ -1,10 +1,10 @@ PRGNAM="mixxx" -VERSION="1.8.2" +VERSION="1.9.0" HOMEPAGE="http://www.mixxx.org" -DOWNLOAD="http://downloads.mixxx.org/mixxx-1.8.2/mixxx-1.8.2-src.tar.gz" -MD5SUM="f0297f4493d4d8e6ad59f72970bad7bc" +DOWNLOAD="http://downloads.mixxx.org/mixxx-1.9.0/mixxx-1.9.0-src.tar.gz" +MD5SUM="ea78fc81922e6c7d85d6afffd2e526b1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Elvio Basello (HelLViS69)" EMAIL="hellvis69@slackware.it" -APPROVED="rworkman" +APPROVED="Niels Horn" diff --git a/audio/mixxx/slack-desc b/audio/mixxx/slack-desc index 42058f0472..3d5a44b95c 100644 --- a/audio/mixxx/slack-desc +++ b/audio/mixxx/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler-------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| mixxx: Mixxx (open source DJ software for performing live mixes) mixxx: mixxx: Mixxx is been created for DJs, by DJs. It has numerous features