games-engines/ioquake3: add toggle USE for VoIP support
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
parent
a2d4cd5e0a
commit
a5395fc323
3 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue