gui-apps/wayfire: "default" in src_install() doesn't install the binaries
Zuccace opened this issue · comments
Looks like portage's default install doesn't do anything... Even with "meson" eclass inherited.
Maybe follow upstream instructions instead of relying to "default"?
https://github.com/WayfireWM/wayfire#build-and-install
I'll try to figure out why this happens as I get more time to concentrate more on this.
+ local retval
+ src_install
+ default
+ default_src_install
+ __eapi6_src_install
+ [[ -f Makefile ]]
+ [[ -f GNUmakefile ]]
+ [[ -f makefile ]]
+ einstalldocs
Sure it only searches for regular makefiles...
So meson.eclass src_install() doesn't include/run meson_src_install().
We need to run it manually:
src_install() {
default
meson_src_install
insinto "/usr/share/wayland-sessions/";
insopts -m644;
doins wayfire.desktop;
insinto "/usr/share/doc/${P}/";
insopts -m644;
doins wayfire.ini.default;
}
Please test and run wayfire. I haven't tested this much. I only observed that the files are now installed (hopefully) in right directories.
Oh wow.
Thats some awesome debugging!
Thanks a lot for the info.
I've checked and verified that this works.
I've added this to all 3 ebuilds for wayfire (including the 9999).
I'm travelling right now (till end of January) so I can't do too much debugging but I can check small things.