diff --git a/srcpkgs/polybar/template b/srcpkgs/polybar/template index 259fd6da77a..fbf879eeac1 100644 --- a/srcpkgs/polybar/template +++ b/srcpkgs/polybar/template @@ -1,7 +1,7 @@ # Template file for 'polybar' pkgname=polybar version=3.2.1 -revision=2 +revision=3 _i3ipcpp_version=0.7.1 _xpp_version=1.4.0 build_style=cmake @@ -11,6 +11,7 @@ configure_args=" -DENABLE_I3=$(vopt_if i3 ON OFF) -DENABLE_MPD=$(vopt_if mpd ON OFF) -DENABLE_NETWORK=$(vopt_if network ON OFF) + -DENABLE_PULSEAUDIO=$(vopt_if pulseaudio ON OFF) -DWITH_XRENDER=ON -DWITH_XDAMAGE=ON -DWITH_XSYNC=ON -DWITH_XCOMPOSITE=ON" hostmakedepends="pkg-config xcb-proto" @@ -20,7 +21,8 @@ makedepends="cairo-devel xcb-util-image-devel xcb-util-wm-devel xcb-util-xrm-dev $(vopt_if curl "libcurl-devel") $(vopt_if i3 "i3-devel jsoncpp-devel") $(vopt_if mpd "libmpdclient-devel") - $(vopt_if network "wireless_tools-devel")" + $(vopt_if network "wireless_tools-devel") + $(vopt_if pulseaudio "pulseaudio-devel")" short_desc="A fast and easy-to-use status bar" maintainer="Michael Carlberg " license="MIT" @@ -34,7 +36,7 @@ checksum="604e3e8b4fd8c211df94cdd193f8c760c7c027e6822e5b2f598132decdf3edaf $(vopt_if i3 644d82d0e73b7c653e344ac8852e4d7435d9fb7ea54a160ab81662ab4b3652cf)" replaces="lemonbuddy>=0" -build_options="alsa curl i3 mpd network" +build_options="alsa curl i3 mpd network pulseaudio" build_options_default="$build_options" desc_option_alsa="Enable support for ALSA" @@ -42,6 +44,7 @@ desc_option_curl="Enable support for cURL" desc_option_i3="Enable support for i3" desc_option_mpd="Enable support for MPD" desc_option_network="Enable support for network" +desc_option_pulseaudio="Enable support for PulseAudio" CXXFLAGS="-Wno-error=deprecated-declarations"