diff options
Diffstat (limited to 'multimedia')
52 files changed, 52 insertions, 105 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild index 09e0d74482b43..d145d71ec356a 100644 --- a/multimedia/HandBrake/HandBrake.SlackBuild +++ b/multimedia/HandBrake/HandBrake.SlackBuild @@ -56,7 +56,7 @@ cd build # Fix underlinking by configuring the gtk module first, then sed: make gtk.configure sed -i '/^LDFLAGS/s/$/ -ltheoraenc -ltheoradec/' gtk/src/Makefile - make + make make install DESTDIR=$PKG cd $TMP/$PRGNAM-$VERSION diff --git a/multimedia/JSampler/JSampler.SlackBuild b/multimedia/JSampler/JSampler.SlackBuild index 2617acf98e7d3..e9e4a977aa6e6 100644 --- a/multimedia/JSampler/JSampler.SlackBuild +++ b/multimedia/JSampler/JSampler.SlackBuild @@ -20,7 +20,6 @@ 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 diff --git a/multimedia/a2jmidid/a2jmidid.SlackBuild b/multimedia/a2jmidid/a2jmidid.SlackBuild index ec58fed866dac..d8069b0505058 100644 --- a/multimedia/a2jmidid/a2jmidid.SlackBuild +++ b/multimedia/a2jmidid/a2jmidid.SlackBuild @@ -14,7 +14,7 @@ if [ -z "$ARCH" ]; then esac fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index 509ddf7c1cc63..49dea8ce4758c 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -154,7 +154,7 @@ if [ -x $PKG/usr/bin/avidemux2_qt4 ]; then else install -m644 avidemux2.desktop $PKG/usr/share/applications/avidemux2.desktop fi -install -m644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png +install -m644 avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png install -m644 avidemux_icon.png \ ${PKG}/usr/share/icons/hicolor/64x64/apps/avidemux.png convert avidemux_icon.png -resize 16x16 \ diff --git a/multimedia/cfourcc/cfourcc.SlackBuild b/multimedia/cfourcc/cfourcc.SlackBuild index aece9b0a53e2a..92fdd768bee6b 100644 --- a/multimedia/cfourcc/cfourcc.SlackBuild +++ b/multimedia/cfourcc/cfourcc.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/clamz/clamz.SlackBuild b/multimedia/clamz/clamz.SlackBuild index c905bc1678242..05ebf9392a689 100644 --- a/multimedia/clamz/clamz.SlackBuild +++ b/multimedia/clamz/clamz.SlackBuild @@ -4,10 +4,10 @@ # Written by Joseph Schofield rootoutcast@hushmail.com -PRGNAM=clamz +PRGNAM=clamz VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -18,7 +18,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -64,7 +64,7 @@ CFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG +make install DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? diff --git a/multimedia/cuetools/cuetools.SlackBuild b/multimedia/cuetools/cuetools.SlackBuild index 2f277380b3799..299dbc1714778 100644 --- a/multimedia/cuetools/cuetools.SlackBuild +++ b/multimedia/cuetools/cuetools.SlackBuild @@ -48,7 +48,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild index e40e6c12fa88c..95d5f973974af 100644 --- a/multimedia/dirac/dirac.SlackBuild +++ b/multimedia/dirac/dirac.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.0.2 BUILD=${BUILD:-3} 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 @@ -58,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvbsnoop/dvbsnoop.SlackBuild b/multimedia/dvbsnoop/dvbsnoop.SlackBuild index 423370a444f32..d62a57410e5f0 100644 --- a/multimedia/dvbsnoop/dvbsnoop.SlackBuild +++ b/multimedia/dvbsnoop/dvbsnoop.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild index f44a359f89439..80c5258ad1f26 100644 --- a/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild +++ b/multimedia/dvd-slideshow/dvd-slideshow.SlackBuild @@ -15,7 +15,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild index a16aed3459fdb..f21ef7e1708aa 100644 --- a/multimedia/dvdbackup/dvdbackup.SlackBuild +++ b/multimedia/dvdbackup/dvdbackup.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.1.1} 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 diff --git a/multimedia/dvdrip/dvdrip.SlackBuild b/multimedia/dvdrip/dvdrip.SlackBuild index d4ab7a4c24933..86d6f916746e2 100644 --- a/multimedia/dvdrip/dvdrip.SlackBuild +++ b/multimedia/dvdrip/dvdrip.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/dvgrab/dvgrab.SlackBuild b/multimedia/dvgrab/dvgrab.SlackBuild index 75073af847a22..d3c4485c2534a 100644 --- a/multimedia/dvgrab/dvgrab.SlackBuild +++ b/multimedia/dvgrab/dvgrab.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-3.5} 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 diff --git a/multimedia/emoc/emoc.SlackBuild b/multimedia/emoc/emoc.SlackBuild index 9ae4b9fb901ed..73558ebb9d53e 100644 --- a/multimedia/emoc/emoc.SlackBuild +++ b/multimedia/emoc/emoc.SlackBuild @@ -4,23 +4,21 @@ # Written by otzy_007 (oz@oprod.net) -PRGNAM=emoc +PRGNAM=emoc VERSION=${VERSION:-0.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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/flowblade/flowblade.SlackBuild b/multimedia/flowblade/flowblade.SlackBuild index 5e3365916b0a7..9d2d849f8c2f1 100644 --- a/multimedia/flowblade/flowblade.SlackBuild +++ b/multimedia/flowblade/flowblade.SlackBuild @@ -42,7 +42,7 @@ fi PYTHONDIR=$(python -c "import sys, os; print os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages')") -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/flvtool2/flvtool2.SlackBuild b/multimedia/flvtool2/flvtool2.SlackBuild index 98076091d09a6..7425a26d4702e 100644 --- a/multimedia/flvtool2/flvtool2.SlackBuild +++ b/multimedia/flvtool2/flvtool2.SlackBuild @@ -6,10 +6,10 @@ # Copyright (c) 2008-2009, Nishant Limbachia, Hoffman Est, IL, USA (nishant@mnspace.net) # All rights reserved. # -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -30,12 +30,10 @@ VERSION=1.0.6 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 @@ -75,7 +73,7 @@ find . \ -exec chmod 644 {} \; ruby setup.rb config -ruby setup.rb setup +ruby setup.rb setup ruby setup.rb install --prefix=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/multimedia/get_iplayer/get_iplayer.SlackBuild b/multimedia/get_iplayer/get_iplayer.SlackBuild index 6a03246fd2d0f..6d043997fc329 100644 --- a/multimedia/get_iplayer/get_iplayer.SlackBuild +++ b/multimedia/get_iplayer/get_iplayer.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for get_iplayer. -# +# # Copyright 2011 Gregory J. L. Tourte <artourter@gmail.com> # Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com> # All rights reserved. diff --git a/multimedia/gigedit/gigedit.SlackBuild b/multimedia/gigedit/gigedit.SlackBuild index 018b8feca05d7..d93db88014550 100644 --- a/multimedia/gigedit/gigedit.SlackBuild +++ b/multimedia/gigedit/gigedit.SlackBuild @@ -8,18 +8,16 @@ VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-2} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/gimp-gap/gimp-gap.SlackBuild b/multimedia/gimp-gap/gimp-gap.SlackBuild index 1eff866cd5dad..35d613e2de508 100644 --- a/multimedia/gimp-gap/gimp-gap.SlackBuild +++ b/multimedia/gimp-gap/gimp-gap.SlackBuild @@ -102,7 +102,7 @@ CXXFLAGS="$SLKCFLAGS" \ LIBS="-lm" # Thanks to Heinz Wiesinger for the patch -# This patch should fix compilation if internal ffmpeg is used +# This patch should fix compilation if internal ffmpeg is used #patch -p0 -i $CWD/patch-ffmpeg-Makefile.diff # Parallel building seems broken diff --git a/multimedia/google-earth/google-earth.SlackBuild b/multimedia/google-earth/google-earth.SlackBuild index 9f38832b6a8d8..294aab792bc9e 100644 --- a/multimedia/google-earth/google-earth.SlackBuild +++ b/multimedia/google-earth/google-earth.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help +# 2013 - A lot of thanks to Willy Sudiarto Raharjo for his input and help # with converting the script to work with googles .deb packages. # Thanks to rworkman for the additional code and script cleanups @@ -40,14 +40,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed as it is just a binary repackaging. -set -e # Exit on most errors. +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $PKG ar p $CWD/google-earth-stable_current_i386.deb data.tar.lzma | lzma -d | tar xv cd $PKG -chown -R root:root . +chown -R root:root . # Fix Google braindeadness (and mine) find . -type d -exec chmod 0755 {} \; find . \ @@ -56,7 +56,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Sadly (by lack of politer word), Google has some inconsistent permissions +# Sadly (by lack of politer word), Google has some inconsistent permissions # for normal files; this should deal with them rather nicely. find . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644 {} \; @@ -79,7 +79,7 @@ mv $PKG/opt/google/earth/free/gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Clean up cruft/unneeded directories.The cron job in /etc is for Debian/Ubuntu only: -rm -rf $PKG/etc +rm -rf $PKG/etc rm -rf $PKG/usr/share/{man,menu,gnome-control-center} mkdir -p $PKG/install diff --git a/multimedia/gpac/gpac.SlackBuild b/multimedia/gpac/gpac.SlackBuild index 72f1e35b909ec..5ec9a4084b6bf 100644 --- a/multimedia/gpac/gpac.SlackBuild +++ b/multimedia/gpac/gpac.SlackBuild @@ -29,12 +29,10 @@ VERSION=${VERSION:-svn_r4878} 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 diff --git a/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild b/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild index c2c8fc3c87d2f..4e27abca6a788 100644 --- a/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild +++ b/multimedia/gst-ffmpeg/gst-ffmpeg.SlackBuild @@ -55,7 +55,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP diff --git a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild index cf319172e72b2..7443523ec8b72 100644 --- a/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild +++ b/multimedia/gst-plugins-bad/gst-plugins-bad.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild index 30ab1efd5c571..80944156d2df5 100644 --- a/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild +++ b/multimedia/gst-plugins-ugly/gst-plugins-ugly.SlackBuild @@ -56,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild index d41410df134f7..039f4defc7570 100644 --- a/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild +++ b/multimedia/gtk-recordmydesktop/gtk-recordmydesktop.SlackBuild @@ -8,18 +8,16 @@ VERSION=${VERSION:-0.3.8} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/iat/iat.SlackBuild b/multimedia/iat/iat.SlackBuild index af77e8e347934..fbcf228ee7dd7 100644 --- a/multimedia/iat/iat.SlackBuild +++ b/multimedia/iat/iat.SlackBuild @@ -8,12 +8,10 @@ VERSION=0.1.7 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 diff --git a/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild index d20161dfdc549..07ef3764a5a5f 100644 --- a/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild +++ b/multimedia/kaffeine-mozilla/kaffeine-mozilla.SlackBuild @@ -28,12 +28,10 @@ VERSION=${VERSION:-0.2} 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 diff --git a/multimedia/kmediafactory/kmediafactory.SlackBuild b/multimedia/kmediafactory/kmediafactory.SlackBuild index 0f35a1e14a672..60539d8c17041 100644 --- a/multimedia/kmediafactory/kmediafactory.SlackBuild +++ b/multimedia/kmediafactory/kmediafactory.SlackBuild @@ -27,7 +27,6 @@ VERSION=${VERSION:-r691} 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 ;; diff --git a/multimedia/linuxsampler/linuxsampler.SlackBuild b/multimedia/linuxsampler/linuxsampler.SlackBuild index e012d1c302eaa..2e0dfd96ce60f 100644 --- a/multimedia/linuxsampler/linuxsampler.SlackBuild +++ b/multimedia/linuxsampler/linuxsampler.SlackBuild @@ -8,18 +8,16 @@ VERSION=${VERSION:-1.0.0} BUILD=${BUILD:-2} 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 CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/lircaile/lircaile.SlackBuild b/multimedia/lircaile/lircaile.SlackBuild index 3d898656c797a..825b54ae17184 100644 --- a/multimedia/lircaile/lircaile.SlackBuild +++ b/multimedia/lircaile/lircaile.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.3.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 diff --git a/multimedia/lsdvd/lsdvd.SlackBuild b/multimedia/lsdvd/lsdvd.SlackBuild index 363fb023a2037..f6c021d2ec57a 100644 --- a/multimedia/lsdvd/lsdvd.SlackBuild +++ b/multimedia/lsdvd/lsdvd.SlackBuild @@ -11,12 +11,10 @@ VERSION=${VERSION:-0.16} 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 diff --git a/multimedia/mozplugger/mozplugger.SlackBuild b/multimedia/mozplugger/mozplugger.SlackBuild index c1a4caa94e43d..a7d19f5e73b75 100644 --- a/multimedia/mozplugger/mozplugger.SlackBuild +++ b/multimedia/mozplugger/mozplugger.SlackBuild @@ -53,7 +53,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild b/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild index dd500f80132eb..b6113ab1a61a1 100644 --- a/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild +++ b/multimedia/mplayer-codecs/mplayer-codecs.SlackBuild @@ -74,7 +74,7 @@ else mkdir -p $PKG/usr/lib/codecs tar xvf $CWD/all-$VERSION.tar.bz2 cp -a all-$VERSION/* $PKG/usr/lib/codecs -fi +fi find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/multimedia/nrg2iso/nrg2iso.SlackBuild b/multimedia/nrg2iso/nrg2iso.SlackBuild index 815b33c5e7782..6d456170875a7 100644 --- a/multimedia/nrg2iso/nrg2iso.SlackBuild +++ b/multimedia/nrg2iso/nrg2iso.SlackBuild @@ -34,12 +34,10 @@ VERSION=${VERSION:-0.4} 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 diff --git a/multimedia/oggvideotools/oggvideotools.SlackBuild b/multimedia/oggvideotools/oggvideotools.SlackBuild index 3fa9eb51d7a69..d284d00cae0d4 100644 --- a/multimedia/oggvideotools/oggvideotools.SlackBuild +++ b/multimedia/oggvideotools/oggvideotools.SlackBuild @@ -85,7 +85,7 @@ cd build -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" + -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" make make DESTDIR=$PKG install/strip cd - diff --git a/multimedia/parole/parole.SlackBuild b/multimedia/parole/parole.SlackBuild index 131ed951c5658..deab9603af3a9 100644 --- a/multimedia/parole/parole.SlackBuild +++ b/multimedia/parole/parole.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=parole +PRGNAM=parole VERSION=${VERSION:-0.3.0.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/multimedia/qsampler/qsampler.SlackBuild b/multimedia/qsampler/qsampler.SlackBuild index f42052d6b758a..2f67df2ad5952 100644 --- a/multimedia/qsampler/qsampler.SlackBuild +++ b/multimedia/qsampler/qsampler.SlackBuild @@ -16,7 +16,7 @@ if [ -z "$ARCH" ]; then fi CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} +TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} diff --git a/multimedia/schroedinger/schroedinger.SlackBuild b/multimedia/schroedinger/schroedinger.SlackBuild index dbb8663e5b111..c35adf5472ded 100644 --- a/multimedia/schroedinger/schroedinger.SlackBuild +++ b/multimedia/schroedinger/schroedinger.SlackBuild @@ -30,12 +30,10 @@ VERSION=${VERSION:-1.0.11} 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 @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/sinthgunt/sinthgunt.SlackBuild b/multimedia/sinthgunt/sinthgunt.SlackBuild index 01daa6f67fea9..87ea61fa5fa55 100644 --- a/multimedia/sinthgunt/sinthgunt.SlackBuild +++ b/multimedia/sinthgunt/sinthgunt.SlackBuild @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild index 6b84f0843cd03..29b83239c1011 100644 --- a/multimedia/smpeg/smpeg.SlackBuild +++ b/multimedia/smpeg/smpeg.SlackBuild @@ -27,12 +27,10 @@ VERSION=r389 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 diff --git a/multimedia/stills2dv/stills2dv.SlackBuild b/multimedia/stills2dv/stills2dv.SlackBuild index 685b23a1746db..66cfc420fed11 100644 --- a/multimedia/stills2dv/stills2dv.SlackBuild +++ b/multimedia/stills2dv/stills2dv.SlackBuild @@ -11,12 +11,10 @@ TAG=${TAG:-_SBo} SRCVER=$(printf $VERSION | tr _ -) -# 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 diff --git a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild index 047c0120463cd..8e9069f9e7b6e 100644 --- a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild +++ b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.5.3} BUILD=${BUILD:-3} 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 diff --git a/multimedia/subtitleeditor/subtitleeditor.SlackBuild b/multimedia/subtitleeditor/subtitleeditor.SlackBuild index 6332f99143aa2..b6656258cbd51 100644 --- a/multimedia/subtitleeditor/subtitleeditor.SlackBuild +++ b/multimedia/subtitleeditor/subtitleeditor.SlackBuild @@ -56,7 +56,7 @@ fi set -e -rm -rf $PKG +rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION cd $TMP @@ -65,7 +65,7 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -# Starting with glib 2.32 it is now mandatory to +# Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. patch -p1 -i $CWD/glib-single-include.patch diff --git a/multimedia/subtitleripper/subtitleripper.SlackBuild b/multimedia/subtitleripper/subtitleripper.SlackBuild index d91e88159cc3c..3c4f487c5de55 100644 --- a/multimedia/subtitleripper/subtitleripper.SlackBuild +++ b/multimedia/subtitleripper/subtitleripper.SlackBuild @@ -30,12 +30,10 @@ SRCVER=$(printf $VERSION |sed 's/_/-/') 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 @@ -59,7 +57,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/tvtime/tvtime.SlackBuild b/multimedia/tvtime/tvtime.SlackBuild index 7f0ba5a33872e..2ec7a4f64b5a6 100644 --- a/multimedia/tvtime/tvtime.SlackBuild +++ b/multimedia/tvtime/tvtime.SlackBuild @@ -27,12 +27,10 @@ VERSION=${VERSION:-1.0.2} BUILD=${BUILD:-4} 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 @@ -73,7 +71,7 @@ chmod -R u+w,go+r-w,a-s . # http://paketler.pardus.org.tr/2007/source/tvtime.html # http://bugs.gentoo.org/attachment.cgi?id=196423 for foo in $CWD/patches/* ; do - patch -p1 < $foo ; + patch -p1 < $foo ; done CFLAGS="$SLKCFLAGS" \ diff --git a/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild index 4e05933dfb880..94bcb2c3f59cf 100644 --- a/multimedia/vcdimager/vcdimager.SlackBuild +++ b/multimedia/vcdimager/vcdimager.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Slackware Build script for vcdimager +# Slackware Build script for vcdimager # Copyright (c) 2009, eviljames <storgeek [ at ] gmail [ dot ] com> # @@ -9,7 +9,7 @@ # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN @@ -21,12 +21,10 @@ VERSION=0.7.23 BUILD=${BUILD:-2} 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 diff --git a/multimedia/videocut/videocut.SlackBuild b/multimedia/videocut/videocut.SlackBuild index 6bad5c10d091c..5a95b9db7c629 100644 --- a/multimedia/videocut/videocut.SlackBuild +++ b/multimedia/videocut/videocut.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.2.0} BUILD=${BUILD:-2} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -66,7 +64,7 @@ make install INSTALL_ROOT=$PKG # Install the missing binary! mkdir -p $PKG/usr/bin -cp -a build/result/videocut $PKG/usr/bin +cp -a build/result/videocut $PKG/usr/bin strip --strip-unneeded $PKG/usr/bin/videocut # We don't need this directory or its contents diff --git a/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild index 3621d0bc3ec5b..d368d1133f848 100644 --- a/multimedia/vkeybd/vkeybd.SlackBuild +++ b/multimedia/vkeybd/vkeybd.SlackBuild @@ -5,7 +5,7 @@ # Written by Luis Henrique <lmello.009@gmail.com> # Thanks to the Ubuntu community for some tips on the vkeybd keymap settings! -# Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for +# Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for # more information. PRGNAM=vkeybd diff --git a/multimedia/vobcopy/vobcopy.SlackBuild b/multimedia/vobcopy/vobcopy.SlackBuild index 76c00fa1272ff..5cc5de2d3cd2b 100644 --- a/multimedia/vobcopy/vobcopy.SlackBuild +++ b/multimedia/vobcopy/vobcopy.SlackBuild @@ -29,12 +29,10 @@ VERSION=1.2.0 BUILD=${BUILD:-2} 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 diff --git a/multimedia/winff/winff.SlackBuild b/multimedia/winff/winff.SlackBuild index 91bdb315af28e..2c8c7d03ce412 100644 --- a/multimedia/winff/winff.SlackBuild +++ b/multimedia/winff/winff.SlackBuild @@ -27,7 +27,6 @@ VERSION=${VERSION:-1.3.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 ;; @@ -50,7 +49,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild index 1eab833be37d2..9f581d5a3c600 100644 --- a/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild +++ b/multimedia/xmms-crossfade/xmms-crossfade.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-0.3.14} 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 @@ -36,7 +34,7 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT diff --git a/multimedia/xvid4conf/xvid4conf.SlackBuild b/multimedia/xvid4conf/xvid4conf.SlackBuild index 0cbca5df89cec..ad4d4a33a64df 100644 --- a/multimedia/xvid4conf/xvid4conf.SlackBuild +++ b/multimedia/xvid4conf/xvid4conf.SlackBuild @@ -9,12 +9,10 @@ VERSION=${VERSION:-1.12} 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 @@ -38,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT |