Commit d0012faf authored by Debarshi Ray's avatar Debarshi Ray

build: Add gobject-2.0 as an explicit dependency

... just like gio-2.0, glib-2.0, etc..
parent eb16e85e
......@@ -97,6 +97,7 @@ PKG_CHECK_MODULES(GIO, [gio-2.0 gio-unix-2.0])
PKG_CHECK_MODULES(GOA, [goa-1.0 >= $GOA_MIN_VERSION])
AC_DEFINE([GOA_API_IS_SUBJECT_TO_CHANGE], [], [We are aware that GOA's API can change])
PKG_CHECK_MODULES(GOBJECT, [gobject-2.0])
PKG_CHECK_MODULES(GRILO, [grilo-0.3 >= $GRILO_MIN_VERSION])
PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, [gsettings-desktop-schemas])
PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_MIN_VERSION])
......
......@@ -150,6 +150,7 @@ glib_dep = dependency('glib-2.0', version: '>= 2.44.0')
goa_dep = dependency('goa-1.0', version: '>= 3.8.0')
config_h.set('GOA_API_IS_SUBJECT_TO_CHANGE', true)
gobject_dep = dependency('gobject-2.0')
grilo_dep = dependency('grilo-0.3', version: '>= 0.3.5')
gsettings_desktop_schemas_dep = dependency('gsettings-desktop-schemas')
gtk_dep = dependency('gtk+-3.0', version: '>= 3.22.16')
......
......@@ -414,6 +414,7 @@ AM_CPPFLAGS = \
$(GIO_CFLAGS) \
$(GLIB_CFLAGS) \
$(GOA_CFLAGS) \
$(GOBJECT_CFLAGS) \
$(GRILO_CFLAGS) \
$(GSETTINGS_DESKTOP_SCHEMAS_CFLAGS) \
$(GTK_CFLAGS) \
......@@ -444,6 +445,7 @@ gnome_photos_LDADD = \
$(GIO_LIBS) \
$(GLIB_LIBS) \
$(GOA_LIBS) \
$(GOBJECT_LIBS) \
$(GRILO_LIBS) \
$(GTK_LIBS) \
$(GTK_UNIX_PRINT_LIBS) \
......@@ -465,6 +467,7 @@ gnome_photos_thumbnailer_LDADD = \
$(GDK_PIXBUF_LIBS) \
$(GIO_LIBS) \
$(GLIB_LIBS) \
$(GOBJECT_LIBS) \
$(JPEG_LIBS) \
$(PNG_LIBS) \
$(LIBM) \
......
......@@ -63,6 +63,7 @@ common_deps = [
gio_dep,
gio_unix_dep,
glib_dep,
gobject_dep,
libdazzle_dep,
libjpeg_dep,
libpng_dep,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment