-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flowblade: update to 2.12.0.2, force x11, otherwise it crashes on
wayland
- Loading branch information
Luciogi
committed
Jan 31, 2024
1 parent
702dad1
commit 8332f66
Showing
3 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
WARNING: Use | ||
/usr/bin/flowblade.sh | ||
to run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
# Flowblade does not support wayland and it crashes | ||
GDK_BACKEND=x11 /usr/bin/flowblade $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
# Template file for 'flowblade' | ||
pkgname=flowblade | ||
version=2.8.0.3 | ||
version=2.12.0.2 | ||
revision=1 | ||
build_wrksrc=flowblade-trunk | ||
build_style=python3-module | ||
make_install_args="--install-lib=${DESTDIR}/usr/share/flowblade" | ||
hostmakedepends="python3-setuptools" | ||
# https://github.com/jliljebl/flowblade/blob/master/flowblade-trunk/docs/DEPENDENCIES.md | ||
depends="frei0r-plugins gmic mlt-python3 python3-Pillow python3-dbus gtk+3 | ||
python3-gobject python3-numpy swh-plugins" | ||
depends="frei0r-plugins gmic mlt7 mlt7-python3 python3-cairo python3-Pillow python3-gobject python3-numpy gtk+3 | ||
swh-plugins gdk-pixbuf pango librsvg SDL_image swh-plugins" | ||
short_desc="Non-linear video editor for Linux" | ||
maintainer="shizonic <[email protected]>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://jliljebl.github.io/flowblade/" | ||
distfiles="https://github.com/jliljebl/flowblade/archive/v${version}.tar.gz" | ||
checksum=3753363d15caa6f1901118132a87f92d3b5e843c325775dbd83b30ee4d2a9bbf | ||
distfiles="https://github.com/jliljebl/flowblade/archive/v${version}.tar.gz>${pkgname}-v${version}.tar.gz" | ||
checksum=f9c8598a373fc71e9493b4079a7a67c7afe3583939cdf1998600971988286f7d | ||
make_check=no # no tests to run | ||
|
||
do_patch() { | ||
# Desktop file should run /usr/bin/flowblade.sh | ||
vsed -i installdata/io.github.jliljebl.Flowblade.desktop -e 's#env.*#/usr/bin/flowblade.sh %f#' | ||
} | ||
|
||
post_install() { | ||
# Enforce X11, otherwise it crashes on wayland | ||
vbin "${FILESDIR}/enforce-x11.sh" flowblade.sh | ||
} |