diff --git a/bucket/gephi.json b/bucket/gephi.json new file mode 100644 index 00000000000000..7bbf61f66ae1ca --- /dev/null +++ b/bucket/gephi.json @@ -0,0 +1,47 @@ +{ + "version": "0.9.2", + "description": "Visualization and exploration software for all kinds of graphs and networks", + "homepage": "https://github.com/gephi/gephi", + "license": "GPL-3.0-only", + "suggest": { + "Java 8 only": [ + "java/oraclejre8", + "java/liberica8-jdk" + ] + }, + "url": "https://github.com/gephi/gephi/releases/download/v0.9.2/gephi-0.9.2-windows.exe", + "hash": "cc8dbf806baa157fd34876c940bead660c30d160d391c0189826b5fe270678fb", + "innosetup": true, + "post_install": [ + "$conf_file = \"$dir\\etc\\gephi.conf\"", + "$file_contents = Get-Content -path $conf_file -Raw", + "if (($file_contents -match \"#jdkhome\") -contains $true) {", + " $replaced = $file_contents -replace \"#jdkhome=`\"\/path\/to\/jdk`\"\", \"jdkhome=`\"$env:JAVA_HOME`\"\"", + " Set-Content -Path $conf_file -Value $replaced", + " Write-Host \"Notes`n-----`nScoop has configured Gephi to run using your current JAVA_HOME - if that is not Java 8, you will need to modify $dir\\etc\\gephi.conf\"", + "}" + ], + "architecture": { + "64bit": { + "shortcuts": [ + [ + "bin\\gephi64.exe", + "Gephi" + ] + ] + }, + "32bit": { + "shortcuts": [ + [ + "bin\\gephi.exe", + "Gephi" + ] + ] + } + }, + "persist": "etc\\gephi.conf", + "checkver": "github", + "autoupdate": { + "url": "https://github.com/gephi/gephi/releases/download/v$version/gephi-$version-windows.exe" + } +}