git: 9e68c986a699 - main - x11/sfwbar: upgrade to 1.0.b12_1

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Mon, 04 Sep 2023 06:34:22 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9e68c986a699a870fe661963912ec6102723313f

commit 9e68c986a699a870fe661963912ec6102723313f
Author:     Tino Engel <tino.engel@mail.de>
AuthorDate: 2023-08-31 18:01:51 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-09-04 06:34:09 +0000

    x11/sfwbar: upgrade to 1.0.b12_1
    
    PR:             273470
    Reported by:    tino.engel@mail.de (maintainer)
---
 x11/sfwbar/Makefile  | 33 +++++++++++++++++++++++++++++----
 x11/sfwbar/distinfo  |  6 +++---
 x11/sfwbar/pkg-plist | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 79 insertions(+), 7 deletions(-)

diff --git a/x11/sfwbar/Makefile b/x11/sfwbar/Makefile
index f74744641383..00d7e6ccb806 100644
--- a/x11/sfwbar/Makefile
+++ b/x11/sfwbar/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	sfwbar
-DISTVERSION=	1.0_beta9
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+DISTVERSION=	1.0_beta12
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	tino.engel@mail.de
@@ -17,11 +16,37 @@ LIB_DEPENDS=	libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \
 		libjson-c.so:devel/json-c
 
 USES=		gnome meson pkgconfig
-USE_GNOME=	cairo gdkpixbuf2 gtk30
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	LBCrion
 
-SUB_FILES=	pkg-message
+USE_GNOME=	cairo gdkpixbuf2 gtk30
+
+SUB_FILES=		pkg-message
+
+OPTIONS_DEFINE=		MPD NETWORK PULSEAUDIO XKB ALSA
+OPTIONS_DEFAULT=	MPD NETWORK PULSEAUDIO XKB ALSA
+OPTIONS_SUB=		yes
+
+ALSA_DESC=		ALSA audio volume control
+MPD_DESC=		Music player daemon control
+NETWORK_DESC=		Network interface monitor support
+PULSEAUDIO_DESC=	Pulse audio volume control
+XKB_DESC=		XkbCommon keyboard layout conversion support
+
+ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
+ALSA_MESON_ENABLED=	alsa
+
+MPD_LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient
+MPD_MESON_ENABLED=	mpd
+
+NETWORK_MESON_ENABLED=	network
+
+PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
+PULSEAUDIO_MESON_ENABLED=	pulse
+
+XKB_LIB_DEPENDS=	libxkbregistry.so:x11/libxkbcommon
+XKB_MESON_ENABLED=	xkb
+
 
 .include <bsd.port.mk>
diff --git a/x11/sfwbar/distinfo b/x11/sfwbar/distinfo
index c2368539d1eb..919d748e6d53 100644
--- a/x11/sfwbar/distinfo
+++ b/x11/sfwbar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669757728
-SHA256 (LBCrion-sfwbar-v1.0_beta9_GH0.tar.gz) = ad4e2599c34703298871511e013b183d2c9b6f3c42e75d8a7514fae162ba07b3
-SIZE (LBCrion-sfwbar-v1.0_beta9_GH0.tar.gz) = 290432
+TIMESTAMP = 1691478313
+SHA256 (LBCrion-sfwbar-v1.0_beta12_GH0.tar.gz) = 98dfdc9915d57c17588e71a8c50964891e8aa6fcda8077ef390924fe28445eda
+SIZE (LBCrion-sfwbar-v1.0_beta12_GH0.tar.gz) = 362373
diff --git a/x11/sfwbar/pkg-plist b/x11/sfwbar/pkg-plist
index 700bd8570aa1..95bec4500f4e 100644
--- a/x11/sfwbar/pkg-plist
+++ b/x11/sfwbar/pkg-plist
@@ -1,8 +1,26 @@
 bin/sfwbar
+%%ALSA%%lib/sfwbar/alsactl.so
+lib/sfwbar/idleinhibit.so
+%%MPD%%lib/sfwbar/mpd.so
+%%NETWORK%%lib/sfwbar/network.so
+%%PULSEAUDIO%%lib/sfwbar/pulsectl.so
+%%XKB%%lib/sfwbar/xkbmap.so
+%%ALSA%%man/man1/sfwbar-idleinhibit.1.gz
+%%MPD%%man/man1/sfwbar-mpd.1.gz
+%%NETWORK%%man/man1/sfwbar-network.1.gz
+%%PULSEAUDIO%%man/man1/sfwbar-pulse.1.gz
+%%XKB%%man/man1/sfwbar-xkbmap.1.gz
 man/man1/sfwbar.1.gz
+share/icons/hicolor/scalable/apps/sfwbar.svg
+%%DATADIR%%/alsa-module.widget
+%%DATADIR%%/alsa.widget
+%%DATADIR%%/battery-svg.widget
 %%DATADIR%%/battery.widget
 %%DATADIR%%/clock.widget
+%%DATADIR%%/cpu-temp.source
 %%DATADIR%%/cpu-temp.widget
+%%DATADIR%%/cpu.source
+%%DATADIR%%/cpu.widget
 %%DATADIR%%/fan-rpm.widget
 %%DATADIR%%/icons/misc/comp.svg
 %%DATADIR%%/icons/misc/cpu.svg
@@ -11,6 +29,7 @@ man/man1/sfwbar.1.gz
 %%DATADIR%%/icons/misc/lan.svg
 %%DATADIR%%/icons/misc/lock.svg
 %%DATADIR%%/icons/misc/missing.svg
+%%DATADIR%%/icons/misc/music-player-symbolic.svg
 %%DATADIR%%/icons/misc/play.svg
 %%DATADIR%%/icons/misc/rewind.svg
 %%DATADIR%%/icons/misc/stop.svg
@@ -102,15 +121,43 @@ man/man1/sfwbar.1.gz
 %%DATADIR%%/idle.widget
 %%DATADIR%%/lan-bps.widget
 %%DATADIR%%/mb-temp.widget
+%%DATADIR%%/memory.source
+%%DATADIR%%/memory.widget
+%%DATADIR%%/mpd-intmod.widget
 %%DATADIR%%/mpd-mini.widget
+%%DATADIR%%/mpd-module.widget
+%%DATADIR%%/mpd.source
 %%DATADIR%%/mpd.widget
+%%DATADIR%%/network-module.widget
 %%DATADIR%%/oneline.config
+%%DATADIR%%/pulse-module.widget
+%%DATADIR%%/rfkill-bt.widget
+%%DATADIR%%/rfkill-wifi.widget
+%%DATADIR%%/rfkill.source
 %%DATADIR%%/sfwbar.config
 %%DATADIR%%/showdesktop.widget
 %%DATADIR%%/startmenu.widget
+%%DATADIR%%/swap.source
+%%DATADIR%%/sway-lang.widget
 %%DATADIR%%/t2.config
+%%DATADIR%%/test.config
+%%DATADIR%%/test.widget
+%%DATADIR%%/test2.config
+%%DATADIR%%/twoline.config
 %%DATADIR%%/usage.widget
 %%DATADIR%%/vertical.config
 %%DATADIR%%/w10.config
+%%DATADIR%%/wbar-backlight.widget
+%%DATADIR%%/wbar-battery.widget
+%%DATADIR%%/wbar-bluetooth.widget
+%%DATADIR%%/wbar-cpu.widget
+%%DATADIR%%/wbar-idleinhibit.widget
+%%DATADIR%%/wbar-memory.widget
+%%DATADIR%%/wbar-mpd.widget
+%%DATADIR%%/wbar-net.widget
+%%DATADIR%%/wbar-pulse.widget
+%%DATADIR%%/wbar-sway-lang.widget
+%%DATADIR%%/wbar-temp.widget
 %%DATADIR%%/wbar.config
 %%DATADIR%%/weather.widget
+%%DATADIR%%/winops.widget