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

hiemanshu picture hiemanshu  路  3Comments

bigdaddytank picture bigdaddytank  路  4Comments

infokiller picture infokiller  路  3Comments

matjaz132 picture matjaz132  路  4Comments

ghost picture ghost  路  4Comments