29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'fastfetch'
|
|
pkgname=fastfetch
|
|
version=2.17.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DENABLE_SYSTEM_YYJSON=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="yyjson-devel vulkan-loader-devel libXrandr-devel wayland-devel libdrm-devel
|
|
glib-devel dconf-devel libmagick-devel chafa-devel zlib-devel dbus-devel MesaLib-devel
|
|
OpenCL-Headers xfconf-devel NetworkManager-devel pulseaudio-devel ddcutil-devel"
|
|
short_desc="System information fetching tool"
|
|
maintainer="classabbyamp <void@placeviolette.net>"
|
|
license="MIT"
|
|
homepage="https://github.com/fastfetch-cli/fastfetch"
|
|
changelog="https://github.com/fastfetch-cli/fastfetch/raw/dev/CHANGELOG.md"
|
|
distfiles="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${version}.tar.gz"
|
|
checksum=f41322a9d9601a5a5a74f67a3253c7e8631e6241053094d050cf02bbade8cbcd
|
|
|
|
if [ -n "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DBUILD_TESTS=ON"
|
|
fi
|
|
|
|
# missing for finding Vulkan-Headers as #include <vulkan/vulkan.h>
|
|
CFLAGS="-I/usr/include"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|