PKGNAME=movit
PKGSEC=libs
PKGDEP="fftw libepoxy eigen"
PKGDES="GPU video filter library"

ABTYPE=autotools
# value of `with_demo_app` depends on availability of sdl2-image and libpng
# value of `with_benchmark` depends on availability of benchmark
AUTOTOOLS_AFTER=(
    "--disable-coverage"
)

# FIXME: make: *** No rule to make target 'effect_util.lo', needed by 'libmovit.la'.  Stop.
ABSHADOW=0

# Note: I mean, seriously, disable, coverage, tests...
ABMK="TESTS= with_coverage=no"
MAKE_AFTER="TEST="

# FIXME: Parallel build fails on ppc64el and riscv64.
# 
# /usr/bin/ld: cannot find resource_pool.o: No such file or directory
# make: *** [Makefile:186: make_bundled_shaders] Error 1
NOPARALLEL__PPC64EL=1
NOPARALLEL__RISCV64=1
