actions.py 907 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. i = "--enable-xorg-libinput \
  10. --enable-upower-glib \
  11. --enable-libxklavier \
  12. --enable-libnotify \
  13. --enable-gio-unix \
  14. --enable-xcursor \
  15. --enable-colord \
  16. --enable-xrandr \
  17. --disable-pluggable-dialogs \
  18. --disable-sound-settings \
  19. --enable-x11 \
  20. --enable-wayland \
  21. --disable-static \
  22. "
  23. def setup():
  24. autotools.configure(i)
  25. pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
  26. def build():
  27. autotools.make()
  28. def install():
  29. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  30. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS")