Open kooskaspers opened 1 month ago
The --prefix=/usr command-line flag must always be passed to meson setup because Arch Linux packages must not install files to /usr/local. For me this was the reason I couldn't compile and install it from source.
--prefix=/usr
For arch users, the following should work:
meson setup --wipe --prefix=/usr -Dexamples=true -Ddocs=true -Dtests=true build ninja -C build sudo ninja -C build install sudo ldconfig
Now test with:
gtk4-layer-demo
Now you should be lucky.
In arch you should use arch-meson to setup the build for packaging, not meson.
arch-meson
meson
just carefully read the wiki before writing any package for arch
a lot of packagers in arch fall into this problem with meson
The
--prefix=/usr
command-line flag must always be passed to meson setup because Arch Linux packages must not install files to /usr/local. For me this was the reason I couldn't compile and install it from source.For arch users, the following should work:
Now test with:
Now you should be lucky.