From ef397ffaf7cd1ad5bddfe68b73ec8586544a073a Mon Sep 17 00:00:00 2001 From: Carter Li Date: Wed, 30 Apr 2025 19:28:43 +0800 Subject: [PATCH] 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 --- manifest/armv7l/f/fastfetch.filelist | 3 +++ manifest/i686/f/fastfetch.filelist | 34 ---------------------------- manifest/x86_64/f/fastfetch.filelist | 3 +++ packages/fastfetch.rb | 26 ++++++++------------- 4 files changed, 15 insertions(+), 51 deletions(-) delete mode 100644 manifest/i686/f/fastfetch.filelist diff --git a/manifest/armv7l/f/fastfetch.filelist b/manifest/armv7l/f/fastfetch.filelist index b0619a99c..54286ba5f 100644 --- a/manifest/armv7l/f/fastfetch.filelist +++ b/manifest/armv7l/f/fastfetch.filelist @@ -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 diff --git a/manifest/i686/f/fastfetch.filelist b/manifest/i686/f/fastfetch.filelist deleted file mode 100644 index b0619a99c..000000000 --- a/manifest/i686/f/fastfetch.filelist +++ /dev/null @@ -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 diff --git a/manifest/x86_64/f/fastfetch.filelist b/manifest/x86_64/f/fastfetch.filelist index b0619a99c..54286ba5f 100644 --- a/manifest/x86_64/f/fastfetch.filelist +++ b/manifest/x86_64/f/fastfetch.filelist @@ -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 diff --git a/packages/fastfetch.rb b/packages/fastfetch.rb index 4c934b170..5cddc5e91 100644 --- a/packages/fastfetch.rb +++ b/packages/fastfetch.rb @@ -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