dev-games/freesolid - 2.1.2 (gentoo)

Search

Install

Install this version:

emerge -a =dev-games/freesolid-2.1.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-games/freesolid-2.1.2

Or alternatively:

emerge --autounmask-write -a =dev-games/freesolid-2.1.2

Package Information

Description:
Library for collision detection of three-dimensional objects
Homepage:
https://sourceforge.net/projects/freesolid/
License:
LGPL-2.1+

Ebuild Details

Version EAPI Keywords Slot
2.1.2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

MY_P="FreeSOLID-${PV}"

DESCRIPTION="Library for collision detection of three-dimensional objects"
HOMEPAGE="https://sourceforge.net/projects/freesolid/"
SRC_URI="https://downloads.sourceforge.net/freesolid/${MY_P}.zip"
S="${WORKDIR}/${MY_P}"

LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

BDEPEND="app-arch/unzip"

src_prepare() {
	sed -e 's/ \(-ffast-math -msse\|-mfpmath=sse\)//' \
		-e "/cmake_minimum_required/s/2\.8\.8/3\.10/" \
		-i CMakeLists.txt || die

	cmake_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DBUILD_SHARED_LIBS=no
	)

	cmake_src_configure
}

src_install() {
	cmake_src_install

	doinfo doc/solid2.info
}

Inherited Eclasses

Dependencies

BDEPEND

app-arch/unzip

Manifest for 2.1.2

Type File Size Source URLs
DIST FreeSOLID-2.1.2.zip 605512 bytes https://downloads.sourceforge.net/freesolid/FreeSOLID-2.1.2.zip