fastfetch: 2.24.0 => 2.42.0 (#11854)

* fastfetch: 2.24.0 => 2.42.0

Removed unnecessary cmake options. They will be detected automatically

* Add binaries for arm and x86_64

---------

Co-authored-by: Ed Reel <edreel@gmail.com>
This commit is contained in:
Carter Li
2025-04-30 19:28:43 +08:00
committed by GitHub
parent 1b94599136
commit ef397ffaf7
4 changed files with 15 additions and 51 deletions

View File

@@ -19,6 +19,9 @@
/usr/local/share/fastfetch/presets/examples/21.jsonc
/usr/local/share/fastfetch/presets/examples/22.jsonc
/usr/local/share/fastfetch/presets/examples/23.jsonc
/usr/local/share/fastfetch/presets/examples/24.jsonc
/usr/local/share/fastfetch/presets/examples/25.jsonc
/usr/local/share/fastfetch/presets/examples/26.jsonc
/usr/local/share/fastfetch/presets/examples/3.jsonc
/usr/local/share/fastfetch/presets/examples/4.jsonc
/usr/local/share/fastfetch/presets/examples/5.jsonc

View File

@@ -1,34 +0,0 @@
/usr/local/bin/fastfetch
/usr/local/bin/flashfetch
/usr/local/share/bash-completion/completions/fastfetch
/usr/local/share/fastfetch/presets/all.jsonc
/usr/local/share/fastfetch/presets/archey.jsonc
/usr/local/share/fastfetch/presets/ci.jsonc
/usr/local/share/fastfetch/presets/examples/10.jsonc
/usr/local/share/fastfetch/presets/examples/11.jsonc
/usr/local/share/fastfetch/presets/examples/12.jsonc
/usr/local/share/fastfetch/presets/examples/13.jsonc
/usr/local/share/fastfetch/presets/examples/14.jsonc
/usr/local/share/fastfetch/presets/examples/15.jsonc
/usr/local/share/fastfetch/presets/examples/16.jsonc
/usr/local/share/fastfetch/presets/examples/17.jsonc
/usr/local/share/fastfetch/presets/examples/18.jsonc
/usr/local/share/fastfetch/presets/examples/19.jsonc
/usr/local/share/fastfetch/presets/examples/2.jsonc
/usr/local/share/fastfetch/presets/examples/20.jsonc
/usr/local/share/fastfetch/presets/examples/21.jsonc
/usr/local/share/fastfetch/presets/examples/22.jsonc
/usr/local/share/fastfetch/presets/examples/23.jsonc
/usr/local/share/fastfetch/presets/examples/3.jsonc
/usr/local/share/fastfetch/presets/examples/4.jsonc
/usr/local/share/fastfetch/presets/examples/5.jsonc
/usr/local/share/fastfetch/presets/examples/6.jsonc
/usr/local/share/fastfetch/presets/examples/7.jsonc
/usr/local/share/fastfetch/presets/examples/8.jsonc
/usr/local/share/fastfetch/presets/examples/9.jsonc
/usr/local/share/fastfetch/presets/neofetch.jsonc
/usr/local/share/fastfetch/presets/paleofetch.jsonc
/usr/local/share/fastfetch/presets/screenfetch.jsonc
/usr/local/share/fish/vendor_completions.d/fastfetch.fish
/usr/local/share/man/man1/fastfetch.1.zst
/usr/local/share/zsh/site-functions/_fastfetch

View File

@@ -19,6 +19,9 @@
/usr/local/share/fastfetch/presets/examples/21.jsonc
/usr/local/share/fastfetch/presets/examples/22.jsonc
/usr/local/share/fastfetch/presets/examples/23.jsonc
/usr/local/share/fastfetch/presets/examples/24.jsonc
/usr/local/share/fastfetch/presets/examples/25.jsonc
/usr/local/share/fastfetch/presets/examples/26.jsonc
/usr/local/share/fastfetch/presets/examples/3.jsonc
/usr/local/share/fastfetch/presets/examples/4.jsonc
/usr/local/share/fastfetch/presets/examples/5.jsonc

View File

@@ -6,33 +6,25 @@ require 'buildsystems/cmake'
class Fastfetch < CMake
description 'Like Neofetch, but much faster because written in C'
homepage 'https://github.com/fastfetch-cli/fastfetch'
version '2.24.0'
version '2.42.0'
license 'MIT'
compatibility 'all'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/fastfetch-cli/fastfetch.git'
git_hashtag version
binary_compression 'tar.zst'
binary_sha256({
aarch64: '944bd9ff6ad0aae3cb20f9d5d1a324112c7f7a4327160883c5440aa3cc74283f',
armv7l: '944bd9ff6ad0aae3cb20f9d5d1a324112c7f7a4327160883c5440aa3cc74283f',
i686: 'f7b37001b542c035b7a662cea8e3b52badc176e94baaee349fc353a1959089a9',
x86_64: '51bd182ee9893ff245f687399a6b5ae2c44fbc6d21d4db218bf5665089e13244'
aarch64: 'e2c6084fd2dc22ea43e2aa9ca2745b8dee94349d02bedeb35bb7e7050ad5d58d',
armv7l: 'e2c6084fd2dc22ea43e2aa9ca2745b8dee94349d02bedeb35bb7e7050ad5d58d',
x86_64: '2b05cd0d4030300b5e110f63f1466c6ac4c4a0ba1bca6be46b48325051d5a118'
})
depends_on 'gcc_lib'
depends_on 'chafa' => :build
depends_on 'sqlite' => :build
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'sqlite' => :build
depends_on 'yyjson' # R
# The videodev linux header files are too old on the i686 kernel.
# See https://github.com/fastfetch-cli/fastfetch/issues/1265
cmake_options "-DENABLE_SQLITE3=ON \
-DENABLE_RPM=OFF \
-DENABLE_IMAGEMAGICK6=OFF \
-DENABLE_IMAGEMAGICK7=OFF \
-DENABLE_SYSTEM_YYJSON=ON \
-DINSTALL_LICENSE=OFF \
#{ARCH == 'i686' ? '-DHAVE_LINUX_VIDEODEV2=false' : ''}"
cmake_options "-DENABLE_SYSTEM_YYJSON=ON \
-DINSTALL_LICENSE=OFF"
end