31 lines
849 B
Python
31 lines
849 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 3.
|
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
|
|
|
from pisi.actionsapi import mesontools
|
|
from pisi.actionsapi import pisitools
|
|
from pisi.actionsapi import get
|
|
|
|
|
|
def setup():
|
|
# pisitools.dosed("meson.build", "47.beta", "47")
|
|
mesontools.configure("-Degl_device=true \
|
|
-Dwayland_eglstream=true \
|
|
-Dudev=true \
|
|
-Dx11=true \
|
|
-Dudev_dir=/lib/udev \
|
|
-Dnative_backend=true \
|
|
-Dintrospection=true \
|
|
-Dinstalled_tests=false")
|
|
|
|
def build():
|
|
mesontools.build()
|
|
|
|
def install():
|
|
mesontools.install()
|
|
|
|
pisitools.dodoc("NEWS", "README.md", "COPYING")
|
|
|