mlt rebuild

This commit is contained in:
Rmys
2021-08-30 12:08:52 +03:00
committed by GitHub
parent a354240fca
commit eda21aedc7
2 changed files with 47 additions and 18 deletions
+34 -16
View File
@@ -7,34 +7,52 @@
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
shelltools.export("LDFLAGS", get.LDFLAGS()) shelltools.export("LDFLAGS", get.LDFLAGS())
autotools.configure("--enable-gpl \ shelltools.makedirs("build")
--enable-gpl3 \ shelltools.cd("build")
--disable-gtk2 \
--qt-libdir=/usr/lib/ \ cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
--qt-includedir=/usr/include/qt5 \ -DMOD_OPENCV=ON \
--avformat-vdpau \ -DSWIG_PERL=ON \
--avformat-swscale") -DSWIG_PYTHON=ON", sourceDir="..")
#autotools.configure("--enable-gpl \
#--enable-gpl3 \
#--disable-gtk2 \
#--qt-libdir=/usr/lib/ \
#--qt-includedir=/usr/include/qt5 \
#--avformat-vdpau \
#--avformat-swscale")
# Enable bindings # Enable bindings
shelltools.echo("%s/src/swig/config.mak" % get.curDIR(), "SUBDIRS = perl python") #shelltools.echo("%s/src/swig/config.mak" % get.curDIR(), "SUBDIRS = perl python")
def build(): def build():
autotools.make() shelltools.cd("build")
autotools.make("-C src/swig") cmaketools.make()
#cmaketools.make("-C src/swig")
#autotools.make()
#autotools.make("-C src/swig")
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# We should manually install the bindings :( # We should manually install the bindings :(
pisitools.insinto("/usr/lib/%s/site-packages/" % get.curPYTHON(), "src/swig/python/mlt.py") #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.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.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.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("COPYING", "GPL*", "README")
shelltools.cd("..")
pisitools.dodoc("COPYING", "GPL*", "README*")
+13 -2
View File
@@ -12,11 +12,13 @@
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>A multimedia framework, designed and developed for television broadcasting</Summary> <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> <Description>MLT is an open source multimedia framework, designed and developed for television broadcasting.</Description>
<Archive sha1sum="1540b23483cf9c741795321404dac2446d517366" type="targz">https://github.com/mltframework/mlt/releases/download/v6.26.1/mlt-6.26.1.tar.gz</Archive> <Archive sha1sum="ea8a9933cdb9e1d47b40a3a5f96d564844f9e4e5" type="targz">https://github.com/mltframework/mlt/releases/download/v7.0.1/mlt-7.0.1.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>alsa-lib-devel</Dependency> <Dependency>alsa-lib-devel</Dependency>
<Dependency>swig</Dependency> <Dependency>swig</Dependency>
<Dependency>pango-devel</Dependency> <Dependency>pango-devel</Dependency>
<Dependency>opencv-devel</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>glib2-devel</Dependency> <Dependency>glib2-devel</Dependency>
<Dependency>frei0r-plugins-devel</Dependency> <Dependency>frei0r-plugins-devel</Dependency>
@@ -77,6 +79,7 @@
<Dependency>fftw3</Dependency> <Dependency>fftw3</Dependency>
<Dependency>pango</Dependency> <Dependency>pango</Dependency>
<Dependency>glib2</Dependency> <Dependency>glib2</Dependency>
<Dependency>opencv</Dependency>
<Dependency>ffmpeg</Dependency> <Dependency>ffmpeg</Dependency>
<Dependency>libX11</Dependency> <Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
@@ -99,9 +102,10 @@
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/mlt</Path> <Path fileType="data">/usr/share/mlt-7</Path>
<Path fileType="data">/usr/share/mlt/modules</Path> <Path fileType="data">/usr/share/mlt/modules</Path>
<Path fileType="data">/usr/share/mlt/modules/lumas/PAL</Path> <Path fileType="data">/usr/share/mlt/modules/lumas/PAL</Path>
<Path fileType="man">/usr/share/man</Path>
</Files> </Files>
</Package> </Package>
@@ -119,6 +123,13 @@
</Package> </Package>
<History> <History>
<Update release="13">
<Date>2021-08-28</Date>
<Version>7.0.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="12"> <Update release="12">
<Date>2021-06-17</Date> <Date>2021-06-17</Date>
<Version>6.26.1</Version> <Version>6.26.1</Version>