summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-17 00:52:30 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-17 00:54:36 +0200
commitc55d70f2f39a759c81554c0ee609cae389761c76 (patch)
tree9b62ea202196b4e676d860a15875335dcea78c7c /dev-games
parentsys-apps/rng-tools: bump to 6.3.1 (diff)
downloadgentoo-c55d70f2f39a759c81554c0ee609cae389761c76.tar.gz
gentoo-c55d70f2f39a759c81554c0ee609cae389761c76.tar.bz2
gentoo-c55d70f2f39a759c81554c0ee609cae389761c76.zip
dev-games/newton: 3.14 version bump
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/newton/Manifest1
-rw-r--r--dev-games/newton/newton-3.14.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-games/newton/Manifest b/dev-games/newton/Manifest
index 0ad456b309b..59eace5a1b8 100644
--- a/dev-games/newton/Manifest
+++ b/dev-games/newton/Manifest
@@ -1 +1,2 @@
DIST newton-3.13.zip 61059070 BLAKE2B d77dddb222084e2b0c56aa5d7c919f8aaeb00825027d5b75cfeaa33f2e893f7b2ac5f0cd5d14ff387edc924f2c22f11a9b5ca0e00976e4572f2821f78cc819e3 SHA512 767078222569fa6f3b0564fc5882eaa439b76b636101128f19db5047547b91e4a8be45ba8fadc426345db7784a17a7d1c22dce7e87533cba36fd70d145881f32
+DIST newton-3.14.tar.gz 31417588 BLAKE2B 40704d614928ea2927f21201d924641766cbb32393e3d1cc36ea8fca2158625847e20ec2f0b3fa9e70f30bb1d6f4d8c4795e19873392b8211b0efb015ccc10c7 SHA512 c86775329921faafc061516db8473ef3b17ee407ffe3d6aaca604f1b733f837bef18d394b2251dfa9cd1296e0f3c3ba61803e0e9b43a4ecb6abe42640b4773eb
diff --git a/dev-games/newton/newton-3.14.ebuild b/dev-games/newton/newton-3.14.ebuild
new file mode 100644
index 00000000000..e998f8cc5f0
--- /dev/null
+++ b/dev-games/newton/newton-3.14.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs
+
+MY_P="${PN}-dynamics-${P}"
+DESCRIPTION="Integrated solution for real time simulation of physics environments"
+HOMEPAGE="http://newtondynamics.com/forum/newton.php"
+SRC_URI="https://github.com/MADEAPPS/newton-dynamics/archive/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed -i -e '/packages/d' CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX=/usr/
+ -DNEWTON_DEMOS_SANDBOX=OFF
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ )
+ cmake-utils_src_configure
+}