diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2019-02-21 18:14:19 +0100 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2019-02-23 18:12:57 +0100 |
commit | 465ec84bbba2c45627d560438096509a00484c18 (patch) | |
tree | f26f3a2ace321da62553fbdf48f9ba3d5fd893b0 /champlain | |
parent | 62287f73dc211d3785c599646588a9b4737afa06 (diff) | |
download | libchamplain-465ec84bbba2c45627d560438096509a00484c18.tar.gz |
meson: Add proper Requires to pc files
Make a correction to the Requires specified in the autotools build:
- champlain requires cairo
Fixes https://gitlab.gnome.org/GNOME/libchamplain/issues/46
Diffstat (limited to 'champlain')
-rw-r--r-- | champlain/meson.build | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/champlain/meson.build b/champlain/meson.build index badb863..1076af6 100644 --- a/champlain/meson.build +++ b/champlain/meson.build @@ -85,13 +85,16 @@ if build_with_memphis ] endif -libchamplain_deps = [ - libm_dep, +libchamplain_requires = [ glib_dep, gobject_dep, - gio_dep, - clutter_dep, cairo_dep, + clutter_dep, +] + +libchamplain_deps = libchamplain_requires + [ + libm_dep, + gio_dep, sqlite_dep, libsoup_dep, ] @@ -246,7 +249,7 @@ endif libchamplain_dep = declare_dependency( link_with: libchamplain_sha, include_directories: rootdir, - dependencies: libchamplain_deps, + dependencies: libchamplain_requires, sources: libchamplain_dep_sources, ) @@ -256,4 +259,5 @@ libchamplain_pc = pkg.generate( description: 'Map View for Clutter', subdirs: package_string, install_dir: pkgconfigdir, + requires: libchamplain_requires, ) |