Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codelite 18.0.0 #197031

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 49 additions & 14 deletions Casks/c/codelite.rb
Original file line number Diff line number Diff line change
@@ -1,25 +1,60 @@
cask "codelite" do
arch arm: "arm64", intel: "x86_64"
on_arm do
on_monterey :or_older do
arch arm: "arm64"
zyoshoka marked this conversation as resolved.
Show resolved Hide resolved

version "17.0.0"
sha256 arm: "61e3cdfdbaa290feb9e35eab31375b1cb9af0ba1f7e4d33198fd9e293f636b5c",
intel: "42dd6bf46159c687a5739a3bbfaf925bcb16d27b52e6ff237f14f06f1221bbc9"
version "17.2.1"
sha256 "17704c86a98881ad08a77185707b0d26670a019645d359acbbb62f0bf13e7e52"

livecheck do
skip "Legacy version"
end
end
on_ventura do
arch arm: "arm64"

version "17.6.0"
sha256 "479058e8a32e6932198bf9bbbf141346252a6b5140f685d5584369500ccf4f28"

livecheck do
skip "Legacy version"
end
end
on_sonoma :or_newer do
arch arm: "macOS_14.7.2-arm64"

version "18.0.0"
sha256 "ebaa1649142033bbb7eeff2c2e4f2dab9deefd61c0304dfe4aa9c36012cf7dc6"

livecheck do
url "https://downloads.codelite.org/"
regex(/CodeLite\s*(\d+\.\d+)((?:\.\d+)*)\s*-\s*Stable/i)
strategy :page_match do |page, regex|
match = page.match(regex)
next if match.blank?

"#{match[1]}#{match[2].presence || ".0"}"
end
end
end
end
on_intel do
arch intel: "x86_64"

version "17.6.0"
sha256 "e13755ab8edbc6e213269d73b206935c102d5b8ae2c0b3da24ae0a87cab22f57"

livecheck do
skip "Legacy version"
end
end

url "https://downloads.codelite.org/codelite/#{version}/codelite-#{arch}.app.tar.gz"
name "CodeLite"
desc "IDE for C, C++, PHP and Node.js"
homepage "https://codelite.org/"

livecheck do
url "https://downloads.codelite.org/"
regex(/CodeLite\s*(\d+\.\d+)((?:\.\d+)*)\s*-\s*Stable/i)
strategy :page_match do |page, regex|
match = page.match(regex)
next if match.blank?

"#{match[1]}#{match[2].presence || ".0"}"
end
end
depends_on macos: ">= :monterey"

app "codelite.app"

Expand Down
Loading