summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-08-16 15:39:01 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-08-18 23:24:41 -0400
commit5294c412ea26643eeb5d286b9465e556f3033551 (patch)
treefc922a8b4c3b48eb2929504fad45f4ff4b3dad15 /gui-apps
parentx11-wm/mutter: Version bump to 40.4 (diff)
downloadgentoo-5294c412ea26643eeb5d286b9465e556f3033551.tar.gz
gentoo-5294c412ea26643eeb5d286b9465e556f3033551.tar.bz2
gentoo-5294c412ea26643eeb5d286b9465e556f3033551.zip
gui-apps/waybar: Add support for sndio
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/22004 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/waybar/metadata.xml1
-rw-r--r--gui-apps/waybar/waybar-0.9.5-r1.ebuild5
-rw-r--r--gui-apps/waybar/waybar-0.9.7-r1.ebuild5
-rw-r--r--gui-apps/waybar/waybar-9999.ebuild5
4 files changed, 10 insertions, 6 deletions
diff --git a/gui-apps/waybar/metadata.xml b/gui-apps/waybar/metadata.xml
index dcceb3fa3b55..cd0c464d767f 100644
--- a/gui-apps/waybar/metadata.xml
+++ b/gui-apps/waybar/metadata.xml
@@ -13,6 +13,7 @@
<flag name="mpd">Enable support for the Music Player Daemon</flag>
<flag name="network">Enable libnl support for network related features</flag>
<flag name="popups">Enable popup support with gtk-layer-shell</flag>
+ <flag name="sndio">Enable support for volume control via sndio</flag>
<flag name="pulseaudio">Enable support for volume control via PulseAudio</flag>
<flag name="tray">Enable support for tray</flag>
<flag name="wifi">Enable support for wifi/rfkill</flag>
diff --git a/gui-apps/waybar/waybar-0.9.5-r1.ebuild b/gui-apps/waybar/waybar-0.9.5-r1.ebuild
index 9bc5d7b989d9..fe2a849be6ce 100644
--- a/gui-apps/waybar/waybar-0.9.5-r1.ebuild
+++ b/gui-apps/waybar/waybar-0.9.5-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${PN^}-${PV}"
LICENSE="MIT"
SLOT="0"
-IUSE="mpd network popups pulseaudio tray +udev wifi"
+IUSE="mpd network popups pulseaudio sndio tray +udev wifi"
BDEPEND="
>=app-text/scdoc-1.9.2
@@ -41,6 +41,7 @@ DEPEND="
network? ( dev-libs/libnl:3 )
popups? ( gui-libs/gtk-layer-shell )
pulseaudio? ( media-sound/pulseaudio )
+ sndio? ( media-sound/sndio:= )
tray? (
dev-libs/libdbusmenu[gtk3]
dev-libs/libappindicator
@@ -60,10 +61,10 @@ src_configure() {
$(meson_feature network libnl)
$(meson_feature popups gtk-layer-shell)
$(meson_feature pulseaudio)
+ $(meson_feature sndio)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_feature wifi rfkill)
- -Dsndio=disabled
)
meson_src_configure
}
diff --git a/gui-apps/waybar/waybar-0.9.7-r1.ebuild b/gui-apps/waybar/waybar-0.9.7-r1.ebuild
index aeaa8117b737..7113f77a8749 100644
--- a/gui-apps/waybar/waybar-0.9.7-r1.ebuild
+++ b/gui-apps/waybar/waybar-0.9.7-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${PN^}-${PV}"
LICENSE="MIT"
SLOT="0"
-IUSE="mpd network popups pulseaudio tray +udev wifi"
+IUSE="mpd network popups pulseaudio sndio tray +udev wifi"
BDEPEND="
>=app-text/scdoc-1.9.2
@@ -41,6 +41,7 @@ DEPEND="
network? ( dev-libs/libnl:3 )
popups? ( gui-libs/gtk-layer-shell )
pulseaudio? ( media-sound/pulseaudio )
+ sndio? ( media-sound/sndio:= )
tray? (
dev-libs/libdbusmenu[gtk3]
dev-libs/libappindicator
@@ -60,10 +61,10 @@ src_configure() {
$(meson_feature network libnl)
$(meson_feature popups gtk-layer-shell)
$(meson_feature pulseaudio)
+ $(meson_feature sndio)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_feature wifi rfkill)
- -Dsndio=disabled
)
meson_src_configure
}
diff --git a/gui-apps/waybar/waybar-9999.ebuild b/gui-apps/waybar/waybar-9999.ebuild
index d7a4fe437b99..d30504c323d6 100644
--- a/gui-apps/waybar/waybar-9999.ebuild
+++ b/gui-apps/waybar/waybar-9999.ebuild
@@ -18,7 +18,7 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="mpd network popups pulseaudio tray +udev wifi"
+IUSE="mpd network popups pulseaudio sndio tray +udev wifi"
BDEPEND="
>=app-text/scdoc-1.9.2
@@ -40,6 +40,7 @@ DEPEND="
network? ( dev-libs/libnl:3 )
popups? ( gui-libs/gtk-layer-shell )
pulseaudio? ( media-sound/pulseaudio )
+ sndio? ( media-sound/sndio:= )
tray? (
dev-libs/libdbusmenu[gtk3]
dev-libs/libappindicator
@@ -55,10 +56,10 @@ src_configure() {
$(meson_feature network libnl)
$(meson_feature popups gtk-layer-shell)
$(meson_feature pulseaudio)
+ $(meson_feature sndio)
$(meson_feature tray dbusmenu-gtk)
$(meson_feature udev libudev)
$(meson_feature wifi rfkill)
- -Dsndio=disabled
)
meson_src_configure
}