media-gfx/opencsg - 1.8.1 (gentoo)

Search

Package Information

Description:
The Constructive Solid Geometry rendering library
Homepage:
https://www.opencsg.org
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.8.1 8 amd64 ~arm64 ~ppc64 ~riscv x86 0/$(ver_cut 1-2)
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

MY_P="OpenCSG-${PV}"

DESCRIPTION="The Constructive Solid Geometry rendering library"
HOMEPAGE="https://www.opencsg.org"
SRC_URI="https://www.opencsg.org/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2+"
SLOT="0/$(ver_cut 1-2)"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
IUSE="doc"
RESTRICT="test"

DOCS=(
	build.txt
	changelog.txt
)

src_configure() {
	local mycmakeargs=(
		-DBUILD_EXAMPLE="no"
	)

	cmake_src_configure
}

src_install() {
	cmake_src_install

	if use doc; then
		local HTML_DOCS=(
			doc/.
		)
	fi

	einstalldocs
}

USE Flags

doc

Manifest for 1.8.1

Type File Size Source URLs
DIST OpenCSG-1.8.1.tar.gz 305467 bytes https://www.opencsg.org/OpenCSG-1.8.1.tar.gz