Install this version:
emerge -a =games-fps/crl-2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-fps/crl-2.0
Or alternatively:
emerge --autounmask-write -a =games-fps/crl-2.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.0 | 8 | ~amd64 | 0 |
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Playtesting focused Doom engine"
HOMEPAGE="https://jnechaevsky.github.io/crl/"
SRC_URI="https://github.com/JNechaevsky/CRL/archive/refs/tags/${P}.tar.gz"
S=${WORKDIR}/CRL-${P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+sdl2-mixer fluidsynth lto asan"
DEPEND="
>=dev-libs/miniz-2.0.0
>=media-libs/libsdl2-2.0.18
media-libs/libsamplerate
fluidsynth? ( >=media-sound/fluidsynth-2.2.0 )
sdl2-mixer? ( >=media-libs/sdl2-mixer-2.0.2[flac,mp3,opus,timidity] )
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-textscreen-include.patch"
)
src_configure() {
local mycmakeargs=(
-DENABLE_LTO=$(usex lto On Off)
-DENABLE_ASAN=$(usex asan ON OFF)
-DENABLE_SDL2_MIXER=$(usex sdl2-mixer ON OFF)
-DHAVE_FLUIDSYNTH=$(usex fluidsynth ON OFF)
)
cmake_src_configure
}
src_install() {
dobin "${BUILD_DIR}/src/crl-doom"
dobin "${BUILD_DIR}/src/crl-setup"
}
Manage flags for this package:
euse -i <flag> -p games-fps/crl |
euse -E <flag> -p games-fps/crl |
euse -D <flag> -p games-fps/crl
>=dev-libs/miniz-2.0.0 >=media-libs/libsdl2-2.0.18 media-libs/libsamplerate fluidsynth? ( >=media-sound/fluidsynth-2.2.0 ) sdl2-mixer? ( >=media-libs/sdl2-mixer-2.0.2[flac,mp3,opus,timidity] )
>=dev-libs/miniz-2.0.0 >=media-libs/libsdl2-2.0.18 media-libs/libsamplerate fluidsynth? ( >=media-sound/fluidsynth-2.2.0 ) sdl2-mixer? ( >=media-libs/sdl2-mixer-2.0.2[flac,mp3,opus,timidity] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | crl-2.0.tar.gz | 22965169 bytes | https://github.com/JNechaevsky/CRL/archive/refs/tags/crl-2.0.tar.gz |