These prefix targets don't possess virtual/rust. Mask the entire unified
set of "masks for profiles that cannot build rust software".
Revert "mask USE=native-extensions for dulwich". (It is redundant with
wd40.)
This reverts commit 894c69b767.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Acked-by: Sam James <sam@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
The VTK <-> OpenCASCADE interaction is cumbersome with their circular inclusion
and non-namespaced exporting of defines in cmake files.
Since we do not want `OpenCASCADE` polluting our build environment with
e.g. `-DHAVE_FFMPEG=true`, we require `VTK` to be build without `OpenCASCADE`
support or `OpenCASCADE` to be build without ffmpeg support.
Closes: https://bugs.gentoo.org/929217
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
The prior logic expanded CMAKE_SKIP_TESTS for each tests. Filtering testcases
that do exist for that test.
Split that up to be set per test.
Do not run the testphase for abi_x86_32 as they are never build.
Skip CUDA related tests when we can not access the render devices. Usually due
to the build user not being in the video group.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This should lower the burden since OpenCV is now a hard-dep of
kde-apps/spectacle.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Explicitly specify `videoio` plugins.
Disable plugins for `highgui`, as this would otherwise autodetect gtk2.
`opengl` support would require `x11-libs/gtkglext` which is obsolete, reflect
that in `REQUIRED_USE`.
Bug: https://bugs.gentoo.org/698950
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
We prefetch the files so we actually need to use the download logic.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Use CUDAHOSTLD to initialise CMAKE_CUDA_HOST_LINK_LAUNCHER and use the system
linker.
This fixes the linking issues with gdal, openexr & tbb, so remove the
`REQUIRED_USE`.
Closes: https://bugs.gentoo.org/928605
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Rename cuda_get_cuda_compiler -> cuda_get_host_compiler.
Use cached NVCC_CCBIN or CUDAHOSTCXX value if possible.
This now exports NVCC_CCBIN and echos its value.
Cleanup logic.
Lookup starts with the current compiler and iterates over the installed version
of the selected compiler type, skipping the current compiler version.
Closes: https://bugs.gentoo.org/928605
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Linking against abseil-cpp depended on protobuf exporting all abseil-cpp
libraries via protobuf::libprotobuf public libraries.
Explicitly finding abseil ourselves removes the need for that.
Closes: https://bugs.gentoo.org/939076
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Upstream now selects vulkan by default over egl (aka users can remove
gpu-api=vulkan from their mpv.conf for same effect), so it makes sense
to be enabled by default here as well regardless of desktop profiles.
Do keep egl enabled as well given low footprint and it still acts
as a fallback for whomever vulkan was not usable. Users that know they
don't need it can still safely disable it though (incl. USE=opengl on
libplacebo).
Any users getting problems with vulkan can either disable it here,
or do gpu-api=opengl in their mpv.conf, support for it is not going
anywhere.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>