summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-09-20 13:00:08 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-29 07:47:45 +0700
commitdc749ef0c666cbfccd8b34291089d0bbb7c2ede9 (patch)
treea78222e874994c52a50a21e591f5b48f831aa1d2 /multimedia
parent40b3b1193e9af557f4239fba0f80674321a39ee7 (diff)
downloadslackbuilds-dc749ef0c666cbfccd8b34291089d0bbb7c2ede9.tar.gz
multimedia/flowblade: Updated for version 1.16.0.
Patch from upstream for the newer mlt Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch24
-rw-r--r--multimedia/flowblade/flowblade.SlackBuild4
-rw-r--r--multimedia/flowblade/flowblade.info6
3 files changed, 30 insertions, 4 deletions
diff --git a/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch b/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
new file mode 100644
index 0000000000..e5cf792278
--- /dev/null
+++ b/multimedia/flowblade/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
@@ -0,0 +1,24 @@
+From 495a10c83b7d209bfdb1577efaf718e031ec6f25 Mon Sep 17 00:00:00 2001
+From: Janne Liljeblad <janne.liljeblad@gmail.com>
+Date: Thu, 12 Jul 2018 01:32:07 +0300
+Subject: [PATCH] Fix crash by banning Qt producers to keep using Gtk producers
+ after Qt ones were made default in MLT
+
+---
+ flowblade-trunk/Flowblade/app.py | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/flowblade-trunk/Flowblade/app.py b/flowblade-trunk/Flowblade/app.py
+index e7b9fb33..5c2b3630 100644
+--- a/flowblade-trunk/Flowblade/app.py
++++ b/flowblade-trunk/Flowblade/app.py
+@@ -250,6 +250,9 @@ def main(root_path):
+
+ # Init MLT framework
+ repo = mlt.Factory().init()
++ repo.producers().set('qimage', None, 0)
++ repo.producers().set('qtext', None, 0)
++ repo.producers().set('kdenlivetitle', None, 0)
+
+ # Set numeric locale to use "." as radix, MLT initilizes this to OS locale and this causes bugs
+ locale.setlocale(locale.LC_NUMERIC, 'C')
diff --git a/multimedia/flowblade/flowblade.SlackBuild b/multimedia/flowblade/flowblade.SlackBuild
index 0d7e0d7797..599bf8951c 100644
--- a/multimedia/flowblade/flowblade.SlackBuild
+++ b/multimedia/flowblade/flowblade.SlackBuild
@@ -9,7 +9,7 @@
# without any warranty.
PRGNAM=flowblade
-VERSION=${VERSION:-1.14}
+VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,8 @@ 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 {} \;
+patch -p2 < $CWD/495a10c83b7d209bfdb1577efaf718e031ec6f25.patch
+
# install
python setup.py install --root=$PKG
diff --git a/multimedia/flowblade/flowblade.info b/multimedia/flowblade/flowblade.info
index b4254a6d9e..12d98fc040 100644
--- a/multimedia/flowblade/flowblade.info
+++ b/multimedia/flowblade/flowblade.info
@@ -1,8 +1,8 @@
PRGNAM="flowblade"
-VERSION="1.14"
+VERSION="1.16"
HOMEPAGE="https://github.com/jliljebl/flowblade/"
-DOWNLOAD="https://github.com/jliljebl/flowblade/archive/v1.14/flowblade-1.14.tar.gz"
-MD5SUM="11436b1935b16c06d56541a4d857a82b"
+DOWNLOAD="https://github.com/jliljebl/flowblade/archive/v1.16/flowblade-1.16.tar.gz"
+MD5SUM="71490e33fd7c2d44e96de5b59b88121f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg frei0r gnome-python ladspa_sdk mlt numpy"