libheif ver. bump

This commit is contained in:
Rmys
2023-11-02 17:29:53 +03:00
committed by GitHub
parent 8eef1cd610
commit ed037f58b7
2 changed files with 23 additions and 5 deletions
+11 -4
View File
@@ -7,16 +7,23 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
def setup():
shelltools.system("./autogen.sh")
autotools.configure("--enable-static=no --disable-go")
cmaketools.configure("-B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DAV1D=ON \
-DWITH_RAV1E=ON \
-DWITH_SvtEnc=ON")
def build():
autotools.make()
shelltools.cd("build")
cmaketools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("COPYING", "README*")