dav1d bump and spec clean up.

This commit is contained in:
4fury-c3440d8
2021-01-24 16:05:37 +00:00
parent ae8a2e54c8
commit 6c87a04392
4 changed files with 99 additions and 98 deletions
+14 -16
View File
@@ -2,29 +2,27 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.system("patch -p1 --binary < davs2-1.6-gcc8-fix.patch")
shelltools.cd("build/linux")
autotools.configure("--extra-ldflags='-Wl,-z,noexecstack' \
--chroma-format='all' \
--enable-shared \
")
shelltools.system("patch -p1 --binary < davs2-1.6-gcc8-fix.patch")
shelltools.cd("build/linux")
autotools.configure("--extra-ldflags='-Wl,-z,noexecstack' \
--chroma-format='all' \
--enable-shared ")
def build():
shelltools.cd("build/linux")
autotools.make()
shelltools.cd("build/linux")
autotools.make()
def install():
shelltools.cd("build/linux")
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
shelltools.cd("../..")
pisitools.dodoc("COPYING", "README.md")
shelltools.cd("build/linux")
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("../..")
pisitools.dodoc("COPYING", "README.md")