From 724d410c9e48a5cd98f6539523d2e8d9415a7dd9 Mon Sep 17 00:00:00 2001 From: Lenard Spencer Date: Mon, 10 May 2021 19:48:34 +0200 Subject: multimedia/dvdbackup: Cleanups. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- multimedia/dvdbackup/README | 3 --- multimedia/dvdbackup/dvdbackup.SlackBuild | 11 +++++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/multimedia/dvdbackup/README b/multimedia/dvdbackup/README index a512714f7a..7b398dfdbd 100644 --- a/multimedia/dvdbackup/README +++ b/multimedia/dvdbackup/README @@ -6,9 +6,6 @@ underscores with spaces and converting to "Proper Case". To turn this "feature" off and retain the original VOLUME_ID formatting, pass CLOBBER="no" to the script. -To build on current (15.0 EXPERIMENTAL), pass CURRENT=yes to -the script. - NOTE: Copyright laws vary from nation to nation, so bear in mind that this program is only intended for personal backups. diff --git a/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild index 4b29260735..43b0655784 100644 --- a/multimedia/dvdbackup/dvdbackup.SlackBuild +++ b/multimedia/dvdbackup/dvdbackup.SlackBuild @@ -73,15 +73,14 @@ find -L . \ # Patch to not treat automake warnings as errors patch -p0 < $CWD/patches/do_not_treat_automake_warnings_as_errors.patch +# Patch for latest dvdread: +patch -p0 < $CWD/patches/dvdbackup-dvdread-6.1.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 -if [ "${CURRENT:-no}" = "yes" ]; then - patch -p0 < $CWD/patches/dvdbackup-dvdread-6.1.patch -fi - autoreconf -fiv CFLAGS="$SLKCFLAGS" \ @@ -96,8 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -#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 -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 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -- cgit v1.2.3