I currently in the process of packaging wofi 1.1 for fedora, noticed it has some development related man pages, which should then go into a -devel package. I was then looking for the corresponding header files and realized that they were not installed. Should be as simple as a adding a section like:
install_headers( 'inc/wofi.h', ..., subdir : 'wofi-1', )
Additionally a pkg-config file (https://www.freedesktop.org/wiki/Software/pkg-config/) would be neat to have as well.
Would I add something to the meson.build file for install the pkg-config file? I'm not sure how that works since I don't think meson has a function for that and different distros like to put those in different places. Would I use
There is a pkgconfig module for meson that should make this task easy: https://mesonbuild.com/Pkgconfig-module.html I think that should be good enough actually. Seen an example here: https://github.com/fwupd/fwupd/blob/master/libfwupdplugin/meson.build#L122
Wow that module makes it very easy indeed. Alright, time to deal with a v1.1.1 which will be fun, because I have to make a new head tag it then merge it back into the tip since I've already pushed new features since v1.1
I have pushed v1.1.1 which should hopefully be good to go with pkg-config and header installation.