I tried to look every page/issue but I couldn't find any solution. How do I configure build in PKGBUILD?
I already tried to add "-DENABLE_PULSEAUDIO="ON"" at each one highlighted lines below and it didn't work.
...
build() {
cd "${pkgname}/build" || exit 1
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
cmake --build . ^^^^^
} ^^^^
...
Pulseaudio support is not inside any release yet. You'll need to use polybar-git, as long as you have the dependencies installed (pulseaudio should be enough), polybar should now compile with pulseaudio support.
Thanks for mentioning! I happened to be having the same confusion. I have added to the note in the wiki, if that's okay.
@beanaroo Yeah, I was just about to do that but then I saw you already did. Thanks 馃槃
Most helpful comment
Pulseaudio support is not inside any release yet. You'll need to use
polybar-git, as long as you have the dependencies installed (pulseaudioshould be enough), polybar should now compile with pulseaudio support.