summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-04-22 15:03:06 +0300
committerMart Raudsepp <leio@gentoo.org>2019-04-22 15:03:06 +0300
commit17348668f16857296ac2caf32c4a503f1946e1a5 (patch)
treeabc549083031cc70fa0d4d7c096fa23b5835bfcc
parent17079e5af95333ee67f338725e8f50837ce4b421 (diff)
downloadlibchamplain-17348668f16857296ac2caf32c4a503f1946e1a5.tar.gz
meson: Add missing gdk required dependency for champlain
gdk/gdk.h header is included and gdk_cairo_set_source_pixbuf symbol is used from gdk, thus we need its header include path and link to it. If clutter is built with gtk support, this is implicitly included via clutter-1.0 dep, but it can also be built without gtk support, in which case the build of libchamplain fails due to no gdk/gdk.h header found.
-rw-r--r--champlain/meson.build1
-rw-r--r--meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/champlain/meson.build b/champlain/meson.build
index 3285c65..0bf8ba5 100644
--- a/champlain/meson.build
+++ b/champlain/meson.build
@@ -95,6 +95,7 @@ libchamplain_requires = [
libchamplain_deps = libchamplain_requires + [
libm_dep,
gio_dep,
+ gdk_dep,
sqlite_dep,
libsoup_dep,
]
diff --git a/meson.build b/meson.build
index 43e72e5..1e571c5 100644
--- a/meson.build
+++ b/meson.build
@@ -66,6 +66,7 @@ gtk_doc_req = '>= 1.15'
glib_dep = dependency('glib-2.0', version: glib_req)
gobject_dep = dependency('gobject-2.0', version: glib_req)
gio_dep = dependency('gio-2.0', version: glib_req)
+gdk_dep = dependency('gdk-3.0', version: gtk_req)
clutter_dep = dependency('clutter-1.0', version: clutter_req)
cairo_dep = dependency('cairo', version: cairo_req)
sqlite_dep = dependency('sqlite3', version: sqlite_req)