- Use the "new modern CMake path" and tweak CMake switches accordingly.
- Drop USE="ssl" since it is no longer optional (and unconditionally
depend on 'mbedtls').
- Add USE="sndio" to enable sndio support.
- Add python 3.13 and remove 3.9 compatibility.
- Enable both, "legacy ffmpeg" and the new, "native" nvenc with
USE="nvenc".
- Tweak formatting on lines longer than 120 characters.
- Add USE="test-input" for building and installing test sources.
- De-wire up tests, since upstream did not bring building unit tests
along with the latest CMake changes, as they are "unmaintained and
not supported for a very long time" [1].
1. https://github.com/obsproject/obs-studio/issues/11115
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
This restores "legacy ffmpeg" being used via USE="nvenc", which
seems to be more in line with the upstream default for the time
being, and there seem to be potential performance problems [1]
with the new, "native nvenc", so stick to "legacy" for now.
The next non-patch release should have CMake options tweaked to
handle these better (will be in 9999 soon), and if there is
want for experimenting more with it already, can always flip
it using 'MYCMAKEARGS="-DENABLE_NATIVE_NVENC=ON"'.
1. https://github.com/obsproject/obs-studio/issues/11009
Closes: https://bugs.gentoo.org/936826
Closes: https://bugs.gentoo.org/938022
Closes: https://github.com/gentoo/gentoo/pull/37755
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
A 2022 release, how modern. :D Ignore the part where the tag name
contains the date "2020".
It obsoletes the patch as well, which seems good. However it does NOT
fix the LTO issue.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This has been present since the initial import into cvs:
https://gitweb.gentoo.org/archive/repo/gentoo-2.git/commit/?id=fe5d632c39746b7b396434277896dd0e58e15567
It does not seem to have made any sense at the time -- the compile phase
required running `emake -f ../make/Makefile***` because upstream was one
of those projects that apparently liked having code separate from ways
to build the code (???) and no src_test was defined at all. So having a
test dependency made no real sense as tests were never run!!!
There is an actual test phase today. It manually runs an sh script, and
tcsh still isn't involved anywhere. There are two entirely separate tcsh
scripts in the upstream codebase, though.
Regardless, having this test dependency is nonsensical. So is having
IUSE=test and a matching RESTRICT. None of this gets us *anything*.
Therefore, drop it.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>