- Emscripten is neither packaged in ::gentoo nor in ::guru.
- The build system unconditionally builds a static library.
Upstream argues that the BPG decoding library API is not stable yet
and does not provide a shared library (yet).
Let's ship the already available static library then.
- Enable fast x265 as a sensible default for the BPG encoder instead
of setting REQUIRED_USE="|| ( x265 jctcv )".
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
libnuma support is optional. If sys-process/numactl is installed, it
will be used, if not, not. The check for libnuma happens in CMake, which
is called by the Makefile. But the Makefile also needs to know if it
should link in libnuma or not. No one tells it. I chose the easy way out
of this pickle, made libnuma mandatory and added `-lnuma` to LIBS.
Closes: https://bugs.gentoo.org/781113
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
CMake is called from the Makefile and it can't find the compilers if
there are no `cc` and `cxx` symlinks. Inheriting cmake.eclass would
require us to run cmake_src_prepare which would interfere with
upstream's build system.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>