flowblade new package
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
def build():
|
||||
shelltools.system("sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g' flowblade-trunk/Flowblade/launch/*")
|
||||
shelltools.system("sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|g' flowblade-trunk/Flowblade/tools/clapperless.py")
|
||||
shelltools.cd("flowblade-trunk")
|
||||
pythonmodules.compile(pyVer="3")
|
||||
|
||||
def install():
|
||||
shelltools.cd("flowblade-trunk")
|
||||
pythonmodules.install(pyVer="3")
|
||||
|
||||
shelltools.chmod(get.installDIR() + "/usr/lib/python3.8/site-packages/Flowblade/launch/*")
|
||||
shelltools.chmod(get.installDIR() + "/usr/lib/python3.8/site-packages/Flowblade/tools/clapperless.py")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README*")
|
||||
@@ -0,0 +1,23 @@
|
||||
--- flowblade-trunk/flowblade.orig 2021-02-15 17:46:41.584404702 +0100
|
||||
+++ flowblade-trunk/flowblade 2021-02-15 17:52:37.697270687 +0100
|
||||
@@ -36,10 +36,10 @@
|
||||
# - When running on distro.
|
||||
if os.path.realpath(launch_dir) == "/usr/bin":
|
||||
print ("Running from installation...")
|
||||
- modules_path = "/usr/share/flowblade/Flowblade"
|
||||
+ from distutils.sysconfig import get_python_lib
|
||||
+ modules_path = "%s/Flowblade" % get_python_lib()
|
||||
if not os.path.isdir(modules_path):
|
||||
modules_path = "/usr/share/pyshared/Flowblade"
|
||||
- print ("modules path:", modules_path)
|
||||
# - When running in flatpak.
|
||||
elif launch_dir == "/app/bin":
|
||||
print ("Running from Flatpak installation...")
|
||||
@@ -51,6 +51,7 @@
|
||||
else:
|
||||
print ("Running from filesystem...")
|
||||
modules_path = launch_dir + "/Flowblade"
|
||||
+ print ("modules path:", modules_path)
|
||||
|
||||
sys.path.insert(0, modules_path)
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>flowblade</Name>
|
||||
<Homepage>https://github.com/jliljebl/flowblade</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<IsA>app</IsA>
|
||||
<Summary>Multitrack non-linear video editor</Summary>
|
||||
<Description>Çok kanallı doğrusal olmayan video düzenleyici</Description>
|
||||
<Archive sha1sum="556e1b1b9df3ca1fb4df2080345a94134ab258b6" type="targz">https://github.com/jliljebl/flowblade/archive/refs/tags/v2.8.0.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>desktop-file-utils</Dependency>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>appstream-glib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>fedora/flowblade_sys_path.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>flowblade</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>mlt</Dependency>
|
||||
<Dependency>gmic</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>librsvg</Dependency>
|
||||
<Dependency>python-mlt</Dependency>
|
||||
<Dependency>dbus-python3</Dependency>
|
||||
<Dependency>python3-numpy</Dependency>
|
||||
<Dependency>python3-pillow</Dependency>
|
||||
<Dependency>python3-pygobject3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="info">/usr/share/metainfo</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-08-30</Date>
|
||||
<Version>2.8.0.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>flowblade</Name>
|
||||
<Summary xml:lang="tr">Multitrack non-linear video editor</Summary>
|
||||
<Description xml:lang="tr">Çok kanallı doğrusal olmayan video düzenleyici</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user