actions.py 893 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file https://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import get, mesontools, pisitools
  7. def setup():
  8. pisitools.ldflags.add("-lX11 -lICE -lSM")
  9. mesontools.configure("--libexecdir=/usr/lib/%s \
  10. -Dmathjax-directory=/usr/share/mathjax2 \
  11. -Depub=true \
  12. -Dcomics=true \
  13. -Ddjvu=false \
  14. -Ddvi=false \
  15. -Dt1lib=true \
  16. -Dpixbuf=true \
  17. -Dhelp_files=true \
  18. -Dintrospection=true" % get.srcNAME())
  19. def build():
  20. mesontools.build()
  21. def install():
  22. mesontools.install()
  23. pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS")