actions.py 899 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/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 get
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import shelltools
  10. from pisi.actionsapi import mesontools
  11. def setup():
  12. shelltools.system("sed '/parse_version/d' -i src/linux/integration-test.py")
  13. #pisitools.dosed("configure", "DISABLE_DEPRECATED", deleteLine=True)
  14. mesontools.configure("-Dgtk-doc=false \
  15. -Dudevrulesdir=/lib/udev/rules.d \
  16. -Dudevhwdbdir=/etc/udev/hwdb.d \
  17. -Dintrospection=enabled \
  18. -Dsystemdsystemunitdir=no")
  19. def build():
  20. mesontools.build()
  21. def install():
  22. mesontools.install()
  23. pisitools.dodoc("COPYING", "README")