# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit cmake MY_P=SFCGAL-v${PV} DESCRIPTION="SFCGAL provides standard compliant geometry types and operations." HOMEPAGE="http://sfcgal.org/" LICENSE="LGPL-2" SLOT="0" KEYWORDS="amd64 x86" SRC_URI="https://gitlab.com/Oslandia/SFCGAL/-/archive/v${PV}/SFCGAL-v${PV}.tar.bz2 -> ${P}.tar.bz2" IUSE="osg" RDEPEND=" dev-libs/boost >=dev-libs/gmp-6.2.0 >=dev-libs/mpfr-4.1.0 >=sci-mathematics/cgal-4.14 osg? ( dev-games/openscenegraph:= ) " DEPEND="${RDEPEND}" S="${WORKDIR}/${MY_P}" src_configure() { local mycmakeargs=( -DSFCGAL_WITH_OSG=$(usex osg) ) cmake_src_configure }