From e19fe0307c517c0269e6c0a265e1b49e426b4c00 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 27 Dec 2024 11:23:38 -0500 Subject: [PATCH] +fastfetch closes #7109 --- .../fastfetch-cli/fastfetch/package.yml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 projects/github.com/fastfetch-cli/fastfetch/package.yml diff --git a/projects/github.com/fastfetch-cli/fastfetch/package.yml b/projects/github.com/fastfetch-cli/fastfetch/package.yml new file mode 100644 index 0000000000..d1beaf5162 --- /dev/null +++ b/projects/github.com/fastfetch-cli/fastfetch/package.yml @@ -0,0 +1,48 @@ +distributable: + url: https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/{{version.tag}}.tar.gz + strip-components: 1 + +versions: + github: fastfetch-cli/fastfetch + +build: + dependencies: + cmake.org: ^3 + gnome.org/glib: ^2 + imagemagick.org: ^7 + python.org: ~3.12 + github.com/KhronosGroup/Vulkan-Loader: ^1 + sqlite.org: ^3 + zlib.net: ^1 + linux: + freedesktop.org/dbus: ^1 + elfutils.org: ^0 + x.org/x11: ^1 + x.org/xcb: ^1 + x.org/xrandr: ^1 + kernel.org/linux-headers: ^5 + mesa3d.org: ^24 + khronos.org/opencl-headers: ^2024 + wayland.freedesktop.org: ^1 + script: + - cmake -S . -B build + -DCMAKE_INSTALL_PREFIX={{ prefix }} + -DCMAKE_INSTALL_SYSCONFDIR={{ prefix }}/etc + -Wno-dev + - cmake --build build + - cmake --install build + +provides: + - bin/fastfetch + - bin/flashfetch + +test: + script: + - test "$(fastfetch --version)" = "fastfetch {{version}} ($ARCH)" + - sleep 5 + - fastfetch --structure OS --pipe | grep OS + env: + aarch64: + ARCH: aarch64 + x86-64: + ARCH: x86_64