x11/waybar: backport SNDIO support

This commit is contained in:
Jan Beich 2020-10-05 00:07:53 +00:00
parent 162ca4d4e5
commit e68fc6bf05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=551470
2 changed files with 16 additions and 2 deletions

View File

@ -2,8 +2,13 @@
PORTNAME= waybar
DISTVERSION= 0.9.4
PORTREVISION= 1
CATEGORIES= x11
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= e4427cb017f2.patch:-p1 # https://github.com/Alexays/Waybar/pull/849
PATCHFILES+= 22e46ea6cc64.patch:-p1 # https://github.com/Alexays/Waybar/pull/849
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Highly customizable Wayland bar for Sway and wlroots-based compositors
@ -34,8 +39,8 @@ SUB_FILES+= date.pc
post-patch: apply-slist
.endif
OPTIONS_DEFINE= DBUS GLS ICONSFONT MANPAGES MPD PULSEAUDIO UDEV
OPTIONS_DEFAULT=DBUS GLS ICONSFONT MANPAGES MPD PULSEAUDIO UDEV
OPTIONS_DEFINE= DBUS GLS ICONSFONT MANPAGES MPD PULSEAUDIO SNDIO UDEV
OPTIONS_DEFAULT=DBUS GLS ICONSFONT MANPAGES MPD PULSEAUDIO SNDIO UDEV
DBUS_LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu
DBUS_MESON_ENABLED= dbusmenu-gtk
@ -62,6 +67,7 @@ MANPAGES_PLIST_FILES= man/man5/${PORTNAME}-backlight.5.gz \
man/man5/${PORTNAME}-network.5.gz \
man/man5/${PORTNAME}-pulseaudio.5.gz \
man/man5/${PORTNAME}-river-tags.5.gz \
man/man5/${PORTNAME}-sndio.5.gz \
man/man5/${PORTNAME}-states.5.gz \
man/man5/${PORTNAME}-sway-mode.5.gz \
man/man5/${PORTNAME}-sway-window.5.gz \
@ -79,6 +85,10 @@ MPD_MESON_ENABLED= mpd
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_MESON_ENABLED= pulseaudio
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_USES= localbase:ldflags
SNDIO_MESON_ENABLED= sndio
UDEV_DESC= Monitor backlight level via libudev
UDEV_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libudev.so:devel/libudev-devd

View File

@ -1,3 +1,7 @@
TIMESTAMP = 1600683522
SHA256 (Alexays-Waybar-0.9.4_GH0.tar.gz) = d49c09ee253ca9cc9688d1b4d8602adc9bdae613b02e2fa1a2e7277ddc9e82e8
SIZE (Alexays-Waybar-0.9.4_GH0.tar.gz) = 137409
SHA256 (e4427cb017f2.patch) = b37743cc5b9564f815ca95dbd97404324ce8a456674a183d4d89070a57768ce2
SIZE (e4427cb017f2.patch) = 11956
SHA256 (22e46ea6cc64.patch) = a8e4030c105e7c08331fe0bf09b3c2129161abc3c4accb09b8c64233ea211099
SIZE (22e46ea6cc64.patch) = 3686