commit:     5990999c7a5922402a2e4fba9bb374da7292bc2d
Author:     ProMix0 <misha.zavertkin <AT> mail <DOT> ru>
AuthorDate: Wed Jul 16 14:50:53 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Jul 17 11:41:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5990999c

gui-apps/waybar: add fontawesome optfeature

Signed-off-by: ProMix0 <misha.zavertkin <AT> mail.ru>
Part-of: https://github.com/gentoo/gentoo/pull/42136
Closes: https://github.com/gentoo/gentoo/pull/42136
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 gui-apps/waybar/waybar-0.12.0.ebuild | 6 +++++-
 gui-apps/waybar/waybar-9999.ebuild   | 8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/gui-apps/waybar/waybar-0.12.0.ebuild 
b/gui-apps/waybar/waybar-0.12.0.ebuild
index daaaf141e595..a453c56ac764 100644
--- a/gui-apps/waybar/waybar-0.12.0.ebuild
+++ b/gui-apps/waybar/waybar-0.12.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit meson
+inherit meson optfeature
 
 DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based 
compositors"
 HOMEPAGE="https://github.com/Alexays/Waybar";
@@ -99,3 +99,7 @@ src_configure() {
        )
        meson_src_configure
 }
+
+pkg_postinst() {
+       optfeature "default icons support" "media-fonts/fontawesome"
+}

diff --git a/gui-apps/waybar/waybar-9999.ebuild 
b/gui-apps/waybar/waybar-9999.ebuild
index 0728d84216b1..e9e696f65576 100644
--- a/gui-apps/waybar/waybar-9999.ebuild
+++ b/gui-apps/waybar/waybar-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit meson
+inherit meson optfeature
 
 DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based 
compositors"
 HOMEPAGE="https://github.com/Alexays/Waybar";
@@ -99,3 +99,7 @@ src_configure() {
        )
        meson_src_configure
 }
+
+pkg_postinst() {
+       optfeature "default icons support" "media-fonts/fontawesome"
+}

Reply via email to