fastfetch: update to 2.25.0.
This commit is contained in:
parent
6339ec2831
commit
3f1af66fd9
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'fastfetch'
|
||||
pkgname=fastfetch
|
||||
version=2.23.0
|
||||
version=2.25.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DENABLE_SYSTEM_YYJSON=ON"
|
||||
|
@ -14,7 +14,7 @@ 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=3c92dd2cb15faf55d87846eda8d14456af2d0e0938998434144074c695c57529
|
||||
checksum=17ea39fd062d5bccc9c608e868f593a665d569646bc9b447111b3a608b648783
|
||||
|
||||
if [ -n "$XBPS_CHECK_PKGS" ]; then
|
||||
configure_args+=" -DBUILD_TESTS=ON"
|
||||
|
@ -23,6 +23,14 @@ fi
|
|||
# missing for finding Vulkan-Headers as #include <vulkan/vulkan.h>
|
||||
CFLAGS="-I/usr/include"
|
||||
|
||||
pre_configure() {
|
||||
# disable most package managers by default using horrible hacks, because upstream did it weird
|
||||
mkdir -p build && cd build
|
||||
configure_args+="$(CMAKE_GENERATOR="Ninja" cmake -L ${wrksrc}/${build_wrksrc} | \
|
||||
grep -oE 'PACKAGES_DISABLE_[a-zA-Z0-9]+' | \
|
||||
grep -viE 'xbps|flatpak|nix|guix' | xargs printf ' -D%s=ON')"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue