diff --git a/bucket/intellij-jbr25-jcef.json b/bucket/intellij-jbr25-jcef.json new file mode 100644 index 00000000000..04b9fe4cfef --- /dev/null +++ b/bucket/intellij-jbr25-jcef.json @@ -0,0 +1,67 @@ +{ + "version": "25.0.1-b266.34", + "homepage": "https://github.com/JetBrains/JetBrainsRuntime", + "description": "A fork of OpenJDK that supports enhanced class redefinition (DCEVM), features optional JCEF, a framework for embedding Chromium-based browsers, includes a number of improvements in font rendering, keyboards support, windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration and bugfixes not yet present in OpenJDK.", + "license": "GPL-2.0-only", + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-25.0.1-windows-x64-b266.34.tar.gz", + "hash": "sha512:398460a721a452ec24776c5a2108e03842badf0f54c928e28196a976a683d2d25bc382ed9b317d8baac8623e3810b58db8f87b8a309c6e9a504ebfc20d444ec5", + "extract_dir": "jbr_jcef-25.0.1-windows-x64-b266.34" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-25.0.1-windows-aarch64-b266.34.tar.gz", + "hash": "sha512:a1f6937bd89ed801a3e669735fa097d4216b2f5aaac4b28e220a74d186779b84fc049e60c2a1e30d9a68c171a4360413192a8de8709a3d89b30dc7e4f0df7882", + "extract_dir": "jbr_jcef-25.0.1-windows-aarch64-b266.34" + } + }, + "env_set": { + "JAVA_HOME": "$dir" + }, + "env_add_path": "bin", + "checkver": { + "script": [ + "$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'", + "$releases = Invoke-RestMethod $url", + "$tags = $releases | ForEach-Object { $_.tag_name }", + "# `$Script:expected_ver` is current version for fallback", + "$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')", + "$pattern = 'jbr-release-25\\.(?[\\d.]+)b(?[\\d]+)\\.(?\\d+)'", + "$matches = foreach ($t in $tags) { if ($t -match $pattern) {", + " [PSCustomObject]@{", + " Tag = $t", + " VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }", + " BuildNum = [int]$Matches.BuildNum", + " Patch = [int]$Matches.Patch", + " }", + " } }", + "$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},", + " @{Expression={$_.VersionParts[1]}},", + " @{Expression={$_.BuildNum}},", + " @{Expression={$_.Patch}} | Select-Object -Last 1", + "Write-Output $latest.Tag" + ], + "regex": "jbr-release-25\\.(?[\\d.]+)(?[\\w]+)\\.(?[\\d]+)", + "replace": "25.${Version}-${Build}.${Patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbr_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbr_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch" + } + } + } +} diff --git a/bucket/intellij-jbr25-sdk-jcef.json b/bucket/intellij-jbr25-sdk-jcef.json new file mode 100644 index 00000000000..3af5a905092 --- /dev/null +++ b/bucket/intellij-jbr25-sdk-jcef.json @@ -0,0 +1,67 @@ +{ + "version": "25.0.1-b266.34", + "homepage": "https://github.com/JetBrains/JetBrainsRuntime", + "description": "A fork of OpenJDK that supports enhanced class redefinition (DCEVM), features optional JCEF, a framework for embedding Chromium-based browsers, includes a number of improvements in font rendering, keyboards support, windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration and bugfixes not yet present in OpenJDK.", + "license": "GPL-2.0-only", + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.0.1-windows-x64-b266.34.tar.gz", + "hash": "sha512:0f7ce9c070bd369217de9ab6a9dbaf3e1a3fd63f8c9df29f8f4d38b4de132f5fb436ecfeec096dbbe6478162971ee3627dadf0f07c70d62d259f0311a8d1c0bf", + "extract_dir": "jbrsdk_jcef-25.0.1-windows-x64-b266.34" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.0.1-windows-aarch64-b266.34.tar.gz", + "hash": "sha512:2b44f60bf26a31599a9286fd2491a06f87e8cc2e4262daed71092816b34c0de51d5d08424858f81f00a0d61394b7ab8a0377a6dbc626748bedd69d13ec9569c8", + "extract_dir": "jbrsdk_jcef-25.0.1-windows-aarch64-b266.34" + } + }, + "env_set": { + "JAVA_HOME": "$dir" + }, + "env_add_path": "bin", + "checkver": { + "script": [ + "$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'", + "$releases = Invoke-RestMethod $url", + "$tags = $releases | ForEach-Object { $_.tag_name }", + "# `$Script:expected_ver` is current version for fallback", + "$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')", + "$pattern = 'jbr-release-25\\.(?[\\d.]+)b(?[\\d]+)\\.(?\\d+)'", + "$matches = foreach ($t in $tags) { if ($t -match $pattern) {", + " [PSCustomObject]@{", + " Tag = $t", + " VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }", + " BuildNum = [int]$Matches.BuildNum", + " Patch = [int]$Matches.Patch", + " }", + " } }", + "$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},", + " @{Expression={$_.VersionParts[1]}},", + " @{Expression={$_.BuildNum}},", + " @{Expression={$_.Patch}} | Select-Object -Last 1", + "Write-Output $latest.Tag" + ], + "regex": "jbr-release-25\\.(?[\\d.]+)(?[\\w]+)\\.(?[\\d]+)", + "replace": "25.${Version}-${Build}.${Patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbrsdk_jcef-25.$matchVersion-windows-x64-$matchBuild.$matchPatch" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbrsdk_jcef-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch" + } + } + } +} diff --git a/bucket/intellij-jbr25-sdk.json b/bucket/intellij-jbr25-sdk.json new file mode 100644 index 00000000000..e2cbccb2c28 --- /dev/null +++ b/bucket/intellij-jbr25-sdk.json @@ -0,0 +1,67 @@ +{ + "version": "25.0.1-b266.34", + "homepage": "https://github.com/JetBrains/JetBrainsRuntime", + "description": "A fork of OpenJDK that supports enhanced class redefinition (DCEVM), features optional JCEF, a framework for embedding Chromium-based browsers, includes a number of improvements in font rendering, keyboards support, windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration and bugfixes not yet present in OpenJDK.", + "license": "GPL-2.0-only", + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-25.0.1-windows-x64-b266.34.tar.gz", + "hash": "sha512:9cd81048244e3e696c6be131cc37868bcbb51db161fd327b26b79fddc280075d96f18487e2ad5f4b3164dabfaff3845c841a45f667584f0a87ccb9105317773b", + "extract_dir": "jbrsdk-25.0.1-windows-x64-b266.34" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-25.0.1-windows-aarch64-b266.34.tar.gz", + "hash": "sha512:d3b9bd219ff25c874ceb9a10f286e9ee1ceb091442b2357f22bdc7479ac442e7df86b419e918936fb9aa446ede9d710c446baca634bd21a81abb968af903eb53", + "extract_dir": "jbrsdk-25.0.1-windows-aarch64-b266.34" + } + }, + "env_set": { + "JAVA_HOME": "$dir" + }, + "env_add_path": "bin", + "checkver": { + "script": [ + "$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'", + "$releases = Invoke-RestMethod $url", + "$tags = $releases | ForEach-Object { $_.tag_name }", + "# `$Script:expected_ver` is current version for fallback", + "$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')", + "$pattern = 'jbr-release-25\\.(?[\\d.]+)b(?[\\d]+)\\.(?\\d+)'", + "$matches = foreach ($t in $tags) { if ($t -match $pattern) {", + " [PSCustomObject]@{", + " Tag = $t", + " VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }", + " BuildNum = [int]$Matches.BuildNum", + " Patch = [int]$Matches.Patch", + " }", + " } }", + "$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},", + " @{Expression={$_.VersionParts[1]}},", + " @{Expression={$_.BuildNum}},", + " @{Expression={$_.Patch}} | Select-Object -Last 1", + "Write-Output $latest.Tag" + ], + "regex": "jbr-release-25\\.(?[\\d.]+)(?[\\w]+)\\.(?[\\d]+)", + "replace": "25.${Version}-${Build}.${Patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbrsdk-25.$matchVersion-windows-x64-$matchBuild.$matchPatch" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbrsdk-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch" + } + } + } +} diff --git a/bucket/intellij-jbr25.json b/bucket/intellij-jbr25.json new file mode 100644 index 00000000000..764b71947e0 --- /dev/null +++ b/bucket/intellij-jbr25.json @@ -0,0 +1,67 @@ +{ + "version": "25.0.1-b266.34", + "homepage": "https://github.com/JetBrains/JetBrainsRuntime", + "description": "A fork of OpenJDK that supports enhanced class redefinition (DCEVM), features optional JCEF, a framework for embedding Chromium-based browsers, includes a number of improvements in font rendering, keyboards support, windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration and bugfixes not yet present in OpenJDK.", + "license": "GPL-2.0-only", + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-25.0.1-windows-x64-b266.34.tar.gz", + "hash": "sha512:e510033b056d7b396ee4d02f01ad3f70cd1ac2eb3ffac5d340bb8874a91fe9540f5cdb3bf84d22ac447af3f998c4e426d25aa924e39391b2d5067502b29bcaea", + "extract_dir": "jbr-25.0.1-windows-x64-b266.34" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-25.0.1-windows-aarch64-b266.34.tar.gz", + "hash": "sha512:cb7d4e32207d24c95efb27dcc8d769fac80975c3646f5841ebc2396ed7f5c964043ae7c58b0e2d20019f5e10590347cbda8226509e3c8577e58571445ebc7c62", + "extract_dir": "jbr-25.0.1-windows-aarch64-b266.34" + } + }, + "env_set": { + "JAVA_HOME": "$dir" + }, + "env_add_path": "bin", + "checkver": { + "script": [ + "$url = 'https://api.github.com/repos/JetBrains/JetBrainsRuntime/releases'", + "$releases = Invoke-RestMethod $url", + "$tags = $releases | ForEach-Object { $_.tag_name }", + "# `$Script:expected_ver` is current version for fallback", + "$tags += 'jbr-release-' + ($Script:expected_ver -replace '-', '')", + "$pattern = 'jbr-release-25\\.(?[\\d.]+)b(?[\\d]+)\\.(?\\d+)'", + "$matches = foreach ($t in $tags) { if ($t -match $pattern) {", + " [PSCustomObject]@{", + " Tag = $t", + " VersionParts = ($Matches.Version -split '\\.') | ForEach-Object { [int]$_ }", + " BuildNum = [int]$Matches.BuildNum", + " Patch = [int]$Matches.Patch", + " }", + " } }", + "$latest = $matches | Sort-Object @{Expression={$_.VersionParts[0]}},", + " @{Expression={$_.VersionParts[1]}},", + " @{Expression={$_.BuildNum}},", + " @{Expression={$_.Patch}} | Select-Object -Last 1", + "Write-Output $latest.Tag" + ], + "regex": "jbr-release-25\\.(?[\\d.]+)(?[\\w]+)\\.(?[\\d]+)", + "replace": "25.${Version}-${Build}.${Patch}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-25.$matchVersion-windows-x64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbr-25.$matchVersion-windows-x64-$matchBuild.$matchPatch" + }, + "arm64": { + "url": "https://cache-redirector.jetbrains.com/intellij-jbr/jbr-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch.tar.gz", + "hash": { + "url": "$url.checksum", + "regex": "$sha512\\s" + }, + "extract_dir": "jbr-25.$matchVersion-windows-aarch64-$matchBuild.$matchPatch" + } + } + } +}