diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-12-28 11:46:38 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-12-30 11:20:11 +0700 |
commit | 410899ba848ffcc68cf95ada9e8270b226600ad9 (patch) | |
tree | 074fe7d54c32b66aaf036cb85103f37d33195734 | |
parent | cb112720644d29262f73bcbfe49fe59d7dcd9e90 (diff) | |
download | slackbuilds-410899ba848ffcc68cf95ada9e8270b226600ad9.tar.gz |
multimedia/shotcut: Updated for version 21.12.24.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | multimedia/shotcut/shotcut.SlackBuild | 16 | ||||
-rw-r--r-- | multimedia/shotcut/shotcut.info | 6 |
2 files changed, 15 insertions, 7 deletions
diff --git a/multimedia/shotcut/shotcut.SlackBuild b/multimedia/shotcut/shotcut.SlackBuild index 3cdac26587..7b7a27f02c 100644 --- a/multimedia/shotcut/shotcut.SlackBuild +++ b/multimedia/shotcut/shotcut.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=shotcut -VERSION=${VERSION:-18.11.18} +VERSION=${VERSION:-21.12.24} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -85,6 +85,7 @@ find -L . \ # Fix libpng warning. # [Warning] <> libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG +rm -fR packaging/windows/Microsoft* # avoids find's choking for i in $(find . -name "*\.png"); do mv $i ${i}.old.png convert $i.old.png $i @@ -92,15 +93,22 @@ for i in $(find . -name "*\.png"); do rm $i.old.png done -qmake-qt5 PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ - CONFIG+=release SHOTCUT_VERSION="$VERSION" $PRGNAM.pro - +mkdir -p build +cd build +qmake PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \ + CONFIG+=release SHOTCUT_VERSION="$VERSION" DEFINES+=SHOTCUT_NOUPGRADE .. make +lrelease ../translations/*.ts make install INSTALL_ROOT=$PKG +cd .. 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 +mv $PKG/usr/share/man $PKG/usr/man +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 + find $PKG/usr/share/$PRGNAM -type f -exec chmod 0644 '{}' \; mkdir -p $PKG/usr/share/applications diff --git a/multimedia/shotcut/shotcut.info b/multimedia/shotcut/shotcut.info index a8a327e58d..1cf57d99db 100644 --- a/multimedia/shotcut/shotcut.info +++ b/multimedia/shotcut/shotcut.info @@ -1,8 +1,8 @@ PRGNAM="shotcut" -VERSION="18.11.18" +VERSION="21.12.24" HOMEPAGE="https://www.shotcut.org/" -DOWNLOAD="https://github.com/mltframework/shotcut/archive/v18.11.18/shotcut-18.11.18.tar.gz" -MD5SUM="60c7329716f3ac4b170a17073917a939" +DOWNLOAD="https://github.com/mltframework/shotcut/archive/v21.12.24/shotcut-21.12.24.tar.gz" +MD5SUM="4aa9c69e35b45d33c924376ea518f469" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="jack x264 ladspa_sdk" |