From 4a563cbdcb2f7487f32fc1bffd5d98914774b7ca Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Fri, 19 Dec 2025 09:12:18 +0200 Subject: [PATCH] app-misc/fastfetch: sync live ebuilds Signed-off-by: Viorel Munteanu --- app-misc/fastfetch/fastfetch-0.1.9999.ebuild | 16 +++++++--------- app-misc/fastfetch/fastfetch-0.2.9999.ebuild | 16 +++++++--------- app-misc/fastfetch/fastfetch-2.56.1.ebuild | 1 - 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild index d280c52c225cb..45a7c5d3a252b 100644 --- a/app-misc/fastfetch/fastfetch-0.1.9999.ebuild +++ b/app-misc/fastfetch/fastfetch-0.1.9999.ebuild @@ -67,13 +67,6 @@ REQUIRED_USE=" chafa? ( imagemagick ) " -pkg_pretend() { - if use X && ! use opengl; then - einfo 'USE="X" adds GLX support for USE="opengl"' - einfo 'This build with USE="X -opengl" will not include any extra X support.' - fi -} - src_configure() { local fastfetch_enable_imagemagick7=no local fastfetch_enable_imagemagick6=no @@ -83,8 +76,13 @@ src_configure() { fi local glx=no - if use opengl && use X; then - glx=yes + if use X; then + if use opengl; then + glx=yes + else + ewarn 'USE="X" adds GLX support for USE="opengl"' + ewarn 'This build with USE="X -opengl" will not include any extra X support.' + fi fi local mycmakeargs=( diff --git a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild index d280c52c225cb..45a7c5d3a252b 100644 --- a/app-misc/fastfetch/fastfetch-0.2.9999.ebuild +++ b/app-misc/fastfetch/fastfetch-0.2.9999.ebuild @@ -67,13 +67,6 @@ REQUIRED_USE=" chafa? ( imagemagick ) " -pkg_pretend() { - if use X && ! use opengl; then - einfo 'USE="X" adds GLX support for USE="opengl"' - einfo 'This build with USE="X -opengl" will not include any extra X support.' - fi -} - src_configure() { local fastfetch_enable_imagemagick7=no local fastfetch_enable_imagemagick6=no @@ -83,8 +76,13 @@ src_configure() { fi local glx=no - if use opengl && use X; then - glx=yes + if use X; then + if use opengl; then + glx=yes + else + ewarn 'USE="X" adds GLX support for USE="opengl"' + ewarn 'This build with USE="X -opengl" will not include any extra X support.' + fi fi local mycmakeargs=( diff --git a/app-misc/fastfetch/fastfetch-2.56.1.ebuild b/app-misc/fastfetch/fastfetch-2.56.1.ebuild index 1e9b9ac5f357a..45a7c5d3a252b 100644 --- a/app-misc/fastfetch/fastfetch-2.56.1.ebuild +++ b/app-misc/fastfetch/fastfetch-2.56.1.ebuild @@ -68,7 +68,6 @@ REQUIRED_USE=" " src_configure() { - local fastfetch_enable_imagemagick7=no local fastfetch_enable_imagemagick6=no if use imagemagick; then