Polybar: How to compile polybar with pulseaudio support? (in PKGBUILD)

Created on 27 Jan 2018  路  3Comments  路  Source: polybar/polybar

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      .              ^^^^^
}               ^^^^
...
build

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 (pulseaudio should be enough), polybar should now compile with pulseaudio support.

All 3 comments

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 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AlecsFerra picture AlecsFerra  路  3Comments

mikeroll picture mikeroll  路  4Comments

guncha picture guncha  路  3Comments

imnoone22 picture imnoone22  路  3Comments

faminee picture faminee  路  4Comments