mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
fastfetch: update to 2.25.0.
This commit is contained in:
parent
6339ec2831
commit
3f1af66fd9
1 changed files with 10 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'fastfetch'
|
# Template file for 'fastfetch'
|
||||||
pkgname=fastfetch
|
pkgname=fastfetch
|
||||||
version=2.23.0
|
version=2.25.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_SYSTEM_YYJSON=ON"
|
configure_args="-DENABLE_SYSTEM_YYJSON=ON"
|
||||||
|
@ -14,7 +14,7 @@ license="MIT"
|
||||||
homepage="https://github.com/fastfetch-cli/fastfetch"
|
homepage="https://github.com/fastfetch-cli/fastfetch"
|
||||||
changelog="https://github.com/fastfetch-cli/fastfetch/raw/dev/CHANGELOG.md"
|
changelog="https://github.com/fastfetch-cli/fastfetch/raw/dev/CHANGELOG.md"
|
||||||
distfiles="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=3c92dd2cb15faf55d87846eda8d14456af2d0e0938998434144074c695c57529
|
checksum=17ea39fd062d5bccc9c608e868f593a665d569646bc9b447111b3a608b648783
|
||||||
|
|
||||||
if [ -n "$XBPS_CHECK_PKGS" ]; then
|
if [ -n "$XBPS_CHECK_PKGS" ]; then
|
||||||
configure_args+=" -DBUILD_TESTS=ON"
|
configure_args+=" -DBUILD_TESTS=ON"
|
||||||
|
@ -23,6 +23,14 @@ fi
|
||||||
# missing for finding Vulkan-Headers as #include <vulkan/vulkan.h>
|
# missing for finding Vulkan-Headers as #include <vulkan/vulkan.h>
|
||||||
CFLAGS="-I/usr/include"
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue