games-engines/ioquake3: Add live development version
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
parent
0126ec75e6
commit
1f258b0675
2 changed files with 67 additions and 0 deletions
65
games-engines/ioquake3/ioquake3-1.36.9999.ebuild
Normal file
65
games-engines/ioquake3/ioquake3-1.36.9999.ebuild
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Community effort to maintain and improve the id Tech 3 engine"
|
||||
HOMEPAGE="https://www.ioquake3.org/"
|
||||
EGIT_REPO_URI="https://github.com/ioquake3/ioq3"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
curl? ( net-misc/curl )
|
||||
freetype? ( media-libs/freetype )
|
||||
ogg? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
)
|
||||
openal? ( media-libs/openal )
|
||||
opus? (
|
||||
media-libs/opus
|
||||
media-libs/opusfile
|
||||
)
|
||||
media-libs/libjpeg-turbo
|
||||
media-libs/libsdl2
|
||||
sys-libs/zlib
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
app-alternatives/yacc
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
IUSE="+client curl freetype ogg openal opus +renderer_gl1 renderer_gl2 +server"
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_CLIENT=$(usex client)
|
||||
-DBUILD_SERVER=$(usex server)
|
||||
-DBUILD_RENDERER_OPENGL1=$(usex renderer_gl1)
|
||||
-DBUILD_RENDERER_OPENGL2=$(usex renderer_gl2)
|
||||
-DBUILD_GAME_LIBRARIES=ON
|
||||
-DBUILD_GAME_QVMS=ON
|
||||
-DBUILD_STANDALONE=OFF
|
||||
-DUSE_OPENAL=$(usex openal)
|
||||
-DUSE_CODEC_VORBIS=$(usex ogg)
|
||||
-DUSE_CODEC_OPUS=$(usex opus)
|
||||
-DUSE_VOIP=OFF
|
||||
-DUSE_MUMBLE=OFF
|
||||
-DUSE_FREETYPE=$(usex freetype)
|
||||
-DUSE_INTERNAL_LIBS=OFF
|
||||
# Extra compilation time for yet unknown benefit
|
||||
# Disable by default
|
||||
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to play Quake III Arena, get the data files first"
|
||||
elog "How to get them will not be covered here, that's on you"
|
||||
elog "Then place it somewhere readable to the client executable"
|
||||
}
|
||||
|
|
@ -8,6 +8,8 @@
|
|||
<use>
|
||||
<flag name="client">Build the client binary (ioquake3)</flag>
|
||||
<flag name="freetype">Add support for FreeType</flag>
|
||||
<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>
|
||||
</use>
|
||||
<upstream>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue