git: efaf11f8d963 - main - sysutils/fastfetch: update to 2.21.1

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 09 Aug 2024 13:23:39 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=efaf11f8d9631594b27e5e28c02484cca5d725ec

commit efaf11f8d9631594b27e5e28c02484cca5d725ec
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-08-09 13:16:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-08-09 13:19:24 +0000

    sysutils/fastfetch: update to 2.21.1
    
    Changelog:      https://github.com/fastfetch-cli/fastfetch/releases/tag/2.21.1
---
 sysutils/fastfetch/Makefile  | 10 +++++++---
 sysutils/fastfetch/distinfo  |  6 +++---
 sysutils/fastfetch/pkg-plist |  1 +
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/sysutils/fastfetch/Makefile b/sysutils/fastfetch/Makefile
index 21697bcb6b7c..93b2784892da 100644
--- a/sysutils/fastfetch/Makefile
+++ b/sysutils/fastfetch/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fastfetch
-DISTVERSION=	2.21.0
+DISTVERSION=	2.21.1
 CATEGORIES=	sysutils
 
 MAINTAINER=	pkubaj@FreeBSD.org
@@ -18,10 +18,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	fastfetch-cli
 
 OPTIONS_DEFINE=	VULKAN WAYLAND XCB LIBDRM GIO DCONF DBUS XFCONF SQLITE3 \
-		IMAGEMAGICK CHAFA GLX OSMESA OPENCL
+		IMAGEMAGICK CHAFA GLX OSMESA OPENCL ELF
 
 OPTIONS_DEFAULT=VULKAN WAYLAND XCB LIBDRM GIO DCONF DBUS XFCONF SQLITE3 \
-		IMAGEMAGICK CHAFA GLX OSMESA OPENCL
+		IMAGEMAGICK CHAFA GLX OSMESA OPENCL ELF
 
 DCONF_DESC=	Needed for values that are only stored in DConf + Fallback for GSettings
 CHAFA_DESC=	Image output as ascii art
@@ -30,6 +30,7 @@ OSMESA_DESC=	Enable osmesa support
 VULKAN_DESC=	Vulkan module & fallback for GPU output
 XCB_DESC=	Needed for display and WM detection in X11
 XFCONF_DESC=	Needed for XFWM theme and XFCE Terminal font
+ELF_DESC=	Use libelf to extract strings from binaries
 
 VULKAN_CMAKE_BOOL=	ENABLE_VULKAN
 VULKAN_BUILD_DEPENDS=	${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader \
@@ -76,6 +77,9 @@ OPENCL_CMAKE_BOOL=	ENABLE_OPENCL
 OPENCL_BUILD_DEPENDS=	${LOCALBASE}/lib/libOpenCL.so:devel/ocl-icd \
 			${LOCALBASE}/include/CL/cl.h:devel/opencl
 
+ELF_CMAKE_BOOL=	ENABLE_ELF
+ELF_BUILD_DEPENDS=	${LOCALBASE}/lib/libelf.so:devel/elfutils
+
 CMAKE_ARGS=	-DTARGET_DIR_ETC:STRING="${LOCALBASE}/etc" \
 		-DENABLE_SYSTEM_YYJSON:BOOL=ON
 
diff --git a/sysutils/fastfetch/distinfo b/sysutils/fastfetch/distinfo
index fcd7ad1538e2..3f29fbcec151 100644
--- a/sysutils/fastfetch/distinfo
+++ b/sysutils/fastfetch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722846733
-SHA256 (fastfetch-cli-fastfetch-2.21.0_GH0.tar.gz) = 21d085a612b6bd9ab0f4e7bffe2632e313e6f67d432251cfd5a7f877b7194733
-SIZE (fastfetch-cli-fastfetch-2.21.0_GH0.tar.gz) = 1086262
+TIMESTAMP = 1723179183
+SHA256 (fastfetch-cli-fastfetch-2.21.1_GH0.tar.gz) = 67afc33bc1ad321cecf9e4c6f22b09d85020d0beacb10c31008d1111a6a72b70
+SIZE (fastfetch-cli-fastfetch-2.21.1_GH0.tar.gz) = 1089392
diff --git a/sysutils/fastfetch/pkg-plist b/sysutils/fastfetch/pkg-plist
index 7575991b9466..a8adcb665df4 100644
--- a/sysutils/fastfetch/pkg-plist
+++ b/sysutils/fastfetch/pkg-plist
@@ -19,6 +19,7 @@ share/man/man1/fastfetch.1.gz
 %%DATADIR%%/presets/examples/20.jsonc
 %%DATADIR%%/presets/examples/21.jsonc
 %%DATADIR%%/presets/examples/22.jsonc
+%%DATADIR%%/presets/examples/23.jsonc
 %%DATADIR%%/presets/examples/2.jsonc
 %%DATADIR%%/presets/examples/3.jsonc
 %%DATADIR%%/presets/examples/4.jsonc