add vapoursynth.

This commit is contained in:
4fury-c3440d8
2021-12-11 17:27:49 +03:00
parent 8334e02f2b
commit c2e2100b3a
2 changed files with 99 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, autotools, pisitools, get
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-static")
def build():
autotools.make()
# doc compilation.
shelltools.cd("doc")
autotools.make("html man")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# doc installation.
pisitools.doman("doc/_build/man/*")
shelltools.copytree("doc/_build/html", "%s/usr/share/vapoursynth/html" % get.installDIR())