diff options
author | Jens Georg <mail@jensge.org> | 2021-05-22 20:16:46 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2021-05-22 20:16:46 +0200 |
commit | bd58180f02066f51e4b08834e60711e312457aa0 (patch) | |
tree | ce627d209286186dbd1dc43213e2be0cef974db9 /meson.build | |
parent | e7f983760588668bdf80c7f2b1e22ea4de41a177 (diff) | |
download | gupnp-bd58180f02066f51e4b08834e60711e312457aa0.tar.gz |
CI: Enable CI build
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meson.build b/meson.build index bf9a49d..0aa3fe3 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('gupnp', 'c', version : '1.2.4', meson_version : '>= 0.48.0') +project('gupnp', 'c', version : '1.2.4', meson_version : '>= 0.53.0') gnome = import('gnome') pkg = import('pkgconfig') @@ -14,17 +14,19 @@ conf.set('HAVE_IFADDRS_H', ifaddrs_available) conf.set('HAVE_LINUX_WIRELESS_H', cc.has_header('linux/wireless.h')) config_h = configure_file(output : 'config.h', configuration : conf) -add_global_arguments('-DHAVE_CONFIG_H=1', language : 'c') +add_project_arguments('-DHAVE_CONFIG_H=1', language : 'c') guul = subproject('guul', default_options : ['default_library=static']) +gssdp_dep = dependency('gssdp-1.2', version : '>= 1.2.4', default_options: ['sniffer=false']) + dependencies = [ dependency('glib-2.0', version : '>= 2.58'), dependency('gio-2.0', version : '>= 2.58'), dependency('gmodule-2.0', version : '>= 2.44'), dependency('gobject-2.0', version : '>= 2.44'), - dependency('gssdp-1.2', version : '>= 1.2.3'), dependency('libsoup-2.4', version : '>= 2.48.0'), + gssdp_dep, dependency('libxml-2.0') ] |