openshot, libopenshot, libopenshot-audio: new packages

This commit is contained in:
suvari
2021-12-07 02:30:23 +03:00
parent 3cd6ac4845
commit 7cfa9c5ee2
14 changed files with 742 additions and 67 deletions
@@ -0,0 +1,20 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("DCMAKE_INSTALL_PREFIX=/usr")
def build():
cmaketools.make()
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*", "COPYING")
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libopenshot-audio</Name>
<Homepage>https://openshot.org/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>A free, open-source C++ library dedicated to delivering high quality audio editing and audio playback solutions.</Summary>
<Description>OpenShot Audio Library (libopenshot-openshot) is a free, open-source C++ library dedicated to delivering high quality audio editing and audio playback solutions to the world.</Description>
<Archive sha1sum="66cc679f5a4033253cf7058692a6fda890cc2287" type="targz">https://github.com/OpenShot/libopenshot-audio/archive/refs/tags/v0.2.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>freetype-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libopenshot-audio</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>alsa-lib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/libopenshot-audio.so*</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man/man1</Path>
</Files>
</Package>
<Package>
<Name>libopenshot-audio-devel</Name>
<Summary>Development files for libopenshot-audio</Summary>
<RuntimeDependencies>
<Dependency release="current">libopenshot-audio</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<!-- <Path fileType="library">/usr/lib/pkgconfig</Path> -->
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-12-05</Date>
<Version>0.2.2</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libopenshot-audio</Name>
<Summary xml:lang="tr">Yüksek kaliteli ses düzenleme ve ses oynatma çözümleri sunmaya adanmış ücretsiz, açık kaynaklı bir C++ kitaplığı.</Summary>
<Description xml:lang="tr">OpenShot Ses Kitaplığı (libopenshot-openshot), dünyaya yüksek kaliteli ses düzenleme ve ses oynatma çözümleri sunmaya adanmış ücretsiz, açık kaynaklı bir C++ kitaplığıdır.</Description>
</Source>
</PISI>
+30
View File
@@ -0,0 +1,30 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_BUILD_TYPE='None' \
-DENABLE_RUBY=OFF \
-DMAGICKCORE_HDRI_ENABLE=1 \
-DMAGICKCORE_QUANTUM_DEPTH=16 \
-DPYTHON_LIBRARIES='/usr/lib/libpython3.so' \
-DUSE_SYSTEM_JSONCPP=ON")
def build():
cmaketools.make()
#def check():
#cmaketools.make("test")
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*", "COPYING")
+85
View File
@@ -0,0 +1,85 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libopenshot</Name>
<Homepage>https://openshot.org/</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPL</License>
<IsA>library</IsA>
<Summary>A free, open-source C++ library dedicated to delivering high quality video editing, animation, and playback solutions to the world.</Summary>
<Description>OpenShot Video Library (libopenshot) is a free, open-source C++ library dedicated to delivering high quality video editing, animation, and playback solutions to the world.</Description>
<Archive sha1sum="e2ddbe2d19c5904d9273446970a50f71d817adab" type="targz">https://github.com/OpenShot/libopenshot/archive/refs/tags/v0.2.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>swig</Dependency>
<Dependency>cmake</Dependency>
<Dependency>catch2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>x264-devel</Dependency>
<Dependency>ruby-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>zeromq-devel</Dependency>
<Dependency>openmp-devel</Dependency>
<Dependency>opencv-devel</Dependency>
<Dependency>python3-pyzmq</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>jsoncpp-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>protobuf-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>python3-qt5-devel</Dependency>
<Dependency>libopenshot-audio</Dependency>
<Dependency>imagemagick-devel</Dependency>
<Dependency>qt5-multimedia-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libopenshot</Name>
<RuntimeDependencies>
<Dependency>ffmpeg</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>zeromq</Dependency>
<Dependency>jsoncpp</Dependency>
<Dependency>libgomp</Dependency>
<Dependency>python3</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>imagemagick</Dependency>
<Dependency>libopenshot-audio</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3.9/site-packages</Path>
<Path fileType="library">/usr/lib/libopenshot.so*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libopenshot-devel</Name>
<Summary>Development files for libopenshot</Summary>
<RuntimeDependencies>
<Dependency release="current">libopenshot</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<!-- <Path fileType="data">/usr/lib/cmake</Path> -->
<!-- <Path fileType="library">/usr/lib/pkgconfig</Path> -->
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-12-05</Date>
<Version>0.2.7</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libopenshot</Name>
<Summary xml:lang="tr">Dünyaya yüksek kaliteli video düzenleme, animasyon ve oynatma çözümleri sunmaya adanmış ücretsiz, açık kaynaklı bir C++ kitaplığı.</Summary>
<Description xml:lang="tr">OpenShot Video Kitaplığı (libopenshot), dünyaya yüksek kaliteli video düzenleme, animasyon ve oynatma çözümleri sunmaya adanmış ücretsiz, açık kaynaklı bir C++ kitaplığıdır.</Description>
</Source>
</PISI>
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/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
def setup():
# prevent setup.py from trying to update MIME databases
shelltools.system("sed -i 's/^ROOT =.*/ROOT = False/' setup.py || die")
pythonmodules.compile(pyVer="3")
def build():
pythonmodules.compile(pyVer="3")
shelltools.system("python3 setup.py build")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("COPYING", "README*")
@@ -0,0 +1,12 @@
diff -ruN a/src/settings/_default.settings b/src/settings/_default.settings
--- a/src/settings/_default.settings 2021-09-05 01:16:20.000000000 +0200
+++ b/src/settings/_default.settings 2021-12-02 22:07:32.812473428 +0100
@@ -340,7 +340,7 @@
"restart": true
},
{
- "value": true,
+ "value": false,
"title": "Send Anonymous Metrics and Errors",
"type": "bool",
"category": "Debug",
+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>openshot</Name>
<Homepage>http://www.openshotvideo.com</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<Icon>openshot</Icon>
<IsA>app:gui</IsA>
<Summary>An award-winning free and open-source video editor.</Summary>
<Description>OpenShot Video Editor is an award-winning free and open-source video editor and is dedicated to delivering high quality video editing and animation solutions to the world.</Description>
<Archive sha1sum="ccc397a488253e3cdd26bd8ff59ad050bfe57323" type="targz">https://github.com/OpenShot/openshot-qt/archive/refs/tags/v2.6.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-pyzmq</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>python-gtk-devel</Dependency>
<Dependency>libopenshot-devel</Dependency>
<Dependency>python3-requests</Dependency>
<Dependency>python3-qt5-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
<Dependency>libopenshot-audio-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>openshot-2.6.1-no_metric_default.patch</Patch>
</Patches>
</Source>
<Package>
<Name>openshot</Name>
<RuntimeDependencies>
<Dependency>ffmpeg</Dependency>
<Dependency>python3</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>python-gtk</Dependency>
<Dependency>python-mlt</Dependency>
<Dependency>libopenshot</Dependency>
<Dependency>python3-qt5</Dependency>
<Dependency>python3-pyzmq</Dependency>
<Dependency>libopenshot-audio</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/lib/python2.7/site-packages/openshot/locale</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/mime</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/metainfo</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-12-04</Date>
<Version>2.6.1</Version>
<Comment>First release</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>openshot</Name>
<Summary xml:lang="tr">Ödüllü, ücretsiz ve açık kaynaklı bir video düzenleyici.</Summary>
<Description xml:lang="tr">OpenShot Video Editor, ödüllü ücretsiz ve açık kaynaklı bir video düzenleyicidir ve kendini dünyaya yüksek kaliteli video düzenleme ve animasyon çözümleri sunmaya adamıştır.</Description>
</Source>
</PISI>