diff --git a/srcpkgs/flowblade/patches/usr-merge.patch b/srcpkgs/flowblade/patches/usr-merge.patch new file mode 100644 index 0000000000..595d5574fa --- /dev/null +++ b/srcpkgs/flowblade/patches/usr-merge.patch @@ -0,0 +1,13 @@ +diff --git flowblade-trunk/flowblade flowblade-trunk/flowblade +index faeba629..9acad76e 100755 +--- flowblade-trunk/flowblade ++++ flowblade-trunk/flowblade +@@ -34,7 +34,7 @@ print ("Launch script dir:", launch_dir) + + # Update sys.path to include modules. + # When running on distro. +-if launch_dir == "/usr/bin": ++if os.path.realpath(launch_dir) == "/usr/bin": + print ("Running from installation...") + modules_path = "/usr/share/flowblade/Flowblade" + if not os.path.isdir(modules_path): diff --git a/srcpkgs/flowblade/template b/srcpkgs/flowblade/template index d207c39684..1a12e6efa7 100644 --- a/srcpkgs/flowblade/template +++ b/srcpkgs/flowblade/template @@ -1,7 +1,7 @@ # Template file for 'flowblade' pkgname=flowblade version=2.6 -revision=1 +revision=2 build_wrksrc=flowblade-trunk build_style=python3-module make_install_args="--install-lib=${DESTDIR}/usr/share/pyshared"