Commit Graph

5 Commits

Author SHA1 Message Date
Mario Limonciello
f781015607 Bump meson version requirement to 0.41
This allows dropping the previous valgrind hack.
Similar logic as previous commits.
2018-04-20 09:05:17 -05:00
Jan Tojnar
cc9f934787 build: Refactor directory selection
Previously, the various install paths were obtained using get_option
as needed.

This patch unifies the directory selection inside the top-level meson
file as requested in https://github.com/hughsie/colord/pull/62.
2017-11-17 17:11:51 +00:00
Richard Hughes
97d1cbb304 trivial: Ensure the polkit rules always get installed into datadir 2017-11-10 14:31:22 +00:00
Mario Limonciello
df430376fc policy: fix compilation on a variety of configurations
* Meson >=0.41.0, (unreleased) polkit 0.114+ don't use data_dirs argument
* Meson >=0.41.0, older polkit, use local ITS rules with data_dirs argument
* Meson <0.41.0, any polkit, use custom policy building rules

Later on when meson 0.41.0+ and polkit 0.114+ is in many stable distros
this commit can be reverted and dependencies updated.

Fixes: #107
2017-07-10 16:30:24 -05:00
Richard Hughes
57746cb839 Add the Meson build system as an alternate to autotools
Automake and autoconf are impossible to fully understand and Meson now provides
everything we need for a much smaller, faster, and more understandable build.

See http://mesonbuild.com/ for more information.
2017-04-12 16:35:18 +01:00