actions.py 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. from pisi.actionsapi import mesontools
  10. from pisi.actionsapi import get
  11. def setup():
  12. mesontools.configure("-Dshaderc=disabled \
  13. -Ddemos=false \
  14. -Dxxhash=enabled \
  15. -Dlcms=enabled \
  16. -Dvulkan=enabled \
  17. -Dglslang=enabled \
  18. -Dd3d11=disabled \
  19. -Dlibdovi=disabled \
  20. -Dopengl=disabled")
  21. def build():
  22. mesontools.build()
  23. def install():
  24. mesontools.install()
  25. #shelltools.cd("..")
  26. pisitools.dodoc("RELEASING*", "LICENSE", "README*")