Skip to content

Commit c91bf84

Browse files
Antiz96ptrcnull
authored andcommitted
community/fastfetch: upgrade to 2.33.0
https://github.com/fastfetch-cli/fastfetch/releases/tag/2.33.0 Tiny improvements made to the APKBUILD: - Use the new `-DBUILD_FLASHFETCH` option to disable building the `flashfetch` binary, which makes little to no purpose being built & shipped in a prebuilt package (see fastfetch-cli/fastfetch#627 & fastfetch-cli/fastfetch#1455, as well as the related note in the above changelog) - Use the `-DBUILD_TEST` option to build tests and tests binaries, allowing to simply use `ctest` during `check()` - Do not specify targets to build during `cmake build` so every needed targets are built (including current and future tests binaries required during `check()`).
1 parent f3a8c92 commit c91bf84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

community/fastfetch/APKBUILD

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contributor: Carter Li <[email protected]>
22
# Maintainer: fossdd <[email protected]>
33
pkgname=fastfetch
4-
pkgver=2.32.1
4+
pkgver=2.33.0
55
pkgrel=0
66
pkgdesc="Maintained, feature-rich and performance oriented, neofetch-like system information tool"
77
url="https://github.com/fastfetch-cli/fastfetch"
@@ -53,6 +53,8 @@ build() {
5353
-DCMAKE_INSTALL_PREFIX=/usr \
5454
-DCMAKE_INSTALL_LIBDIR=lib \
5555
-DCMAKE_BUILD_TYPE=Release \
56+
-DBUILD_FLASHFETCH=OFF \
57+
-DBUILD_TESTS=ON \
5658
-DENABLE_SYSTEM_YYJSON=ON \
5759
-DENABLE_DIRECTX_HEADERS=OFF \
5860
-DPACKAGES_DISABLE_DPKG=ON \
@@ -73,19 +75,17 @@ build() {
7375
-DPACKAGES_DISABLE_SORCERY=ON \
7476
-DPACKAGES_DISABLE_XBPS=ON \
7577
$crossopts
76-
cmake --build build --target fastfetch --target flashfetch
78+
cmake --build build
7779
}
7880

7981
check() {
80-
build/fastfetch --list-features
81-
build/fastfetch -c presets/ci.jsonc
82-
build/fastfetch -c presets/ci.jsonc --format json
82+
ctest --test-dir build --output-on-failure
8383
}
8484

8585
package() {
8686
DESTDIR="$pkgdir" cmake --install build
8787
}
8888

8989
sha512sums="
90-
4fb6f75c8db6f1dbcf377d1df53a4c1d760940a8665db157c510e814b26e23f09cd308700549c965b65f5f973d520f1334a04f0ffe6efa9ae73da7d0d5c1048c fastfetch-2.32.1.tar.gz
90+
f9d824f908e36e3dc1b7784f2da818d764be6bbc6baa77d6b26ea6776acb5f101c4c39267fa42d1c9ae735c9889badc7b3a65170d81308de852a178e50140154 fastfetch-2.33.0.tar.gz
9191
"

0 commit comments

Comments
 (0)