geogebra: bump version

This commit is contained in:
Gerasim Troeglazov
2023-03-22 20:52:06 +10:00
parent 2be82d11c5
commit 5fa5538358

View File

@@ -8,12 +8,12 @@ GeoGebra has become the leading provider of dynamic mathematics software, suppor
science, technology, engineering and mathematics (STEM) education and innovations in
teaching and learning worldwide."
HOMEPAGE="https://www.geogebra.org"
COPYRIGHT="2017 International GeoGebra Institute"
COPYRIGHT="2023 International GeoGebra Institute"
LICENSE="GNU GPL v3"
REVISION="2"
SOURCE_URI="https://download.geogebra.org/installers/4.4/GeoGebra-Linux-Portable-$portVersion.tar.bz2"
CHECKSUM_SHA256="c75f28883ca2761664947e81433da00d534070126678672ed275d21af12fad7d"
SOURCE_DIR="GeoGebra-Linux-Portable-$portVersion"
REVISION="1"
SOURCE_URI="https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${portVersion//./-}.tar.bz2"
CHECKSUM_SHA256="14b782a1b87246e4e8e5ff48c945028e0afed27b7271bd2ee90aefefa20b811e"
SOURCE_DIR="GeoGebra-Linux-Portable-${portVersion//./-}"
ADDITIONAL_FILES="geogebra.rdef"
ARCHITECTURES="any"
@@ -25,7 +25,7 @@ PROVIDES="
"
REQUIRES="
haiku
cmd:java
java:runtime == 8
"
BUILD_REQUIRES="
@@ -45,10 +45,19 @@ INSTALL()
{
mkdir -p $appsDir
cp -r geogebra $appsDir/GeoGebra
sed -i '/# GG_SHOWSPLASH/a GG_SHOWSPLASH=true' $appsDir/GeoGebra/geogebra
sed -i '/# GG_VERSIONCHECKALLOW/a GG_VERSIONCHECKALLOW=false' $appsDir/GeoGebra/geogebra
sed -i '/# GG_CONFIG_PATH/a mkdir $GG_CONFIG_PATH' $appsDir/GeoGebra/geogebra
sed -i '/# GG_CONFIG_PATH/a GG_CONFIG_PATH="/boot/home/config/settings/GeoGebra"' $appsDir/GeoGebra/geogebra
resattr -o $appsDir/GeoGebra/geogebra geogebra.rsrc
addAppDeskbarSymlink "$appsDir/GeoGebra/geogebra" "GeoGebra"
cat > $appsDir/GeoGebra/GeoGebra <<-EOF
#!/bin/sh
export GEOGEBRA_JAVA=$libDir/openjdk8/jre/bin/java
export GG_SHOWSPLASH=true
export GG_VERSIONCHECKALLOW=false
export GG_CONFIG_PATH=`finddir B_USER_SETTINGS_DIRECTORY`/GeoGebra
mkdir -p $GG_CONFIG_PATH
$appsDir/GeoGebra/geogebra
EOF
chmod +x $appsDir/GeoGebra/GeoGebra
resattr -o $appsDir/GeoGebra/GeoGebra geogebra.rsrc
addAppDeskbarSymlink "$appsDir/GeoGebra/GeoGebra"
}