media-video/obs-studio: use 'CCACHE_PROGRAM' to disable ccache

Use 'CCACHE_PROGRAM' to disable the automagical ccache instead
of 'ENABLE_CCACHE', since the latter does not exist if a ccache
program is not found.

Closes: https://bugs.gentoo.org/947234
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
This commit is contained in:
Jimi Huotari 2025-08-06 12:06:43 +03:00
parent 115b642ced
commit cbb4c19342
No known key found for this signature in database
GPG Key ID: FAC2CB8201626193
2 changed files with 2 additions and 2 deletions

View File

@ -192,10 +192,10 @@ src_prepare() {
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(
-DCCACHE_PROGRAM=OFF
-DENABLE_ALSA=$(usex alsa)
-DENABLE_AJA=OFF
-DENABLE_BROWSER=$(usex browser)
-DENABLE_CCACHE=OFF
-DENABLE_DECKLINK=$(usex decklink)
-DENABLE_FFMPEG_NVENC=$(usex nvenc)
-DENABLE_FREETYPE=$(usex truetype)

View File

@ -192,10 +192,10 @@ src_prepare() {
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(
-DCCACHE_PROGRAM=OFF
-DENABLE_ALSA=$(usex alsa)
-DENABLE_AJA=OFF
-DENABLE_BROWSER=$(usex browser)
-DENABLE_CCACHE=OFF
-DENABLE_DECKLINK=$(usex decklink)
-DENABLE_FFMPEG_NVENC=$(usex nvenc)
-DENABLE_FREETYPE=$(usex truetype)