I tried following the meson instructions in the `README` (what read the instructions??) and it works!!! :rocket:
For me plugins configures, compiles and add-ons works!!! (only one that I use :-) with `./autogen.sh --prefix=/home/lex/geany-meson --with-geany-libdir=/home/lex/geany-meson/lib/x86_64-linux-gnu`.
@eli-schwartz the `--with-geany-libdir` was introduced to geany-plugins autotools build by the Geany Debian package maintainer because it was supposedly the "standard" way of doing things there instead of using `--libdir`.
But the statement in the Geany `README` ``` By default, meson will install Geany to `/usr/local`. A different prefix can be selected at the initial command or via reconfiguration:
`meson --prefix /opt build` or `meson configure --prefix /opt build`
```
is incomplete on Debian and derivates. I suggest something like:
``` By default, meson will install Geany to `/usr/local`. A different prefix can be selected at the initial command or via reconfiguration:
`meson --prefix /opt build` or `meson configure --prefix /opt build`
Meson will use the distro's preferred library location (eg `$prefix/lib/x86_64-linux-gnu` on Debian) or `$prefix/lib`.
Note, the Geany plugins autotools build assumes `$prefix/lib` so if your distro uses a different location geany plugins must be built with the `--with-geany-libdir=` set to the libdir used by the meson build. ```
The Geany autotools build also seems to work after this PR is applied.
So I'm ok with it.