summaryrefslogtreecommitdiff
path: root/sci-misc/netlogo-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /sci-misc/netlogo-bin
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'sci-misc/netlogo-bin')
-rw-r--r--sci-misc/netlogo-bin/Manifest2
-rw-r--r--sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild (renamed from sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild)32
2 files changed, 19 insertions, 15 deletions
diff --git a/sci-misc/netlogo-bin/Manifest b/sci-misc/netlogo-bin/Manifest
index a555e695b74c..968928034e7a 100644
--- a/sci-misc/netlogo-bin/Manifest
+++ b/sci-misc/netlogo-bin/Manifest
@@ -10,5 +10,5 @@ DIST NetLogo-6.0.2-64.tgz 190213078 BLAKE2B 6b0a077538f3e3f3e7769c605a67f6bb6b79
DIST netlogo-5.0.3.tar.gz 66725456 BLAKE2B 85df19cd0ef501c903e9b2f2ee2a6ca39430a5f64e1086365b9a29baa3962a7e1d018001652db7da54f1d6623b477d644f7b745b30e2c3be3462f5cb4e5cb891 SHA512 39d660d5dbd7e74f072621a74bfc18648ed208b833b3d442f2a9dbefc673065c4a7bf0e4a8ebb670b4d4220ee7bec452cc97f32731a28ca2eb56656bea795b81
DIST netlogo.gif.tar 10240 BLAKE2B 5199290ca492dc4be03dac04a672b4a187daa6caa12a5a487137259071dad156e553ca7eea02f6cd7d66187e4956324fc2d3f2818f10f1557f276f003986be69 SHA512 9a9bc81660599d2b35875f301d5b9824bfa2dafa21dc96b1e6e281d4682ab7b4052844a961b46f5300131c91a4562c58e4b1a4d753cb2b24a18e64b42d333e32
EBUILD netlogo-bin-5.0.3-r1.ebuild 1681 BLAKE2B 4907b55b86a29235e581397536fc00dd6b1ea7f0a06523cd0930b6bd9b8b176ccce8696f60f49a1b78e30d56ca68aee7c1fdfccbc48410cf53203715a136e5e1 SHA512 e3c0bf2c4b81a69fb7f9155f744a20ca34fbd8099a7a8aafad8f9b64ed6a7adab1475dbda74724fa8eadcf6eaa393ca6ed6cdae30ef53df04f738e3578e7ec3d
-EBUILD netlogo-bin-6.0.2.ebuild 2573 BLAKE2B 5e0f7e6a660dac2656fae96294cc01fb0622049a329b11551ccaaf89599f11a6fff59c490022e180d04837270ecf83e5204835a796963160120fef31c48d4983 SHA512 4b5efd20cef885027f6c0ad07c4df68a7542d72549bca1c32c941b476248685b11c022e5de767df0854d94d4d3ac64b1b474e35c32703cb31c5c972bdca8a139
+EBUILD netlogo-bin-6.0.2-r1.ebuild 2664 BLAKE2B 0424fbf3e659aa26d62ce2b97609710560a9693274ead734e2d4e3e114b248c549d60e6222511fd552a84ed14393acdd55cafd64acf2b9601075701c2f48b9ac SHA512 54fd7cbbe5eb08b8c01dafb901b8a2ae650fe6091fc0a292fd1b7caab9152d3201d0d6abc3a2d61d2d70d4c3234ac7ffba23020397437bf5a1d28766f20eae8a
MISC metadata.xml 673 BLAKE2B d3bf352936babb7e5f8ae9e47f88899720920a23c5f421b63fd4f6e0235b58cef0e6a42fd04770aa92989b766bd986786a8c5ac264e316951fee2a0ce664e472 SHA512 2020dc83306d1152386c444ffaa488c0ec4529677b4a6239e2d23693018525d7bd63bcae18a3010f9cd71d3edd68f3fea15e95a264485160fc584b38f0c0a789
diff --git a/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild b/sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild
index ae454d5e6ce7..4aa943e61dee 100644
--- a/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild
+++ b/sci-misc/netlogo-bin/netlogo-bin-6.0.2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit desktop
@@ -15,15 +15,18 @@ SRC_URI="
amd64? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-64.tgz )
x86? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-32.tgz )
"
+S="${WORKDIR}/${MY_PN} ${PV}"
+
LICENSE="netlogo GPL-2 LGPL-2.1 LGPL-3 BSD Apache-2.0"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=virtual/jre-1.8"
-S="${WORKDIR}/${MY_PN} ${PV}"
+RDEPEND="
+ >=virtual/jre-1.8
+ x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXxf86vm
+"
DOCS=( "NetLogo User Manual.pdf" app/docs/shapes.nlogo readme.md )
HTML_DOCS=( app/docs app/behaviorsearch/documentation )
@@ -32,12 +35,13 @@ QA_PREBUILT="opt/netlogo/app/natives/linux-*/*.so"
src_prepare() {
default
- cp "${FILESDIR}"/netlogo-${PV}.sh netlogo.sh
- cp "${FILESDIR}"/netlogo3d-${PV}.sh netlogo3d.sh
- cp "${FILESDIR}"/behaviorsearch-${PV}.sh behaviorsearch.sh
- cp "${FILESDIR}"/hubnetclient-${PV}.sh hubnetclient.sh
+ cp "${FILESDIR}"/netlogo-${PV}.sh netlogo.sh || die
+ cp "${FILESDIR}"/netlogo3d-${PV}.sh netlogo3d.sh || die
+ cp "${FILESDIR}"/behaviorsearch-${PV}.sh behaviorsearch.sh || die
+ cp "${FILESDIR}"/hubnetclient-${PV}.sh hubnetclient.sh || die
+
if use x86; then
- sed -i -e 's/linux-amd64/linux-i586/g' netlogo3d.sh
+ sed -i -e 's/linux-amd64/linux-i586/g' netlogo3d.sh || die
fi
}
@@ -45,11 +49,11 @@ src_install() {
einstalldocs
# Override the config files so they don't use the bundled java path
- sed -i -e 's/app.runtime=.*/app.runtime=$JAVA_HOME/g' app/*.cfg
+ sed -i -e 's/app.runtime=.*/app.runtime=$JAVA_HOME/g' app/*.cfg || die
# Once docs are installed, remove them from the source so they don't get
# installed below
- rm -rf app/docs app/behaviorsearch/documentation
+ rm -rf app/docs app/behaviorsearch/documentation || die
insinto /opt/netlogo
doins -r app/
doins -r "Mathematica Link"