1 |
commit: 0b4cd49b52c25489cdaa12c0ba2b343b2e52cbc2 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 22 23:44:21 2022 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 23 01:57:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4cd49b |
7 |
|
8 |
sci-mathematics/geogebra-bin: add 5.0.683.0 |
9 |
|
10 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
11 |
|
12 |
sci-mathematics/geogebra-bin/Manifest | 1 + |
13 |
.../geogebra-bin/geogebra-bin-5.0.683.0.ebuild | 55 ++++++++++++++++++++++ |
14 |
2 files changed, 56 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/geogebra-bin/Manifest b/sci-mathematics/geogebra-bin/Manifest |
17 |
index a5abac0caa19..3212bbde44c0 100644 |
18 |
--- a/sci-mathematics/geogebra-bin/Manifest |
19 |
+++ b/sci-mathematics/geogebra-bin/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST GeoGebra-Linux-Portable-5-0-604-0.tar.bz2 138245005 BLAKE2B 589b12a60161ca07e6da82953aeda69a2ed7302634df9078cb997000e2b77486aa1f4dfcbc1daddfddf0b425574ad927c97e0a08d70d708a209eaf0af86d9756 SHA512 ccf190f436504727dc9c6fa10adbd2d0a72a87b641e5b7ce2c7bc8ffe8c1baa00d97b3d2b619f32f1c50b28d5c72b0e0b15619e9c8be74ad8c8fb5afbe66c9a3 |
22 |
+DIST GeoGebra-Linux-Portable-5-0-683-0.tar.bz2 131095393 BLAKE2B bef756bec904e40e06823de7121deb9755bd3523040018a826dcd78e5e8563095f7e4b16a90cad34e14d04628706c1d5a56856d389bd8d599d5588d875ff9b11 SHA512 a55e05bbb7acb6f4512ae3163312fd19095f32b9a3beed09ff12e8af2389dae2bb916af816aa50ee6645f4eb4b78936f3bc497312dc9446d8e1464830cd7b717 |
23 |
DIST Geogebra.svg 522 BLAKE2B 8c11d037bd8af7af571abc2bba0a8610f0ed5c1cea46fdc47a40d0176e5ea3b7ad4700601a3094b1aa15012f769883c7f5cb60a70f4ed400df57e3b0610271e9 SHA512 a54fedd530d1c803e14d6f44ab7341d9f1ae17fb6b6496bd21788ad1b88b0977d574db6de199e9168543a03dff73ab19e3c50793ec91750ff5fff4a4b7af408d |
24 |
|
25 |
diff --git a/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild b/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..3749e86ddc99 |
28 |
--- /dev/null |
29 |
+++ b/sci-mathematics/geogebra-bin/geogebra-bin-5.0.683.0.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit desktop prefix xdg |
37 |
+ |
38 |
+MY_PV="${PV//./-}" |
39 |
+ |
40 |
+DESCRIPTION="Mathematics software for geometry" |
41 |
+HOMEPAGE="https://www.geogebra.org" |
42 |
+SRC_URI="https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${MY_PV}.tar.bz2 |
43 |
+ https://dev.gentoo.org/~gyakovlev/distfiles/Geogebra.svg" |
44 |
+ |
45 |
+LICENSE="Geogebra CC-BY-NC-SA-3.0 GPL-3 Apache-2.0 BSD-2 BSD BSD-4 colt EPL-1.0 icu LGPL-2.1 LGPL-2.1+ MIT W3C || ( GPL-2 CDDL )" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc64" |
48 |
+IUSE="" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-java/java-config |
52 |
+ || ( |
53 |
+ dev-java/openjdk:8[javafx] |
54 |
+ dev-java/openjdk:11[javafx] |
55 |
+ ) |
56 |
+ !sci-mathematics/geogebra |
57 |
+" |
58 |
+ |
59 |
+# no tests |
60 |
+RESTRICT="test" |
61 |
+ |
62 |
+src_unpack() { |
63 |
+ default |
64 |
+ mv -v GeoGebra-Linux-Portable-* "${P}" || die |
65 |
+ rm -rf "${P}/jre"* || die |
66 |
+ rm -f "${P}/geogebra-portable" || die |
67 |
+} |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ eapply_user |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ insinto /opt |
75 |
+ doins -r geogebra |
76 |
+ newbin "$(prefixify_ro "${FILESDIR}"/geogebra.sh)" geogebra |
77 |
+ |
78 |
+ fperms 0755 /opt/geogebra/geogebra |
79 |
+ doicon "${DISTDIR}/Geogebra.svg" |
80 |
+ make_desktop_entry geogebra Geogebra Geogebra Science |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ ewarn "package has no tests" |
85 |
+} |