aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorSamuel Young <samyoung12788@gmail.com>2024-09-20 06:51:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-20 06:56:02 +0700
commit52097493660ea9d382c27726e9773d00f293708a (patch)
treeb858afdebc8e5cd904975227440c93ae58363e2b /system
parent9532def07819967649dec97aadc446c0d46088fc (diff)
system/fastfetch: Updated for version 2.25.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/fastfetch/README7
-rw-r--r--system/fastfetch/fastfetch.SlackBuild24
-rw-r--r--system/fastfetch/fastfetch.info6
3 files changed, 32 insertions, 5 deletions
diff --git a/system/fastfetch/README b/system/fastfetch/README
index 3a5f72fc5c5c3..515ec453c590f 100644
--- a/system/fastfetch/README
+++ b/system/fastfetch/README
@@ -4,4 +4,11 @@ Fastfetch is a neofetch-like tool for fetching system information and
displaying them in a pretty way. It is written mainly in C, with
performance and customizability in mind.
+This SlackBuild disables runtime detection for package managers that
+would not be expected to be present on a Slackware system (like dpkg,
+rpm, pacman, etc). If you would like to enable runtime detection for
+any disabled package manager, you can run fastfetch with
+ --packages-disabled ""
+to re-enable detection.
+
ddcutil and chafa are optional dependencies.
diff --git a/system/fastfetch/fastfetch.SlackBuild b/system/fastfetch/fastfetch.SlackBuild
index 80229f9e7f5c7..19bc1c2c3791f 100644
--- a/system/fastfetch/fastfetch.SlackBuild
+++ b/system/fastfetch/fastfetch.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fastfetch
-VERSION=${VERSION:-2.22.0}
+VERSION=${VERSION:-2.25.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,7 +77,27 @@ cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DPACKAGES_DISABLE_AM=ON \
+ -DPACKAGES_DISABLE_APK=ON \
+ -DPACKAGES_DISABLE_CHOCO=ON \
+ -DPACKAGES_DISABLE_DPKG=ON \
+ -DPACKAGES_DISABLE_EMERGE=ON \
+ -DPACKAGES_DISABLE_EOPKG=ON \
+ -DPACKAGES_DISABLE_LINGLONG=ON \
+ -DPACKAGES_DISABLE_LPKG=ON \
+ -DPACKAGES_DISABLE_LPKGBUILD=ON \
+ -DPACKAGES_DISABLE_MACPORTS=ON \
+ -DPACKAGES_DISABLE_OPKG=ON \
+ -DPACKAGES_DISABLE_PACMAN=ON \
+ -DPACKAGES_DISABLE_PALUDIS=ON \
+ -DPACKAGES_DISABLE_PKG=ON \
+ -DPACKAGES_DISABLE_RPM=ON \
+ -DPACKAGES_DISABLE_SCOOP=ON \
+ -DPACKAGES_DISABLE_SNAP=ON \
+ -DPACKAGES_DISABLE_SORCERY=ON \
+ -DPACKAGES_DISABLE_WINGET=ON \
+ -DPACKAGES_DISABLE_XBPS=ON \
+ -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
DESTDIR=$PKG cmake --install .
cd ..
diff --git a/system/fastfetch/fastfetch.info b/system/fastfetch/fastfetch.info
index f19373d50fbc7..6413820287079 100644
--- a/system/fastfetch/fastfetch.info
+++ b/system/fastfetch/fastfetch.info
@@ -1,8 +1,8 @@
PRGNAM="fastfetch"
-VERSION="2.22.0"
+VERSION="2.25.0"
HOMEPAGE="https://github.com/fastfetch-cli/fastfetch"
-DOWNLOAD="https://github.com/fastfetch-cli/fastfetch/archive/2.22.0/fastfetch-2.22.0.tar.gz"
-MD5SUM="87105f8305f40f73efcb8c17dd56fa9c"
+DOWNLOAD="https://github.com/fastfetch-cli/fastfetch/archive/2.25.0/fastfetch-2.25.0.tar.gz"
+MD5SUM="ab1f26071cf1351c63497c731cdfae73"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""