Commit Graph

3 Commits

Author SHA1 Message Date
Nirbheek Chauhan
c01bc6ef0e g-ir-scanner: Don't require SRCDIR and BUILDDIR env vars
When building with Meson, we cannot set environment variables while
running custom targets and our builddir layout is different from
Autotools anyway.

Now g-ir-scanner and friends can autodetect when they're being run
uninstalled by Meson and will find _giscanner.so and the giscanner
python files in the build directory. This is very similar to what
gdbus-codegen uses in glib/gio.

Same for girepository/gdump.c.
2018-03-10 19:05:19 +05:30
Nirbheek Chauhan
3a78885133 meson: Use glib_dep and configinc for girepository
glib_dep is what is actually needed to #include <glib.h>, not
gobject_dep. It works incidentally with system gobject/glib but not
when built via subprojects.
2018-03-10 19:05:19 +05:30
Patrick Griffis
4c8c1a53b8 Initial work on meson port 2018-03-10 19:05:19 +05:30