gst-python3: fix meson build

This commit is contained in:
suvari
2020-01-22 01:19:36 +03:00
parent 644e5ed868
commit 18673f0ad0
3 changed files with 34 additions and 16 deletions
@@ -4,22 +4,19 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
from pisi.actionsapi import get
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
def setup():
shelltools.export("PYTHON", "/usr/bin/python3.8")
autotools.autoreconf("-vfi")
autotools.configure("--disable-static")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
mesontools.configure()
def build():
autotools.make()
mesontools.build()
def check():
mesontools.build("test")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
pisitools.dodoc("AUTHORS", "ChangeLog" ,"COPYING", "README", "TODO")