summaryrefslogtreecommitdiff
path: root/multimedia/dvdbackup/dvdbackup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/dvdbackup/dvdbackup.SlackBuild')
-rw-r--r--multimedia/dvdbackup/dvdbackup.SlackBuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild
index 7eeca58d1f..58b5f28812 100644
--- a/multimedia/dvdbackup/dvdbackup.SlackBuild
+++ b/multimedia/dvdbackup/dvdbackup.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for dvdbackup
# Copyright 2013 John Vogel Corning, New York US
-# Copyright 2017 Lenard Spencer <lspencer31_at_cfl_dot_rr_dot_com>
+# Copyright 2020 Lenard Spence, Orlando, Florida USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=dvdbackup
VERSION=${VERSION:-0.4.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,14 +70,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Patch to not clobber the DVD title
-if [ {$CLOBBER:-"yes"} == "no" ]; then
+# Patch to not treat automake warnings as errors
+patch -p0 < $CWD/patches/do_not_treat_automake_warnings_as_errors.patch
+
+# Patch to not change VOLUME_ID to Volume Id
+if [ ${CLOBBER:-"yes"} == "no" ]; then
patch -p1 < $CWD/patches/dvdbackup_no-convert-title.patch
fi
-# Patches from lauchpad bazaar repo.
-patch -p0 < $CWD/patches/do_not_treat_automake_warnings_as_errors.patch
-patch -p0 < $CWD/patches/remove_PATH_MAX_limitation.patch
+if [ "${CURRENT:-no}" = "yes" ]; then
+ patch -p0 < $CWD/patches/dvdbackup-dvdread-6.1.patch
+fi
+
+autoreconf -fiv
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \