Package Details: waybar-cava 0.9.24-1

Git Clone URL: (read-only, click to copy)
Package Base: waybar-cava
Description: Highly customizable Wayland bar for Sway and Wlroots based compositors, with module cava (Cross-platform Audio Visualizer)
Upstream URL:
Licenses: MIT
Conflicts: waybar
Provides: waybar
Submitter: mutoroglin
Maintainer: mutoroglin
Last Packager: mutoroglin
Votes: 2
Popularity: 0.82
First Submitted: 2023-08-30 06:44 (UTC)
Last Updated: 2023-11-03 20:51 (UTC)

Required by (21)

Sources (1)

Latest Comments

mutoroglin commented on 2023-10-18 11:42 (UTC) (edited on 2023-10-18 14:32 (UTC) by mutoroglin)

@MarsSeed thanks a lot for the detailed explanation - it triggered a thought and understanding process on my end!

I firstly created the package 'libcava' (the cava fork that is required by waybar) and added it as a dependency to the 'waybar-cava' package.

Secondly I explicitly declared all features and disabled the auto-features.

MarsSeed commented on 2023-10-15 15:33 (UTC)

If built in an environment where cava is not installed, this package won't provide the waybar/cava module. Because cava is not a dependency, and if not found at build-time, Meson will turn off cava support.

This is the downside of using Meson's auto-features: the resulting build will differ depending on the build environment.

It is better to disable auto-features and declare the needed Meson options explicitly. And also to add the needed libraries in PKGBUILD's depends array.

Thank you in advance for addressing this.

mutoroglin commented on 2023-10-15 14:29 (UTC)

@MarsSeed contrary to the package extra/waybar does this package provide the waybar module cava. Hence there is indeed a usecase for this package. Thank you for the tip on meson's auto-features. I was not aware of this but will digest and update accordingly.

MarsSeed commented on 2023-10-14 08:37 (UTC)

It doesn't make sense to keep this package, as it is just a duplicate of extra/waybar, and also not well configured because it enables meson's auto-features whereas it should be disabled as per Arch package guidelines.