mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
multimedia/shotcut: Updated for version 16.11 + new maint.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
fd03de0940
commit
379e001675
4 changed files with 35 additions and 27 deletions
|
@ -1,9 +1,5 @@
|
|||
shotcut (a free, open source, cross-platform video editor).
|
||||
|
||||
Shotcut is a free, open source, cross-platform video editor.
|
||||
|
||||
Optional dependency is: ladspa_sdk
|
||||
|
||||
For build shotcut from sources these packages are required:
|
||||
|
||||
qt5, mlt, x264, lame, frei0r, ladspa_sdk.
|
||||
Note: In order to build shotcut correctly, the dependencies
|
||||
need to be built in order that they are listed in the
|
||||
shotcut.info file.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for shotcut.
|
||||
#
|
||||
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
# Copyright 2016 Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=shotcut
|
||||
VERSION=${VERSION:-15.08}
|
||||
VERSION=${VERSION:-16.11}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -59,15 +60,11 @@ fi
|
|||
|
||||
set -e
|
||||
|
||||
RELVER=${RELVER:-debian7}
|
||||
REVNO=${REVNO:-150810}
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$RELVER-$BITS-$REVNO.tar.bz2 -C $PRGNAM-$VERSION/
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -76,16 +73,31 @@ 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 {} \;
|
||||
|
||||
# Fix libpng warning.
|
||||
# [Warning] <> libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
|
||||
for i in $(find . -name "*\.png"); do
|
||||
mv $i ${i}.old.png
|
||||
convert $i.old.png $i
|
||||
touch -r ${i}.old.png $i
|
||||
rm $i.old.png
|
||||
done
|
||||
|
||||
qmake-qt5 PREFIX="/usr" QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
|
||||
CONFIG+=release SHOTCUT_VERSION="$VERSION" $PRGNAM.pro
|
||||
|
||||
make
|
||||
make install INSTALL_ROOT=$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
|
||||
|
||||
mkdir $PKG/opt
|
||||
mv Shotcut $PKG/opt
|
||||
find $PKG/usr/share/$PRGNAM -type f -exec chmod 0644 '{}' \;
|
||||
|
||||
install -D -m644 $CWD/Shotcut.desktop $PKG/usr/share/applications/Shotcut.desktop
|
||||
mkdir -p $PKG/usr/share/applications
|
||||
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv $PKG/opt/Shotcut/Shotcut.app/COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING README.md CuteLogger/LICENSE.LGPL $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -5,6 +5,6 @@ Terminal=false
|
|||
Name=Shotcut
|
||||
GenericName=Video Editor
|
||||
Comment=Video Editor
|
||||
Exec=sh -c "/opt/Shotcut/Shotcut.app/shotcut "%F""
|
||||
Icon=applications-multimedia
|
||||
Exec=shotcut
|
||||
Icon=
|
||||
Categories=Application
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="shotcut"
|
||||
VERSION="15.08"
|
||||
VERSION="16.11"
|
||||
HOMEPAGE="http://www.shotcut.org/"
|
||||
DOWNLOAD="https://github.com/mltframework/shotcut/releases/download/v15.08/shotcut-debian7-x86-150810.tar.bz2"
|
||||
MD5SUM="cfb589fbcbaed452b15cba659465c147"
|
||||
DOWNLOAD_x86_64="https://github.com/mltframework/shotcut/releases/download/v15.08/shotcut-debian7-x86_64-150810.tar.bz2"
|
||||
MD5SUM_x86_64="d0a8dcbaedca699c0a4c419527a9ff4a"
|
||||
REQUIRES="jack-audio-connection-kit"
|
||||
MAINTAINER="Edinaldo P. Silva"
|
||||
EMAIL="edps.mundognu@gmail.com"
|
||||
DOWNLOAD="https://github.com/mltframework/shotcut/archive/v16.11/shotcut-16.11.tar.gz"
|
||||
MD5SUM="bab9dddf924b189e2aaf003541dee376"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="qt5-webkit jack-audio-connection-kit x264 lame frei0r ladspa_sdk mlt"
|
||||
MAINTAINER="Larry Hajali"
|
||||
EMAIL="larryhaja[at]gmail[dot]com"
|
||||
|
|
Loading…
Reference in a new issue