commit:     bb7d7080a0fb3548e6df43739c1907fd36661db5
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Wed Aug 20 16:10:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  3 12:15:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7d7080

gui-apps/waybar: add 0.14.0

New USE flags:
* `backlight` - enables module that controls the current backlight level (via 
login-proxy interface provided by systemd or elogind)
* `gps` - enables gps module via `sci-geosciences/gpsd`
* `niri` - enables integration with `gui-wm/niri::guru` (via socket, so no 
build dependency)

Closes: https://bugs.gentoo.org/961958
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43508
Closes: https://github.com/gentoo/gentoo/pull/43508
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-apps/waybar/Manifest                                     | 1 +
 gui-apps/waybar/metadata.xml                                 | 2 ++
 gui-apps/waybar/{waybar-9999.ebuild => waybar-0.14.0.ebuild} | 9 +++++++--
 gui-apps/waybar/waybar-9999.ebuild                           | 9 +++++++--
 4 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/gui-apps/waybar/Manifest b/gui-apps/waybar/Manifest
index 10edf6402c43..aeadb778d596 100644
--- a/gui-apps/waybar/Manifest
+++ b/gui-apps/waybar/Manifest
@@ -1,3 +1,4 @@
 DIST waybar-0.10.4.tar.gz 309411 BLAKE2B 
907273e6f1371252aad05212b4c59eabe1662167659d22073ee3bf649d8ee43be852b996dd7b86eecd0384b833cd2d7b9eed69b6b3292cb0b9cdbeb88c9e2391
 SHA512 
e6b25e242c67cae6566c5db9f4cba55ec4fb57cd7345ca3f5d24126ecf5bde150fb8d5cd14f80d3462f81254e1789986c28e3ebdb4227e8c5c8ddcf10fcfd49c
 DIST waybar-0.11.0.tar.gz 317607 BLAKE2B 
f2407335e00f02cbf946d95cfcd409dd148917839fd73d52bec1a0c77e041022e81ad7efcde2bd4394356d92686a25b2ca345319fee5ac393202a483db339f93
 SHA512 
6bd23a469205662e524e53dd8798c4dce6ed371e5106f34644540e2f89804181753814f74b45645185b933c43dc4a0eabb99633936433fdadc25a9cce58b06b0
 DIST waybar-0.12.0.tar.gz 319730 BLAKE2B 
861eacae9ab9571dc09259055b48ff739915de92745de04af4d621de029feb9e5b225ae7f590ea95883c993b12a7be45b164a90d823a322fe4d533a33b3fe689
 SHA512 
f9c70a0f7eef97ae5da788b07eb2d4bf792bee02786e71e7ebd6669109a1cd48275d05286c876f031638d9f6e947cf733f1efa5e47974fda89a8080ad062c5e8
+DIST waybar-0.14.0.tar.gz 341661 BLAKE2B 
257f179dfb3af6c1fd2ce927e7134e641666aa6ac35c5ebbe6fa44c94c1c0100e2efc91faf461be56835a5a4148c2ccaa84a0289e75561ddbe398f5ae17e5886
 SHA512 
dc3d18f7117be8cce5979029110770699b0d9d737337c3cf27361d6ceda6fcde33dac9781e406a70eb24c9e0e95e3801d47e81d44bfb61c311510fb30dd975a7

diff --git a/gui-apps/waybar/metadata.xml b/gui-apps/waybar/metadata.xml
index f5aa99ba21fe..9d0dbf0d55d3 100644
--- a/gui-apps/waybar/metadata.xml
+++ b/gui-apps/waybar/metadata.xml
@@ -14,12 +14,14 @@
                <name>Proxy Maintainers</name>
        </maintainer>
        <use>
+               <flag name="backlight">Enable module that controls the current 
backlight level</flag>
                <flag name="experimental">Enable experimental features, such as 
Bluetooth battery reporting</flag>
                <flag name="evdev">Enable libevdev support for evdev related 
features</flag>
                <flag name="libinput">Enable libinput support for libinput 
related features</flag>
                <flag name="logind">Enable support for logind (bluetooth and 
idle inhibit)</flag>
                <flag name="mpd">Enable support for the Music Player 
Daemon</flag>
                <flag name="mpris">Enable support for mpris</flag>
+               <flag name="niri">Enable support for Niri Wayland 
compositor</flag>
                <flag name="network">Enable libnl support for network related 
features</flag>
                <flag name="sndio">Enable support for volume control via 
sndio</flag>
                <flag name="pipewire">Enable support for pipewire</flag>

diff --git a/gui-apps/waybar/waybar-9999.ebuild 
b/gui-apps/waybar/waybar-0.14.0.ebuild
similarity index 84%
copy from gui-apps/waybar/waybar-9999.ebuild
copy to gui-apps/waybar/waybar-0.14.0.ebuild
index e9e696f65576..aa775ec3c79b 100644
--- a/gui-apps/waybar/waybar-9999.ebuild
+++ b/gui-apps/waybar/waybar-0.14.0.ebuild
@@ -19,9 +19,10 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="evdev experimental jack +libinput +logind mpd mpris network pipewire 
pulseaudio sndio systemd test tray +udev upower wifi"
+IUSE="backlight evdev experimental gps jack +libinput +logind mpd mpris 
network niri pipewire pulseaudio sndio systemd test tray +udev upower wifi"
 REQUIRED_USE="
        upower? ( logind )
+       backlight? ( udev logind )
 "
 
 RESTRICT="!test? ( test )"
@@ -48,6 +49,7 @@ RDEPEND="
        x11-libs/gtk+:3[wayland]
        x11-libs/libxkbcommon
        evdev? ( dev-libs/libevdev )
+       gps? ( sci-geosciences/gpsd:= )
        jack? ( virtual/jack )
        libinput? ( dev-libs/libinput:= )
        logind? (
@@ -77,8 +79,9 @@ DEPEND="${RDEPEND}
 src_configure() {
        local emesonargs=(
                -Dman-pages=enabled
-               -Dcava=disabled
+               -Dcava=disabled # depends on LukashonakV/cava fork, but 
media-sound/cava is karlstav/cava
                $(meson_feature evdev libevdev)
+               $(meson_feature gps)
                $(meson_feature jack)
                $(meson_feature libinput)
                $(meson_feature logind)
@@ -95,7 +98,9 @@ src_configure() {
                $(meson_feature udev libudev)
                $(meson_feature upower upower_glib)
                $(meson_feature wifi rfkill)
+               $(meson_use backlight login-proxy)
                $(meson_use experimental)
+               $(meson_use niri) # communicates by socket with 
gui-wm/niri::guru
        )
        meson_src_configure
 }

diff --git a/gui-apps/waybar/waybar-9999.ebuild 
b/gui-apps/waybar/waybar-9999.ebuild
index e9e696f65576..aa775ec3c79b 100644
--- a/gui-apps/waybar/waybar-9999.ebuild
+++ b/gui-apps/waybar/waybar-9999.ebuild
@@ -19,9 +19,10 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="evdev experimental jack +libinput +logind mpd mpris network pipewire 
pulseaudio sndio systemd test tray +udev upower wifi"
+IUSE="backlight evdev experimental gps jack +libinput +logind mpd mpris 
network niri pipewire pulseaudio sndio systemd test tray +udev upower wifi"
 REQUIRED_USE="
        upower? ( logind )
+       backlight? ( udev logind )
 "
 
 RESTRICT="!test? ( test )"
@@ -48,6 +49,7 @@ RDEPEND="
        x11-libs/gtk+:3[wayland]
        x11-libs/libxkbcommon
        evdev? ( dev-libs/libevdev )
+       gps? ( sci-geosciences/gpsd:= )
        jack? ( virtual/jack )
        libinput? ( dev-libs/libinput:= )
        logind? (
@@ -77,8 +79,9 @@ DEPEND="${RDEPEND}
 src_configure() {
        local emesonargs=(
                -Dman-pages=enabled
-               -Dcava=disabled
+               -Dcava=disabled # depends on LukashonakV/cava fork, but 
media-sound/cava is karlstav/cava
                $(meson_feature evdev libevdev)
+               $(meson_feature gps)
                $(meson_feature jack)
                $(meson_feature libinput)
                $(meson_feature logind)
@@ -95,7 +98,9 @@ src_configure() {
                $(meson_feature udev libudev)
                $(meson_feature upower upower_glib)
                $(meson_feature wifi rfkill)
+               $(meson_use backlight login-proxy)
                $(meson_use experimental)
+               $(meson_use niri) # communicates by socket with 
gui-wm/niri::guru
        )
        meson_src_configure
 }

Reply via email to