From 6a4408b9bbd9fe61dc0966f587db94081fa5f52b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 10 Jan 2024 19:03:44 +0000 Subject: gentoo auto-resync : 10:01:2024 - 19:03:44 --- sci-mathematics/geogebra-bin/Manifest | 2 + .../geogebra-bin/geogebra-bin-6.0.804.0.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 sci-mathematics/geogebra-bin/geogebra-bin-6.0.804.0.ebuild (limited to 'sci-mathematics/geogebra-bin') diff --git a/sci-mathematics/geogebra-bin/Manifest b/sci-mathematics/geogebra-bin/Manifest index b36dd1d16592..cf804f29f13b 100644 --- a/sci-mathematics/geogebra-bin/Manifest +++ b/sci-mathematics/geogebra-bin/Manifest @@ -1,5 +1,7 @@ AUX geogebra.sh 954 BLAKE2B 6345f6f0103f326a3d0acc56d9c794c0f269613916b221e690bb4065be9597a9b0c77b1caa370d144548b6f24bf96995f2c2b6ca70d2da16d296e0639feecc2b SHA512 f44c7250af9c991fb78b96d97d0324084f97e54c2b64c680fc82a71ddba1cb5c89c76276eaa0b3bd966ace4d90f4336b3cc3c3c5603294b2314d6d82916c70e0 DIST GeoGebra-Linux-Portable-5-0-752-0.tar.bz2 131020013 BLAKE2B f29b301d163daf9af62a4230ff3170eca2b61c20a2b41f851af4571db03487a0fd87cc178fad83d83c5268d9c22a1e47529b80f3067debc846c158bff4f78d1b SHA512 0c4fa07cdbccf0b7529726e1ee921bd6a461645a27012ac4b2e3140f3a4b068f2a9c929e1136a1c10cd510c8acbc5b1f38b735d9386d357b52b41f0a37e93acf +DIST GeoGebra-Linux64-Portable-6-0-804-0.zip 111009113 BLAKE2B efa8468fede7d0ad1751ead765f44d120e45fb3ff1738f267518bb7594494252ded7bd2a2f7476e938e035c0ccc55fcee38853042cc150b92ea05a64e541fbc6 SHA512 4ef0d3aaaed396c9ce934638f52b148c5e2c1bcd5a5a12aefa7250982030d16e23ccc33c1623807d8910c1360efbb2115af3e2552679576c0ebdb07afb5c031c DIST Geogebra.svg 522 BLAKE2B 8c11d037bd8af7af571abc2bba0a8610f0ed5c1cea46fdc47a40d0176e5ea3b7ad4700601a3094b1aa15012f769883c7f5cb60a70f4ed400df57e3b0610271e9 SHA512 a54fedd530d1c803e14d6f44ab7341d9f1ae17fb6b6496bd21788ad1b88b0977d574db6de199e9168543a03dff73ab19e3c50793ec91750ff5fff4a4b7af408d EBUILD geogebra-bin-5.0.752.0.ebuild 1198 BLAKE2B 6b06d42f01cdeea124c3ac07bc92fe61b8024c496c71a26a877f948a4ec3aa7e3184ea37a8a4077f9158f956fd95e809f3eeba099cae4d408aed79a93f578171 SHA512 b114997b3a52357d3fd98bab49ba2fbdecb49e7961dc71e51a131d97a975b6461c676f072a729ef3e553a73de2551a69e7624a631db855f686f0ff8b4fdfb739 +EBUILD geogebra-bin-6.0.804.0.ebuild 1766 BLAKE2B eae97d4eb6ac19ec2b0d4c0a19afda985221acc4551c06cd5097ef95eb2617b2dcbe27adc4530dd0f88c0a2021ff53d2e2def1812c7849b0b96a08372b4842a6 SHA512 eede98d1479e0438c821cbe874e7cdf272d75ab28bbcb5c62f323491d1cfa43a9ef04bb78db487c805060b00936bb154db7f8f6d9b79e7347d531420a35c06ce MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/sci-mathematics/geogebra-bin/geogebra-bin-6.0.804.0.ebuild b/sci-mathematics/geogebra-bin/geogebra-bin-6.0.804.0.ebuild new file mode 100644 index 000000000000..0695529b1e32 --- /dev/null +++ b/sci-mathematics/geogebra-bin/geogebra-bin-6.0.804.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg + +MY_PV="${PV//./-}" + +DESCRIPTION="Mathematics software for geometry" +HOMEPAGE="https://www.geogebra.org" +SRC_URI="https://download.geogebra.org/installers/$(ver_cut 1-2)/GeoGebra-Linux64-Portable-${MY_PV}.zip + https://dev.gentoo.org/~gyakovlev/distfiles/Geogebra.svg" + +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 )" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + x11-libs/libxshmfence + dev-libs/nss + app-accessibility/at-spi2-core + x11-libs/libdrm + >=x11-libs/gtk+-3 + media-libs/alsa-lib + net-print/cups +" +BDEPEND=" + app-arch/unzip + media-libs/libpng +" +DEPEND="${RDEPEND}" + +# no tests +RESTRICT="test" + +QA_PREBUILT="*" + +src_unpack() { + default + mv -v GeoGebra-linux-x64 "${P}" || die +} + +src_install() { + # Fix PNGs + png_path="${S}/resources/app/node_modules/ref-napi/docs/images" + pngfix --out=out.png "${png_path}/apple-touch-icon.png" + mv -f out.png "${png_path}/apple-touch-icon.png" || die + pngfix --out=out.png "${png_path}/apple-touch-icon-72x72.png" + mv -f out.png "${png_path}/apple-touch-icon-72x72.png" || die + pngfix --out=out.png "${png_path}/apple-touch-icon-114x114.png" + mv -f out.png "${png_path}/apple-touch-icon-114x114.png" || die + + rm -r "${S}/resources/app/node_modules/ref-napi/prebuilds/linux-arm64" + rm -r "${S}/resources/app/node_modules/ffi-napi/prebuilds/linux-arm64" + + insinto /opt/GeoGebra + doins -r . + + dosym -r /opt/GeoGebra/GeoGebra /usr/bin/geogebra + fperms 0755 /opt/GeoGebra/GeoGebra + doicon "${DISTDIR}/Geogebra.svg" + make_desktop_entry geogebra Geogebra Geogebra Science +} + +src_test() { + ewarn "package has no tests" +} -- cgit v1.2.3