diff --git a/multimedia/video/xavs2/actions.py b/multimedia/video/xavs2/actions.py new file mode 100755 index 0000000000..afc008552a --- /dev/null +++ b/multimedia/video/xavs2/actions.py @@ -0,0 +1,39 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.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 get + +NoStrip=["/usr/lib"] + +def setup(): + shelltools.cd("build/linux") + autotools.rawConfigure("--prefix=/usr \ + --extra-ldflags='-Wl,-z,noexecstack' \ + --chroma-format='all' \ + --enable-shared \ + --enable-lto \ + --enable-pic \ + --disable-swscale \ + --disable-lavf \ + --disable-ffms \ + --disable-gpac \ + ") + +def build(): + shelltools.cd("build/linux") + autotools.make() + +def install(): + shelltools.cd("build/linux") + autotools.rawInstall("DESTDIR=%s" %get.installDIR()) + pisitools.remove("/usr/lib/libxavs2.a") + shelltools.cd("../..") + pisitools.dodoc("COPYING", "README.md") + diff --git a/multimedia/video/xavs2/pspec.xml b/multimedia/video/xavs2/pspec.xml new file mode 100755 index 0000000000..a497048032 --- /dev/null +++ b/multimedia/video/xavs2/pspec.xml @@ -0,0 +1,54 @@ + + + + + xavs2 + https://github.com/pkuvcl/xavs2/ + + Mathias Freire + mathiasfreire45@gmail.com + + GPL + library + Open-Source encoder of AVS2-P2/IEEE1857.4 video coding standard + Open-Source encoder of AVS2-P2/IEEE1857.4 video coding standard + https://github.com/pkuvcl/xavs2/archive/1.3.tar.gz + + + + xavs2 + + libgcc + + + /usr/bin + /usr/lib + /usr/share/doc + + + + + xavs2-devel + Header files for xavs2. + + xavs2 + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-01-14 + 1.3 + First release. + Idris Kalp + idriskalp@gmail.com + + + + + +