mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
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@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@gentoo.org>
This commit is contained in:
parent
185e92464a
commit
bb7d7080a0
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
110
gui-apps/waybar/waybar-0.14.0.ebuild
Normal file
110
gui-apps/waybar/waybar-0.14.0.ebuild
Normal file
@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson optfeature
|
||||
|
||||
DESCRIPTION="Highly customizable Wayland bar for Sway and Wlroots based compositors"
|
||||
HOMEPAGE="https://github.com/Alexays/Waybar"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Alexays/${PN^}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/Alexays/${PN^}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
S="${WORKDIR}/${PN^}-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
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 )"
|
||||
|
||||
BDEPEND="
|
||||
>=app-text/scdoc-1.9.2
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/wayland-scanner
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
dev-cpp/cairomm:0
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-libs/glib:2
|
||||
dev-libs/jsoncpp:=
|
||||
dev-libs/libsigc++:2
|
||||
>=dev-libs/libfmt-8.1.1:=
|
||||
>=dev-libs/spdlog-1.10.0:=
|
||||
dev-libs/date:=
|
||||
dev-libs/wayland
|
||||
>=gui-libs/gtk-layer-shell-0.9.0
|
||||
media-video/pipewire:=
|
||||
x11-libs/gtk+:3[wayland]
|
||||
x11-libs/libxkbcommon
|
||||
evdev? ( dev-libs/libevdev )
|
||||
gps? ( sci-geosciences/gpsd:= )
|
||||
jack? ( virtual/jack )
|
||||
libinput? ( dev-libs/libinput:= )
|
||||
logind? (
|
||||
|| ( sys-apps/systemd
|
||||
sys-auth/elogind )
|
||||
)
|
||||
mpd? ( media-libs/libmpdclient )
|
||||
mpris? ( >=media-sound/playerctl-2 )
|
||||
network? ( dev-libs/libnl:3 )
|
||||
pipewire? ( media-video/wireplumber:0/0.5 )
|
||||
pulseaudio? ( media-libs/libpulse )
|
||||
sndio? ( media-sound/sndio:= )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
tray? (
|
||||
dev-libs/libayatana-appindicator
|
||||
dev-libs/libdbusmenu[gtk3]
|
||||
)
|
||||
udev? ( virtual/libudev:= )
|
||||
upower? ( sys-power/upower:= )
|
||||
wifi? ( sys-apps/util-linux )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/wayland-protocols
|
||||
test? ( dev-cpp/catch:0 )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dman-pages=enabled
|
||||
-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)
|
||||
$(meson_feature mpd)
|
||||
$(meson_feature mpris)
|
||||
$(meson_feature network libnl)
|
||||
$(meson_feature pulseaudio)
|
||||
$(meson_feature pipewire wireplumber)
|
||||
$(meson_feature pipewire)
|
||||
$(meson_feature sndio)
|
||||
$(meson_feature systemd)
|
||||
$(meson_feature test tests)
|
||||
$(meson_feature tray dbusmenu-gtk)
|
||||
$(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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "default icons support" "media-fonts/fontawesome"
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user