actions.py 697 B

12345678910111213141516171819202122232425
  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 kde6
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. kde6.configure("-DCMAKE_BUILD_TYPE=Release \
  10. -DCMAKE_INSTALL_PREFIX=/usr \
  11. -DKDE_INSTALL_LIBDIR=lib \
  12. -DINCLUDE_DIR=/include/gtk-3.0/gtk \
  13. -DLIBEXEC_INSTALL_DIR=lib \
  14. -DSYSCONF_INSTALL_DIR=/etc \
  15. -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
  16. -DBUILD_TESTING=OFF")
  17. def build():
  18. kde6.make()
  19. def install():
  20. kde6.install()