actions.py 795 B

1234567891011121314151617181920212223242526272829
  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 kde5
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def setup():
  10. kde5.configure("-DCMAKE_BUILD_TYPE=Release \
  11. -DCMAKE_SKIP_RPATH=ON \
  12. -DPHONON_BUILD_QT6=OFF \
  13. -DCMAKE_INSTALL_PREFIX=/usr \
  14. -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
  15. -DPHONON_BUILD_PHONON4QT5=ON \
  16. -D__KDE_HAVE_GCC_VISIBILITY=NO \
  17. -DCMAKE_INSTALL_LIBDIR=lib")
  18. def build():
  19. kde5.make()
  20. def install():
  21. kde5.install()
  22. pisitools.dodoc("AUTHORS", "COPYING*")