actions.py 750 B

1234567891011121314151617181920212223242526
  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 pisitools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import qt6, get
  9. def setup():
  10. shelltools.system("sed -i '/-Werror/d' common-project-config.pri")
  11. pisitools.dosed("common-project-config.pri", "lib64", "lib")
  12. # qt6.configure
  13. shelltools.system("qmake6-qt6 PREFIX=/usr LIBDIR=/usr/lib")
  14. def build():
  15. # qt6.make("PREFIX=/usr LIBDIR=/usr/lib")
  16. shelltools.system("make")
  17. def install():
  18. # qt6.install()
  19. shelltools.system("make INSTALL_ROOT=%s install" % get.installDIR())
  20. pisitools.dodoc("COPYING", "README*")