mlt rebuild
This commit is contained in:
@@ -7,34 +7,52 @@
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("LDFLAGS", get.LDFLAGS())
|
||||
|
||||
autotools.configure("--enable-gpl \
|
||||
--enable-gpl3 \
|
||||
--disable-gtk2 \
|
||||
--qt-libdir=/usr/lib/ \
|
||||
--qt-includedir=/usr/include/qt5 \
|
||||
--avformat-vdpau \
|
||||
--avformat-swscale")
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DMOD_OPENCV=ON \
|
||||
-DSWIG_PERL=ON \
|
||||
-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
|
||||
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():
|
||||
autotools.make()
|
||||
autotools.make("-C src/swig")
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
#cmaketools.make("-C src/swig")
|
||||
|
||||
#autotools.make()
|
||||
#autotools.make("-C src/swig")
|
||||
|
||||
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 :(
|
||||
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/%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.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("COPYING", "GPL*", "README")
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("COPYING", "GPL*", "README*")
|
||||
|
||||
@@ -12,11 +12,13 @@
|
||||
<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="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>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>swig</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>opencv-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>frei0r-plugins-devel</Dependency>
|
||||
@@ -77,6 +79,7 @@
|
||||
<Dependency>fftw3</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>opencv</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
@@ -99,9 +102,10 @@
|
||||
<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-7</Path>
|
||||
<Path fileType="data">/usr/share/mlt/modules</Path>
|
||||
<Path fileType="data">/usr/share/mlt/modules/lumas/PAL</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -119,6 +123,13 @@
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2021-06-17</Date>
|
||||
<Version>6.26.1</Version>
|
||||
|
||||
Reference in New Issue
Block a user