actions.py 813 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import mesontools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def setup():
  10. pisitools.dosed("meson.build", "47.beta", "47")
  11. mesontools.configure("-Degl_device=true \
  12. -Dwayland_eglstream=true \
  13. -Dudev=true \
  14. -Dnative_backend=true \
  15. -Dintrospection=true \
  16. -Dlibdisplay_info=enabled \
  17. -Dinstalled_tests=false")
  18. def build():
  19. mesontools.build()
  20. def install():
  21. mesontools.install()
  22. pisitools.dodoc("NEWS", "README.md", "COPYING")