nyyManni / dmenu-wayland

dmenu for wayland-compositors
MIT License
197 stars 22 forks source link

Use meson as build system #3

Closed ganguin closed 5 years ago

ganguin commented 5 years ago

The current build system does not handle different library paths, here is a meson.build that relies on pkg-config.

I also added the auto-generation of wayland protocol files using wayland-scanner. (and therefore removed the autogenerated files). I added the wlroots protocol xml file (copied latest version from wlroots master branch on github) as distributions do not seem to bundle it.

to build and install:

meson builddir
cd builddir
ninja
ninja install
nyyManni commented 5 years ago

Thanks a lot for your effort!

I will mention @Depau here, as he has created (if I did my research correctly) an AUR package from this project, and switching the build system is probably something he wants to be aware of.

The README needs to be updated with the new build instructions. Maybe we should also get rid of the Makefile as building with it no longer works.

depau commented 5 years ago

Thanks for letting me know, I'll update the package once you merge it.