mlt:add pisi 2.0 and v.bump

This commit is contained in:
alihanozturk
2015-11-17 18:50:47 +02:00
parent 746fe6d8d3
commit 64a71dab79
3 changed files with 222 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.export("LDFLAGS", get.LDFLAGS())
autotools.configure("--enable-gpl \
--enable-gpl3 \
--disable-gtk2 \
--qimage-libdir=/usr/lib/ \
--qimage-includedir=/usr/include/Qt \
--avformat-vdpau \
--avformat-swscale")
# Enable bindings
shelltools.echo("%s/src/swig/config.mak" % get.curDIR(), "SUBDIRS = perl python")
def build():
autotools.make()
autotools.make("-C src/swig")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# We should manually install the bindings :(
pisitools.insinto("/usr/lib/%s/site-packages/" % get.curPYTHON(), "src/swig/python/mlt.py")
pisitools.dolib("src/swig/python/_mlt.so", "/usr/lib/%s/site-packages/" % get.curPYTHON())
pisitools.insinto("/usr/lib/perl5/vendor_perl/%s/" % get.curPERL(), "src/swig/perl/blib/lib/mlt.pm")
pisitools.dolib("src/swig/perl/blib/arch/auto/mlt/mlt.so", "/usr/lib/perl5/vendor_perl/%s/i686-linux-thread-multi/auto/mlt/" % get.curPERL())
pisitools.dodoc("ChangeLog", "COPYING", "GPL*", "README")
+159
View File
@@ -0,0 +1,159 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>mlt</Name>
<Homepage>http://www.mltframework.org/twiki/bin/view/MLT/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<Summary>A multimedia framework, designed and developed for television broadcasting</Summary>
<Description>MLT is an open source multimedia framework, designed and developed for television broadcasting.</Description>
<Archive sha1sum="91b967d1904a6f012eb8467fd55cc4825fc9c7e9" type="targz">http://sourceforge.net/projects/mlt/files/mlt/mlt-0.9.8.tar.gz</Archive>
<BuildDependencies>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>swig</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>frei0r-plugins-devel</Dependency>
<Dependency>fftw3-devel</Dependency>
<!-- <Dependency>kdelibs-devel</Dependency> -->
<!-- <Dependency>gtk2-devel</Dependency> -->
<Dependency>jack-audio-connection-kit-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>perl</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libsamplerate-devel</Dependency>
<!-- <Dependency>libquicktime-devel</Dependency> -->
<Dependency>ladspa-sdk-devel</Dependency>
<!-- <Dependency>gdk-pixbuf-devel</Dependency> -->
<!-- <Dependency>libvorbis-devel</Dependency> -->
<!-- <Dependency>sdl-image-devel</Dependency> -->
<Dependency>libexif-devel</Dependency>
<!-- <Dependency>swfdec-devel</Dependency> -->
<!-- <Dependency>libsdl-devel</Dependency> -->
<Dependency>ffmpeg-devel</Dependency>
<!-- <Dependency>pango-devel</Dependency> -->
<!-- <Dependency>cairo-devel</Dependency> -->
<!-- <Dependency>libdv</Dependency> -->
<Dependency>sox-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>perl-mlt</Name>
<PartOf>programming.language.perl</PartOf>
<Summary>Perl bindings for MLT</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>perl</Dependency>
<Dependency release="current">mlt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/perl*</Path>
</Files>
</Package>
<Package>
<Name>python-mlt</Name>
<PartOf>programming.language.python</PartOf>
<Summary>Python bindings for MLT</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>python</Dependency>
<Dependency release="current">mlt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python*</Path>
</Files>
</Package>
<Package>
<Name>mlt</Name>
<RuntimeDependencies>
<Dependency>sox</Dependency>
<Dependency>fftw3</Dependency>
<Dependency>glib2</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libexif</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>qt5-svg</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>libsamplerate</Dependency>
<Dependency>jack-audio-connection-kit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/mlt</Path>
<Path fileType="data">/usr/share/mlt/modules</Path>
<Path fileType="data">/usr/share/mlt/modules/lumas/PAL</Path>
</Files>
</Package>
<Package>
<Name>mlt-devel</Name>
<Summary>Development files for mlt</Summary>
<RuntimeDependencies>
<Dependency release="current">mlt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-11-16</Date>
<Version>0.9.8</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-12-30</Date>
<Version>0.9.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-11-28</Date>
<Version>0.9.0</Version>
<Comment>fix build and ver. bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="3">
<Date>2013-07-28</Date>
<Version>0.8.8</Version>
<Comment>missing dep..</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-29</Date>
<Version>0.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-12-18</Date>
<Version>0.8.6</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>mlt</Name>
<Summary xml:lang="tr">Televizyon yayını için tasarlanmış bir çoklu ortam altyapısı</Summary>
<Description xml:lang="tr">MLT televizyon yayını için tasarlanmış, açık kaynak kodlu bir çoklu ortam alyapısıdır.</Description>
</Source>
<Package>
<Name>perl-mlt</Name>
<Summary xml:lang="tr">MLT için Perl bağlayıcıları</Summary>
</Package>
<Package>
<Name>python-mlt</Name>
<Summary xml:lang="tr">MLT için Python bağlayıcıları</Summary>
</Package>
<Package>
<Name>mlt-devel</Name>
<Summary xml:lang="tr">mlt için geliştirme dosyaları</Summary>
</Package>
</PISI>