summaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-11 18:47:31 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-11 18:47:31 +0100
commitab6556e393162fff0e0e0c80a9fff689b4e2ca05 (patch)
tree74d12800f57397f6123cac49f814e5cabb1df205 /src/meson.build
parent657d8b8812f16b2c377e5b77ff2ffcc4046a7dce (diff)
New upstream version 3.26.2upstream/3.26.2
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index cfda86d..9e40e42 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -12,16 +12,23 @@ if packagekit_dep.found ()
vala_args += [ '-D', 'HAVE_PACKAGEKIT' ]
dependencies += packagekit_dep
endif
+if webp_dep.found () and (not colord_dep.found () or webpmux_dep.found ()) # Webpmux only required if colord
+ vala_args += [ '-D', 'HAVE_WEBP' ]
+ dependencies += [ webp_dep, webpmux_dep ]
+endif
simple_scan = executable ('simple-scan',
[ 'config.vapi',
+ 'app-window.vala',
+ 'authorize-dialog.vala',
'book.vala',
'book-view.vala',
'page.vala',
'page-view.vala',
+ 'preferences-dialog.vala',
'simple-scan.vala',
'scanner.vala',
- 'ui.vala',
+ 'screensaver.vala',
'autosave-manager.vala' ] + resources,
dependencies: dependencies,
vala_args: vala_args,