summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-10-01 07:17:16 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-10-01 07:17:16 +0200
commit71137cc5832110d91599d68790402cf196762ed3 (patch)
treee7985bbfb6ca50ea738b38a9f852ee51431d48a7 /meson.build
parent8ae550d463720d5d1c0e253af29843ff15de1a54 (diff)
parent1e92964463e564bb3359a7110342182fcfdc67f2 (diff)
Merge branch 'release/debian/0.30.1-1'debian/0.30.1-1
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build28
1 files changed, 20 insertions, 8 deletions
diff --git a/meson.build b/meson.build
index c3d8468..f75ad49 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,6 @@
-project('Shotwell', ['vala', 'c'],
- version : '0.28.4',
+project('shotwell', ['vala', 'c'],
+ version : '0.30.1',
+ meson_version : '>= 0.43.0',
default_options : ['buildtype=debugoptimized'])
gnome = import('gnome')
@@ -35,7 +36,7 @@ if gitver.returncode() == 0
add_global_arguments(['--define=_GITVERSION'], language : 'vala')
endif
-gtk = dependency('gtk+-3.0', version : '>= 3.18')
+gtk = dependency('gtk+-3.0', version : '>= 3.22')
gio = dependency('gio-2.0', version: '>= 2.40')
gmodule = dependency('gmodule-2.0', version: '>= 2.40')
gio_unix = dependency('gio-unix-2.0', version: '>= 2.40')
@@ -44,20 +45,20 @@ webkit = dependency('webkit2gtk-4.0', version: '>= 2.4')
soup = dependency('libsoup-2.4')
json_glib = dependency('json-glib-1.0')
xml = dependency('libxml-2.0')
-gdk = dependency('gdk-3.0', version : '>= 3.18')
+gdk = dependency('gdk-3.0', version : '>= 3.22')
gdk_pixbuf = dependency('gdk-pixbuf-2.0')
sqlite = dependency('sqlite3', version : '>= 3.5.9')
gstreamer = dependency('gstreamer-1.0', version : '>= 1.0')
gstreamer_pbu = dependency('gstreamer-pbutils-1.0', version : '>= 1.0')
gphoto2 = dependency('libgphoto2', version : '>= 2.5.0')
-gudev = dependency('gudev-1.0', version : '>= 145')
+gudev = dependency('gudev-1.0', version : '>= 145', required: false)
gexiv2 = dependency('gexiv2', version: '>= 0.10.4')
libraw = dependency('libraw', version : '>= 0.13.2')
libexif = dependency('libexif', version : '>= 0.6.16')
unity = dependency('unity', required : false)
unity_available = false
-if unity.found() and get_option('enable-unity-support')
+if unity.found() and get_option('unity-support')
unity_available = true
add_global_arguments(['--define=UNITY_SUPPORT'], language : 'vala')
endif
@@ -77,8 +78,17 @@ foreach measure : get_option('measure').split(',')
language : 'vala')
endforeach
-if get_option('disable-dupe-detection')
- add_global_arguments(['--define=NO_DUPE_DETECTION'], language : vala)
+if not get_option('dupe-detection')
+ add_global_arguments(['--define=NO_DUPE_DETECTION'], language : 'vala')
+endif
+
+if get_option('udev') and gudev.found()
+ add_global_arguments(['--define=HAVE_UDEV'], language : 'vala')
+endif
+
+if get_option('face-detection')
+ add_global_arguments(['--define=ENABLE_FACES'], language : 'vala')
+ subdir('facedetect')
endif
json_glib = dependency('json-glib-1.0')
@@ -100,8 +110,10 @@ subdir('help')
subdir('misc')
subdir('thumbnailer')
subdir('settings-migrator')
+subdir('test')
subdir('app-icons')
+meson.add_install_script('build-aux/meson/postinstall.py')
if get_option('install-apport-hook')
subdir('apport')
endif