Files
2026-04-15 16:52:18 +03:00

39 lines
956 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "xavs2-1.4/build/linux/"
y = ''.join([
' --prefix=/usr',
' --extra-ldflags="-Wl,-z,noexecstack"',
' --extra-cflags="-Wno-incompatible-pointer-types -Wno-implicit-function-declaration"',
' --chroma-format="all"',
' --enable-pic',
' --enable-shared',
# ' --disable-asm',
' --disable-avs',
' --disable-swscale',
' --disable-lavf',
' --disable-ffms',
' --disable-gpac',
' --disable-lsmash '
])
def setup():
autotools.rawConfigure(y)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR(), argument = 'install-{cli,lib-shared}')
pisitools.dodoc("../../COPYING")