diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/audex/README | 5 | ||||
-rw-r--r-- | multimedia/audex/audex.SlackBuild | 85 | ||||
-rw-r--r-- | multimedia/audex/audex.info | 10 | ||||
-rw-r--r-- | multimedia/audex/doinst.sh | 10 | ||||
-rw-r--r-- | multimedia/audex/slack-desc | 19 |
5 files changed, 129 insertions, 0 deletions
diff --git a/multimedia/audex/README b/multimedia/audex/README new file mode 100644 index 0000000000..ea62cac4aa --- /dev/null +++ b/multimedia/audex/README @@ -0,0 +1,5 @@ +Audex is an audio grabber tool for CD-ROM drives based on KDE 4. + +Audex creates profiles for LAME, OGG Vorbis (oggenc), FLAC, +MP4/M4A/AAC (faac) and RIFF WAVE. Please install your favorite +encoder. Of course, for WAVE, no external encoder is needed! diff --git a/multimedia/audex/audex.SlackBuild b/multimedia/audex/audex.SlackBuild new file mode 100644 index 0000000000..cdb07d0ad7 --- /dev/null +++ b/multimedia/audex/audex.SlackBuild @@ -0,0 +1,85 @@ +#!/bin/sh +# +# Slackware build script for audex (http://opensource.maniatek.com/audex) +# +# Copyright 2009 Corrado Franco (http://conraid.net) +# 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. + +PRGNAM=${PRGNAM:-audex} +VERSION=${VERSION:-0.72b1} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +DOCS="$PKG/usr/doc/$PRGNAM-$VERSION" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG +cd $TMP +rm -rf $PRGNAM +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_LD_FLAGS:STRING="-L/usr/lib${LIBDIRSUFFIX}" \ + -DCMAKE_BUILD_TYPE=none \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + .. + make + make DESTDIR=$PKG install/strip +cd .. + +mkdir -p ${DOCS} +cp CHANGELOG LICENCE README TODO $DOCS +cat $CWD/$PRGNAM.SlackBuild > $DOCS/$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/multimedia/audex/audex.info b/multimedia/audex/audex.info new file mode 100644 index 0000000000..c3535cb5db --- /dev/null +++ b/multimedia/audex/audex.info @@ -0,0 +1,10 @@ +PRGNAM="audex" +VERSION="0.72b1" +HOMEPAGE="http://opensource.maniatek.com/audex/" +DOWNLOAD="http://opensource.maniatek.com/audex/files/audex-0.72b1.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="1953587ebc8e08f5de1eb782ecf92788" +MD5SUM_x86_64="" +MAINTAINER="Corrado Franco" +EMAIL="conraid@gmail.com" +APPROVED="dsomero" diff --git a/multimedia/audex/doinst.sh b/multimedia/audex/doinst.sh new file mode 100644 index 0000000000..1f8ff67ded --- /dev/null +++ b/multimedia/audex/doinst.sh @@ -0,0 +1,10 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + diff --git a/multimedia/audex/slack-desc b/multimedia/audex/slack-desc new file mode 100644 index 0000000000..3846dfc957 --- /dev/null +++ b/multimedia/audex/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------------------------------------------------------| +audex: audex (audo grabber for KDE4) +audex: +audex: Audex is an audio grabber tool for CD-ROM drives based on KDE 4. +audex: Audex creates profiles for LAME, OGG Vorbis (oggenc), FLAC, +audex: MP4/M4A/AAC (faac) and RIFF WAVE. Please install your favorite +audex: encoder. Of course for WAVE no external encoder is needed! +audex: Beyond you can define custom profile, which means, that audex works +audex: together with commmand line encoders in general. +audex: +audex: Homepage: http://opensource.maniatek.com/audex/ +audex: |