|
|
@ -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: |
|
|
@ -25,11 +25,11 @@ |
|
|
|
# Latest mlt sourcecode is available at: |
|
|
|
# <https://github.com/mltframework/mlt>. |
|
|
|
# |
|
|
|
# Recommends: ap/jack, l/movit, l/qt5 |
|
|
|
# Recommends: ap/jack, l/movit |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-mlt} |
|
|
|
VERSION=${VERSION:-6.18.0} |
|
|
|
VERSION=${VERSION:-6.20.0} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
WGET=${WGET:-https://github.com/mltframework/mlt/releases/download/v$VERSION/$ARCHIVE} |
|
|
|
|
|
|
@ -74,6 +74,8 @@ cd $TMP |
|
|
|
echo "Building $ARCHIVE..." |
|
|
|
tar xf $CWD/$ARCHIVE |
|
|
|
cd $NAME |
|
|
|
# Fix missing include for QPainterPath |
|
|
|
patch -p 1 < $CWD/mlt-6.20.0-fix-qpainterpath-include.patch |
|
|
|
./configure \ |
|
|
|
--prefix=/usr \ |
|
|
|
--libdir=/usr/lib$LIBDIRSUFFIX \ |
|
|
@ -103,7 +105,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
cat <<EOF > $PKG/install/slack-required |
|
|
|
jack |
|
|
|
movit |
|
|
|
qt5 |
|
|
|
EOF |
|
|
|
|
|
|
|
# Package the tree |
|
|
|