games-engines/ioquake3: add toggle USE for VoIP support

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki 2026-06-06 08:40:12 -03:00
commit a5395fc323
3 changed files with 5 additions and 4 deletions

View file

@ -34,7 +34,7 @@ BDEPEND="
virtual/pkgconfig
"
IUSE="+client curl freetype ogg openal opus +renderer_gl1 renderer_gl2 +server"
IUSE="+client curl freetype ogg openal opus +renderer_gl1 +renderer_gl2 +server voip"
PATCHES=(
"${FILESDIR}/patch-20260603-disable-forced-lto.diff"
@ -52,7 +52,7 @@ src_configure() {
-DUSE_OPENAL=$(usex openal)
-DUSE_CODEC_VORBIS=$(usex ogg)
-DUSE_CODEC_OPUS=$(usex opus)
-DUSE_VOIP=OFF
-DUSE_VOIP=$(usex voip)
-DUSE_MUMBLE=OFF
-DUSE_FREETYPE=$(usex freetype)
-DUSE_INTERNAL_LIBS=OFF

View file

@ -33,7 +33,7 @@ BDEPEND="
virtual/pkgconfig
"
IUSE="+client curl freetype ogg openal opus +renderer_gl1 renderer_gl2 +server"
IUSE="+client curl freetype ogg openal opus +renderer_gl1 +renderer_gl2 +server voip"
src_configure() {
local -a mycmakeargs=(
@ -47,7 +47,7 @@ src_configure() {
-DUSE_OPENAL=$(usex openal)
-DUSE_CODEC_VORBIS=$(usex ogg)
-DUSE_CODEC_OPUS=$(usex opus)
-DUSE_VOIP=OFF
-DUSE_VOIP=$(usex voip)
-DUSE_MUMBLE=OFF
-DUSE_FREETYPE=$(usex freetype)
-DUSE_INTERNAL_LIBS=OFF

View file

@ -11,6 +11,7 @@
<flag name="renderer_gl1">Build the opengl1 client / renderer library</flag>
<flag name="renderer_gl2">Build the opengl2 client / renderer library</flag>
<flag name="server">Build the server binary (ioq3ded)</flag>
<flag name="voip">Enable VoIP support</flag>
</use>
<upstream>
<remote-id type="github">ioquake3/ioq3</remote-id>