summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-04-14 13:28:06 +0100
committerErnestas Kulik <ekulik@redhat.com>2019-04-14 14:34:43 +0200
commit50cf6ca68402cf6a19b32b482ff25a2d9f7e2f85 (patch)
tree131955fc578d63f42a8d560e141e4fbc54a88ce1
parent2ddba428ef2b13d0620bd599c3635b9c11044659 (diff)
downloadnautilus-50cf6ca68402cf6a19b32b482ff25a2d9f7e2f85.tar.gz
Define symbol needed for gnome-desktop
The copy-paste of libgnome-desktop's thumbnailing code is missing a symbol that is defined by the libgnome-desktop build, which breaks Nautilus's own build.
-rw-r--r--meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 271f97d1e..156ae8609 100644
--- a/meson.build
+++ b/meson.build
@@ -147,6 +147,8 @@ tracker_sparql = dependency('tracker-sparql-2.0')
x11 = dependency('x11')
xml = dependency('libxml-2.0', version: '>= 2.7.8')
+fontconfig = dependency('fontconfig', required: false)
+
####################
# End dependencies #
####################
@@ -165,6 +167,12 @@ endif
application_id = 'org.gnome.Nautilus' + profile
+if fontconfig.found()
+ fontconfig_cache_path = fontconfig.get_pkgconfig_variable('cachedir')
+else
+ fontconfig_cache_path = join_paths(libdir, 'fontconfig/cache')
+endif
+
conf.set_quoted('APPLICATION_ID', application_id)
conf.set_quoted('GETTEXT_PACKAGE', 'nautilus')
conf.set_quoted('INSTALL_PREFIX', prefix)
@@ -175,6 +183,7 @@ conf.set_quoted('NAUTILUS_EXTENSIONDIR', join_paths(prefix, extensiondir))
conf.set_quoted('PACKAGE_VERSION', meson.project_version())
conf.set_quoted('PROFILE', profile)
conf.set_quoted('VERSION', '@0@-@VCS_TAG@'.format(meson.project_version()))
+conf.set_quoted('FONTCONFIG_CACHE_PATH', fontconfig_cache_path)
###################################################
# gnome-desktop macros for thumbnailer sandboxing #