media-libs/libcsfml - 2.6.1 (thuis)

Search

Install

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

Package Information

Description:
C bindings for SFML
Homepage:
https://www.sfml-dev.org/ https://github.com/SFML/CSFML
License:
ZLIB

Ebuild Details

Version EAPI Keywords Slot
2.6.1 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

USE Flags

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

Global/Standard Flags

doc

Inherited Eclasses

Dependencies

DEPEND

	media-libs/libsfml:0/2.6
	doc? ( app-text/doxygen )

RDEPEND

media-libs/libsfml:0/2.6

BDEPEND

	media-libs/libsfml:0/2.6
	doc? ( app-text/doxygen )

Manifest for 2.6.1

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