From 82e9fd14b70af0d961921c493feff3464a27ff57 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 25 Apr 2017 22:52:14 +0200 Subject: meson: add fbpdf --- meson.build | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 6540960..2ad9747 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,7 @@ config.set_quoted('VERSION', version.stdout().strip()) freetype_dep = dependency('freetype2') fontconf_dep = dependency('fontconfig') pixman_dep = dependency('pixman-1') +poppler_dep = dependency('poppler-glib') drm_dep = dependency('libdrm') gbm_dep = dependency('gbm') epoxy_dep = dependency('epoxy') @@ -56,3 +57,13 @@ executable('fbi', sources : fbi_srcs, dependencies : fbi_deps, include_directories : trans_inc) + +# build fbpdf +fbpdf_deps = [ drm_dep, gbm_dep, epoxy_dep, + pixman_dep, poppler_dep ] +fbpdf_srcs = [ 'fbpdf.c', 'parseconfig.c', 'fbiconfig.c', + 'vt.c', 'kbd.c', 'fbtools.c', 'drmtools.c', 'drmtools-egl.c' ] + +executable('fbpdf', + sources : fbpdf_srcs, + dependencies : fbpdf_deps) -- cgit