Install this version:
emerge -a =media-libs/libcsfml-2.6.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/libcsfml-2.6.1
Or alternatively:
emerge --autounmask-write -a =media-libs/libcsfml-2.6.1
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Taken from https://gitlab.com/plexvola/vaacus/-/blob/master/media-libs/libcsfml/libcsfml-2.5.ebuild
EAPI=8
inherit cmake
DESCRIPTION="C bindings for SFML"
HOMEPAGE="https://www.sfml-dev.org/ https://github.com/SFML/CSFML"
SRC_URI="https://github.com/SFML/CSFML/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/CSFML-${PV}"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc"
RDEPEND="media-libs/libsfml:0/2.6"
BDEPEND="
${RDEPEND}
doc? ( app-text/doxygen )
"
DEPEND="${BDEPEND}"
DOCS="readme.md"
src_prepare() {
sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \
doc/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
local MYCMAKEARGS=(
-DCSFML_BUILD_DOC=$(usex doc)
)
cmake_src_configure
}
src_install() {
cmake_src_install
}
Manage flags for this package:
euse -i <flag> -p media-libs/libcsfml |
euse -E <flag> -p media-libs/libcsfml |
euse -D <flag> -p media-libs/libcsfml
media-libs/libsfml:0/2.6 doc? ( app-text/doxygen )
media-libs/libsfml:0/2.6
media-libs/libsfml:0/2.6 doc? ( app-text/doxygen )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libcsfml-2.6.1.tar.gz | 328217 bytes | https://github.com/SFML/CSFML/archive/2.6.1.tar.gz |