actions.py 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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/copyleft/gpl.txt.
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import cmaketools
  8. def setup():
  9. cmaketools.configure("-DCMAKE_SKIP_RPATH=ON \
  10. -DWITH_LIBSYSTEMD=OFF \
  11. -DCMAKE_INSTALL_LIBDIR=lib \
  12. -DWITH_DSP_FFMPEG=ON \
  13. -DWITH_FFMPEG=ON \
  14. -DWITH_PULSE=ON \
  15. -DWITH_CUPS=ON \
  16. -DWITH_PCSC=ON \
  17. -DWITH_JPEG=ON \
  18. -DWITH_SERVER=ON \
  19. -DWITH_SWSCALE=ON \
  20. -DWITH_CHANNELS=ON \
  21. -DWITH_CLIENT_CHANNELS=ON \
  22. -DWITH_SERVER_CHANNELS=ON \
  23. -DCHANNEL_URBDRC_CLIENT=ON")
  24. def build():
  25. cmaketools.make()
  26. def check():
  27. pass
  28. def install():
  29. #cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  30. cmaketools.install()
  31. pisitools.dodoc("LICENSE", "README*", )