repo/gentoo:master commit in: app-misc/fastfetch/

"Viorel Munteanu" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786034413.b4c36cdab6ef9c5b3873100f7a6c57947e25b0ad.ceamac@gentoo>
commit:     b4c36cdab6ef9c5b3873100f7a6c57947e25b0ad
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 16:36:27 2026 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 16:40:13 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c36cda

app-misc/fastfetch: update live ebuilds

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 app-misc/fastfetch/fastfetch-0.1.9999.ebuild | 10 ++++++++--
 app-misc/fastfetch/fastfetch-0.2.9999.ebuild | 10 ++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
index 4c732dc041e6..bda7ddcde8df 100644
--- a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild
@@ -48,7 +48,7 @@ RDEPEND="
 	)
 	pulseaudio? ( media-libs/libpulse )
 	sqlite? ( dev-db/sqlite:3 )
-	vaapi? ( media-libs/libva:= )
+	vaapi? ( media-libs/libva:=[X?] )
 	vdpau? ( x11-libs/libvdpau )
 	vulkan? (
 		media-libs/vulkan-loader
@@ -127,7 +127,7 @@ src_configure() {
 		-DENABLE_OPENCL=$(usex opencl)
 		-DENABLE_PULSE=$(usex pulseaudio)
 		-DENABLE_SQLITE3=$(usex sqlite)
-		-DENABLE_VA=$(usex vaapi)
+		-DENABLE_VADRM=$(usex vaapi)
 		-DENABLE_VDPAU=$(usex vdpau)
 		-DENABLE_VULKAN=$(usex vulkan)
 		-DENABLE_WAYLAND=$(usex wayland)
@@ -136,6 +136,12 @@ src_configure() {
 		-DBUILD_TESTS=$(usex test)
 	)
 
+	if use vaapi && use X; then
+		mycmakeargs+=( -DENABLE_VAX11=1 )
+	else
+		mycmakeargs+=( -DENABLE_VAX11=0 )
+	fi
+
 	if use lua; then
 		mycmakeargs+=(
 			-DLUA_VERSION="$(lua_get_version)"

diff --git a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
index 4c732dc041e6..bda7ddcde8df 100644
--- a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild
@@ -48,7 +48,7 @@ RDEPEND="
 	)
 	pulseaudio? ( media-libs/libpulse )
 	sqlite? ( dev-db/sqlite:3 )
-	vaapi? ( media-libs/libva:= )
+	vaapi? ( media-libs/libva:=[X?] )
 	vdpau? ( x11-libs/libvdpau )
 	vulkan? (
 		media-libs/vulkan-loader
@@ -127,7 +127,7 @@ src_configure() {
 		-DENABLE_OPENCL=$(usex opencl)
 		-DENABLE_PULSE=$(usex pulseaudio)
 		-DENABLE_SQLITE3=$(usex sqlite)
-		-DENABLE_VA=$(usex vaapi)
+		-DENABLE_VADRM=$(usex vaapi)
 		-DENABLE_VDPAU=$(usex vdpau)
 		-DENABLE_VULKAN=$(usex vulkan)
 		-DENABLE_WAYLAND=$(usex wayland)
@@ -136,6 +136,12 @@ src_configure() {
 		-DBUILD_TESTS=$(usex test)
 	)
 
+	if use vaapi && use X; then
+		mycmakeargs+=( -DENABLE_VAX11=1 )
+	else
+		mycmakeargs+=( -DENABLE_VAX11=0 )
+	fi
+
 	if use lua; then
 		mycmakeargs+=(
 			-DLUA_VERSION="$(lua_get_version)"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.