aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-01-18 10:24:19 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-01-18 12:27:47 +0100
commit1eeeaefecb634ea734059685648c058dd600bcae (patch)
treec03f7dab7aa64179f295ebb83e0d4bdbdb7b5e67 /meson.build
parent1e49f9371f39475be7d2a3a9be2994ce5d27870b (diff)
downloadfbida-1eeeaefecb634ea734059685648c058dd600bcae.tar.gz
kbd: experimental libinput support
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 3639b97..cbed982 100644
--- a/meson.build
+++ b/meson.build
@@ -24,6 +24,8 @@ exif_dep = dependency('libexif')
png_dep = dependency('libpng')
tiff_dep = dependency('libtiff-4')
webp_dep = dependency('libwebp', required : false)
+udev_dep = dependency('libudev')
+input_dep = dependency('libinput')
# other library deps
cc = meson.get_compiler('c')
@@ -84,7 +86,7 @@ fbi_srcs = [ 'fbi.c', 'fb-gui.c', 'desktop.c',
fbi_deps = [ freetype_dep, fontconf_dep,
drm_dep, pixman_dep,
exif_dep, image_deps,
- math_dep ]
+ math_dep, udev_dep, input_dep ]
executable('fbi',
sources : fbi_srcs,
@@ -115,7 +117,8 @@ executable('thumbnail.cgi',
fbpdf_srcs = [ 'fbpdf.c', 'parseconfig.c', 'fbiconfig.c',
'vt.c', 'kbd.c', 'fbtools.c', 'drmtools.c', 'drmtools-egl.c' ]
fbpdf_deps = [ drm_dep, gbm_dep, epoxy_dep,
- pixman_dep, poppler_dep, cairo_dep ]
+ pixman_dep, poppler_dep, cairo_dep,
+ udev_dep, input_dep ]
executable('fbpdf',
sources : fbpdf_srcs,
@@ -123,7 +126,9 @@ executable('fbpdf',
install : true)
# build kbdtest
-executable('kbdtest', [ 'kbdtest.c', 'kbd.c' ])
+executable('kbdtest',
+ sources : [ 'kbdtest.c', 'kbd.c' ],
+ dependencies : [ udev_dep, input_dep ] )
# build ida
mkfallback = find_program('scripts/fallback.pl')