aboutsummaryrefslogtreecommitdiff
path: root/multimedia/qdvdauthor
diff options
context:
space:
mode:
authorRoland Suchan <snrd@arcor.de>2024-08-16 10:31:24 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-16 12:43:00 +0700
commit29e1e5631487996d7f2830af80d20acccdbc999f (patch)
treee9de933b356b780bcd8e259bd4b6992ffe02d676 /multimedia/qdvdauthor
parent6b6b42be8b871d4dbb8f2aa8518381f6773d799b (diff)
multimedia/qdvdauthor: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/qdvdauthor')
-rw-r--r--multimedia/qdvdauthor/qdvdauthor.SlackBuild14
-rw-r--r--multimedia/qdvdauthor/qdvdauthor.info2
2 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/qdvdauthor/qdvdauthor.SlackBuild b/multimedia/qdvdauthor/qdvdauthor.SlackBuild
index 91199919a2e6..80fad90a9346 100644
--- a/multimedia/qdvdauthor/qdvdauthor.SlackBuild
+++ b/multimedia/qdvdauthor/qdvdauthor.SlackBuild
@@ -75,12 +75,14 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-cmake . -DCMAKE_INSTALL_PREFIX=$PKG/usr
-
-make
-make install
+cd build
+ cmake ../. \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ make install DESTDIR=$PKG
+cd ..
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/qdvdauthor/qdvdauthor.info b/multimedia/qdvdauthor/qdvdauthor.info
index 605856a63498..f4bcb65e4a73 100644
--- a/multimedia/qdvdauthor/qdvdauthor.info
+++ b/multimedia/qdvdauthor/qdvdauthor.info
@@ -8,7 +8,7 @@ DOWNLOAD_x86_64="https://sourceforge.net/projects/qdvd/files/qdvd-2.3.1-qt5/qdvd
https://qdvdauthor.sourceforge.net/data/buttons.tar.bz2 \
https://qdvdauthor.sourceforge.net/data/alpha_trans.tar.bz2 \
https://ffmpeg.org/releases/ffmpeg-0.6.7.tar.bz2"
-MD5SUM_x86_64="54508648383b0c3f120961ca7f8eda34 \
+MD5SUM_x86_64="901585a538a426db6a281c07cd7fa920 \
1ed15c30ffaf344c97fdadfca390fc78 \
d6e546a256bddbcfaa068505b572b45c \
0c6679e836f452c3b8bc14256fd7f460 \