aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ripperX/ripperX.SlackBuild
diff options
context:
space:
mode:
authorDavid Golus <bassplayer69@gmail.com>2018-04-12 00:52:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-14 07:06:29 +0700
commit9b1d3ef8bceb950fe4779f7012c71eee50f90d4b (patch)
tree8af0f22b899f2ffb4ca72e27da25c692f4567137 /multimedia/ripperX/ripperX.SlackBuild
parent59453745f7d18b3cc774a670ed7c82ba9d278f8c (diff)
multimedia/ripperX: Updated for version 2.8.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/ripperX/ripperX.SlackBuild')
-rw-r--r--multimedia/ripperX/ripperX.SlackBuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/multimedia/ripperX/ripperX.SlackBuild b/multimedia/ripperX/ripperX.SlackBuild
index 18735e8aab22a..ff8c28f0bd6f5 100644
--- a/multimedia/ripperX/ripperX.SlackBuild
+++ b/multimedia/ripperX/ripperX.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ripperX
-# Copyright 2012,2013 David Golus <bassplayer69@gmail.com>
+# Copyright 2012,2013,2018 David Golus <bassplayer69@gmail.com>
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -21,11 +21,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Heavily based on original slackbuild by AlienBOB.
-# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=ripperX
-VERSION=${VERSION:-2.7.3}
+SRCNAM=ripperx
+VERSION=${VERSION:-2.8.0}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
@@ -50,7 +49,6 @@ elif [ "$ARCH" = "i686" ]; then
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- SLKLDFLAGS="-L/usr/lib64"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
@@ -62,15 +60,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+patch -i $CWD/gtk_cpp_workaround.patch -o src/gtk_cpp_workaround.h
LDFLAGS="-lm" \
CFLAGS="$SLKCFLAGS" \
@@ -78,10 +78,10 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --sysconfdir=/etc \
--enable-static=no \
--build=$ARCH-slackware-linux
@@ -94,7 +94,7 @@ mkdir -p $PKG/usr/share/applications
cp -a ripperX.desktop $PKG/usr/share/applications
echo "Categories=AudioVideo;" >> $PKG/usr/share/applications/ripperX.desktop
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
@@ -104,11 +104,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
BUGS CHANGES COPYING FAQ INSTALL README TODO README.plugin \
$PKG/usr/doc/$PRGNAM-$VERSION
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
+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
-chmod -R o-w $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}