diff options
author | Richard Hughes <richard@hughsie.com> | 2016-01-21 15:51:30 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-01-21 15:51:30 +0000 |
commit | f1cdbd834f5baf5db5c7d73849161b186a2d9c54 (patch) | |
tree | 4e46efb7b0f526ae719eaa867c5dec8167ff84ee /libappstream-builder/plugins/Makefile.am | |
parent | bdbc690fac186a2afbb8ef8a618aa510c9f3367a (diff) | |
download | appstream-glib-f1cdbd834f5baf5db5c7d73849161b186a2d9c54.tar.gz |
Allow disabling font support with --disable-fonts
Diffstat (limited to 'libappstream-builder/plugins/Makefile.am')
-rw-r--r-- | libappstream-builder/plugins/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libappstream-builder/plugins/Makefile.am b/libappstream-builder/plugins/Makefile.am index fddfc88..9a1e815 100644 --- a/libappstream-builder/plugins/Makefile.am +++ b/libappstream-builder/plugins/Makefile.am @@ -5,7 +5,6 @@ AM_CPPFLAGS = \ $(LIBARCHIVE_CFLAGS) \ $(SOUP_CFLAGS) \ $(RPM_CFLAGS) \ - $(SQLITE_CFLAGS) \ $(FREETYPE_CFLAGS) \ -I$(top_srcdir)/libappstream-glib \ -I$(top_builddir)/libappstream-glib \ @@ -21,7 +20,6 @@ plugin_LTLIBRARIES = \ libasb_plugin_desktop.la \ libasb_plugin_gir.la \ libasb_plugin_gresource.la \ - libasb_plugin_font.la \ libasb_plugin_gettext.la \ libasb_plugin_gstreamer.la \ libasb_plugin_hardcoded.la \ @@ -34,6 +32,11 @@ plugin_LTLIBRARIES += \ libasb_plugin_ostree.la endif +if HAVE_FONTS +plugin_LTLIBRARIES += \ + libasb_plugin_font.la +endif + libasb_plugin_dbus_la_SOURCES = asb-plugin-dbus.c libasb_plugin_dbus_la_LIBADD = $(GLIB_LIBS) libasb_plugin_dbus_la_LDFLAGS = -module -avoid-version @@ -94,10 +97,12 @@ libasb_plugin_nm_la_LIBADD = $(GLIB_LIBS) libasb_plugin_nm_la_LDFLAGS = -module -avoid-version libasb_plugin_nm_la_CFLAGS = $(GLIB_CFLAGS) $(WARNINGFLAGS_C) +if HAVE_FONTS libasb_plugin_font_la_SOURCES = asb-plugin-font.c libasb_plugin_font_la_LIBADD = $(GLIB_LIBS) $(FREETYPE_LIBS) $(GDKPIXBUF_LIBS) $(GTK_LIBS) libasb_plugin_font_la_LDFLAGS = -module -avoid-version libasb_plugin_font_la_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(WARNINGFLAGS_C) +endif if HAVE_OSTREE libasb_plugin_ostree_la_SOURCES = asb-plugin-ostree.c |