Skip to content
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
25 changes: 17 additions & 8 deletions Formula/f/fastfetch.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Fastfetch < Formula
desc "Like neofetch, but much faster because written mostly in C"
homepage "https://github.com/fastfetch-cli/fastfetch"
url "https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/2.66.0.tar.gz"
sha256 "547883c2f0dbc85a4545d4533f5b812fbc4c8ffe1271056de18b51994acbf474"
url "https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/2.67.0.tar.gz"
sha256 "d962730d14454cc24a31b796f02459274741034b4b774888b1426be0854b615e"
license "MIT"
head "https://github.com/fastfetch-cli/fastfetch.git", branch: "dev"

Expand All @@ -12,12 +12,12 @@ class Fastfetch < Formula
end

bottle do
sha256 arm64_tahoe: "a38e8a11125f7101e7d5a977c2cc2cd6c29c979e4c66d9d66233d6e96b50e175"
sha256 arm64_sequoia: "002e451e0b7ec7c6ea821cfe65b481e5f19b96e409738de04a21b425d2a4e0dc"
sha256 arm64_sonoma: "6780f939cd4794f22ae9c4383218caae6cb8b30de4f04df239f2eacc0a00e871"
sha256 cellar: :any, sonoma: "e87347425857e28c6420d697675554035d80d2730924e0c0f0c0040c8626b7c1"
sha256 arm64_linux: "d900be92fb85199f4ecdbf7005bf23ee29af96b1e91370f1e9ea3aabd5d6368c"
sha256 x86_64_linux: "9025da9b14503a7e55d4b28c20d10978a85cd47f508dd93bbf8a35a03579f22c"
sha256 arm64_tahoe: "aa9a4f24c853922b9de02f7a7da30beca050b729a53fcf51dca0a71e6d4b553b"
sha256 arm64_sequoia: "dd3c5c55760d8a38b88fc9fbd3c3ec00265f69d690ced7c47b40f6ccf47e5613"
sha256 arm64_sonoma: "5acdb535e8e7080a1e421266a7cd146f6f42721d8ba814828c0346e44b4c5e2e"
sha256 cellar: :any, sonoma: "e6ba1079ebab43cbc9653ecd6dbbdf44e9b0cb6e02456e50da88408899f252b1"
sha256 arm64_linux: "fd6f0444423a5ba3e71754a1784066f7b91db6651ca809ae4aa997a91d0474f2"
sha256 x86_64_linux: "e09dbf9ccfa7f9e36960205be137cd1031ad153321d2b87ec2f3382d6980f2cd"
end

depends_on "chafa" => :build
Expand All @@ -32,6 +32,10 @@ class Fastfetch < Formula

uses_from_macos "sqlite" => :build

on_macos do
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1700
end

on_linux do
depends_on "dbus" => :build
depends_on "ddcutil" => :build
Expand All @@ -48,6 +52,11 @@ class Fastfetch < Formula
depends_on "zlib-ng-compat" => :build
end

fails_with :clang do
build 1700
cause "Requires C23 auto type inference"
end

def install
args = %W[
-DCMAKE_INSTALL_SYSCONFDIR=#{etc}
Expand Down
Loading