diff --git a/multimedia/misc/svt-av1/actions.py b/multimedia/misc/svt-av1/actions.py index 4003a7e1aa..d45cc09f4e 100644 --- a/multimedia/misc/svt-av1/actions.py +++ b/multimedia/misc/svt-av1/actions.py @@ -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") diff --git a/multimedia/misc/svt-av1/pspec.xml b/multimedia/misc/svt-av1/pspec.xml index 2fc7a46d28..7d6e22cd2e 100644 --- a/multimedia/misc/svt-av1/pspec.xml +++ b/multimedia/misc/svt-av1/pspec.xml @@ -1,5 +1,5 @@ - + svt-av1 @@ -10,11 +10,13 @@ custom library - Scalable Video Technology AV1 encoder and decoder - Ölçeklenebilir Video Teknolojisi AV1 kodlayıcı ve kod çözücü - https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v0.8.7/SVT-AV1-v0.8.7.tar.bz2 + Scalable Video Technology AV1 encoder and decoder. + The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an AV1-compliant software encoder/decoder library. + + https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v0.9.1/SVT-AV1-v0.9.1.tar.bz2 + - nasm + yasm cmake