|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2019 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2019,2020 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -28,7 +28,7 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-shotcut} |
|
|
|
VERSION=${VERSION:-19.12.16} |
|
|
|
VERSION=${VERSION:-20.04.12} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-https://github.com/mltframework/shotcut/archive/v$VERSION.tar.gz} |
|
|
|
|
|
|
@ -70,6 +70,8 @@ cd $TMP |
|
|
|
echo "Building $ARCHIVE..." |
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
cd $NAME |
|
|
|
# Fix missing QPainterPath include |
|
|
|
patch -p 1 < $CWD/shotcut-20.04.12-fix-qpainterpath-include.patch |
|
|
|
qmake-qt5 PREFIX=/usr |
|
|
|
make -j $JOBS |
|
|
|
make install INSTALL_ROOT=$PKG |
|
|
|