diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-25 22:52:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-25 22:52:14 +0200 |
commit | 82e9fd14b70af0d961921c493feff3464a27ff57 (patch) | |
tree | 5fe9f1b936e262ef6db40c058acc349547f3b42a /meson.build | |
parent | b3874323e65c2121ab9261ec1a60aa719a217a12 (diff) | |
download | fbida-82e9fd14b70af0d961921c493feff3464a27ff57.tar.gz |
meson: add fbpdf
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
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) |