svt-av1-0.9.1

This commit is contained in:
4fury-c3440d8
2023-01-04 09:08:43 +03:00
parent edf48c38a7
commit ff4a35f73a
2 changed files with 25 additions and 9 deletions
+11 -4
View File
@@ -1,16 +1,23 @@
#!/usr/bin/env python
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DSVT_AV1_LTO=OFF',
' -DSVT_AV1_PGO=OFF',
' -DBUILD_TESTING=OFF -L '
])
def setup():
pisitools.ldflags.add("-Wl,-z,noexecstack")
cmaketools.configure("-DBUILD_TESTING=OFF")
cmaketools.configure(j)
def build():
cmaketools.make()
@@ -18,4 +25,4 @@ def build():
def install():
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("CHANGELOG*", "LICENSE*", "README*")
pisitools.dodoc("CHANGELOG.md")