actions.py 1.2 KB

12345678910111213141516171819202122232425262728293031
  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 autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. from pisi.actionsapi import get
  10. def build():
  11. pisitools.dosed("avidemux_plugins/ADM_videoFilters6/ass/CMakeLists.txt", "0.19", "1.0")
  12. shelltools.system("bash ./bootStrap.bash")
  13. def install():
  14. autotools.install("-C buildCore DESTDIR=%s install" % get.installDIR())
  15. autotools.install("-C buildQt5 DESTDIR=%s install" % get.installDIR())
  16. autotools.install("-C buildCli DESTDIR=%s install" % get.installDIR())
  17. autotools.install("-C buildPluginsCommon DESTDIR=%s install" % get.installDIR())
  18. autotools.install("-C buildPluginsQt5 DESTDIR=%s install" % get.installDIR())
  19. autotools.install("-C buildPluginsCLI DESTDIR=%s install" % get.installDIR())
  20. autotools.install("-C buildPluginsSettings DESTDIR=%s install" % get.installDIR())
  21. shelltools.chmod(get.installDIR() + "/usr/lib/libADM6*")
  22. pisitools.insinto("/usr/share/pixmaps", "avidemux_icon.png", "avidemux.png")
  23. pisitools.dodoc("COPYING", "AUTHORS", "License*")
  24. pisitools.doman("man/*")