diff options
Diffstat (limited to 'multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild')
-rw-r--r-- | multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild b/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild index 4f1e30b8236dc..8c2f249b0fcfa 100644 --- a/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild +++ b/multimedia/k9copy-reloaded/k9copy-reloaded.SlackBuild @@ -61,16 +61,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP - rm -rf $SRCNAM tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +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 {} \; # Insert a blank CmakeLists.txt file in various subs # or the build will fail @@ -92,32 +91,27 @@ patch -p1 < $CWD/patches/k9copy-gcc7.patch # and libdvdnav, but NONE of then work properly (the program builds, # but the backups are corrupt and will not play). I may revisit it # later, but for now, we must patch the internal dvdnav to properly -# link to the internal dvdread: +# link to the internal dvdread: otherwise, the backups come out with +# corrupted .IFO files: patch -p1 < $CWD/patches/k9copy-dvdnav.patch -# In current, dvdauthor crashes the program if we try to use it -# for copy without menus, so we disable it by default in settings: +# In 15.0, dvdauthor crashes the program if we try to use it, +# so we disable it by default in settings: patch -p1 < $CWD/patches/k9copy-uncheck-dvdauthor.patch # Patch for missing "Language=" entry in .po files: patch -p1 < $CWD/patches/k9copy-missing-language-in-po-files.patch -# Patch for i18n (mitigates I18N_ARGUMENT_MISSING messages: +# Patch for i18n (mitigates I18N_ARGUMENT_MISSING messages): patch -p1 < $CWD/patches/k9copy-i18n.patch -if [ "${CURRENT:-no}" = "yes" ];then - QT5="ON" -else - QT5="OFF" -fi - mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS="$SLKCFLAGS -std=c++11" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DQT5_BUILD="$QT5" \ + -DQT5_BUILD="ON" \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG |