commit: 4a563cbdcb2f7487f32fc1bffd5d98914774b7ca
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 19 07:12:18 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Dec 19 07:12:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a563cbd
app-misc/fastfetch: sync live ebuilds
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
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 d280c52c225c..45a7c5d3a252 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 d280c52c225c..45a7c5d3a252 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 1e9b9ac5f357..45a7c5d3a252 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