On Sat, Jul 25 2026 at 08:41:57 -07:00:00, Khem Raj <raj.khem@gmail.com> wrote:
why not inherit gi-docgen class here.

Assuming that the gi-docgen class is intended to make the build of docs configurable via the ‘api-documentation’ distro feature, this option is not available in malcontent's meson.build. gi-docgen is a hard dependency, and the doc build cannot be disabled. Therefore, I thought it would be simpler and better reflect what the developer wants to simply include `gidocgen-native` as a dependency without any conditions.


You mean PV should be included in the recipe name? That's not so easy with malcontent. We build it twice. First, without the graphical user interface, so we can use it as a dependency for flatpak without circular dependencies. Then, a second time, we build the full version but manually install only the files for the graphical user interface to avoid multiple file providers in `do_rootfs`. Thats why were dependent on the recipes being updated together, and that's why PV is included in `malcontent.inc`.