actions.py 648 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 https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import cmaketools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. j = ''.join([
  10. ' -DCMAKE_BUILD_TYPE=Release',
  11. ' -DSVT_AV1_LTO=OFF',
  12. ' -DSVT_AV1_PGO=OFF',
  13. ' -DBUILD_TESTING=OFF -L '
  14. ])
  15. def setup():
  16. pisitools.ldflags.add("-Wl,-z,noexecstack")
  17. cmaketools.configure(j)
  18. def build():
  19. cmaketools.make()
  20. def install():
  21. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  22. pisitools.dodoc("CHANGELOG.md")