summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-08-06 06:47:05 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-08-06 08:42:51 -0400
commita18ddc89d1dc12953f7eb5cac686c30e89d4c0c3 (patch)
tree6c5c2c479997d9495dedfb710f96471bc4a1a5b5 /dev-games/freesolid
parentdev-ros/poco_vendor: bump to 1.2.1 (diff)
downloadgentoo-a18ddc89d1dc12953f7eb5cac686c30e89d4c0c3.tar.gz
gentoo-a18ddc89d1dc12953f7eb5cac686c30e89d4c0c3.tar.bz2
gentoo-a18ddc89d1dc12953f7eb5cac686c30e89d4c0c3.zip
dev-games/freesolid: new package 2.1.2
To unbundle from >=games-sports/speed-dreams-2.2 Closes: https://bugs.gentoo.org/578918 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-games/freesolid')
-rw-r--r--dev-games/freesolid/Manifest1
-rw-r--r--dev-games/freesolid/freesolid-2.1.2.ebuild37
-rw-r--r--dev-games/freesolid/metadata.xml11
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-games/freesolid/Manifest b/dev-games/freesolid/Manifest
new file mode 100644
index 000000000000..491a08bc189f
--- /dev/null
+++ b/dev-games/freesolid/Manifest
@@ -0,0 +1 @@
+DIST FreeSOLID-2.1.2.zip 605512 BLAKE2B f0e616ac58a7b15b74687a27a21a170087d4ea0b7563ddb7f2f144cfb02eb03b1b3979e8e43248a5fb42fa984e7e2757123335aaaa298a9fe8b05cfbd0fff898 SHA512 8139c88e0295fcc4a4f9c050bbf71c89c80cb9fc68fee99c1bda6c77f8f7e47e632d909d46581e65a8b72ca18dbce5b70046ce93ce913374594a981e8dd26556
diff --git a/dev-games/freesolid/freesolid-2.1.2.ebuild b/dev-games/freesolid/freesolid-2.1.2.ebuild
new file mode 100644
index 000000000000..d3e7d5bb6adb
--- /dev/null
+++ b/dev-games/freesolid/freesolid-2.1.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_P="FreeSOLID-${PV}"
+
+DESCRIPTION="Library for collision detection of three-dimensional objects"
+HOMEPAGE="https://sourceforge.net/projects/freesolid/"
+SRC_URI="mirror://sourceforge/freesolid/${MY_P}.zip"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip"
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -i 's/ \(-ffast-math -msse\|-mfpmath=sse\)//' CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=( -DBUILD_SHARED_LIBS=no )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ doinfo doc/solid2.info
+}
diff --git a/dev-games/freesolid/metadata.xml b/dev-games/freesolid/metadata.xml
new file mode 100644
index 000000000000..cfcf231e95ab
--- /dev/null
+++ b/dev-games/freesolid/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">freesolid</remote-id>
+ </upstream>
+</pkgmetadata>