diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/meson.build b/meson.build index 26dad82..c76a61a 100644 --- a/meson.build +++ b/meson.build @@ -4,6 +4,9 @@ project('zenity', 'c', license: 'LGPL-2.1-or-later' ) +app_id = 'org.gnome.Zenity' +resource_base_path = '/org/gnome/Zenity' + version_arr = meson.project_version().split('.') zenity_version_major = version_arr[0].to_int() zenity_version_minor = version_arr[1] @@ -33,6 +36,9 @@ zenity_conf.set_quoted('PACKAGE_DATADIR', zenity_datadir) zenity_conf.set_quoted('PACKAGE_LIBDIR', zenity_libdir) zenity_conf.set_quoted('PACKAGE_LOCALE_DIR', zenity_localedir) +zenity_conf.set_quoted('APP_ID', app_id) +zenity_conf.set_quoted('RESOURCE_BASE_PATH', resource_base_path) + zenity_conf.set('VERSION', 'PACKAGE_VERSION') zenity_conf.set('GETTEXT_PACKAGE', 'PACKAGE_NAME') zenity_conf.set('LOCALEDIR', 'PACKAGE_LOCALE_DIR') @@ -58,15 +64,6 @@ opt_missing_str = ''' Requested optional @0@ support but library not found. Please ensure you have any required development libraries installed.''' -libnotify = dependency('libnotify', version: '>= 0.6.1', required: false) -if get_option('libnotify') - if libnotify.found() - zenity_conf.set('HAVE_LIBNOTIFY', true) - else - error(opt_missing_str.format('libnotify')) - endif -endif - # TODO #webkitgtk = dependency('webkit2gtk-4.0', version: '>= 2.8.1', required: false) #if get_option('webkitgtk') @@ -96,8 +93,7 @@ summary({'prefix': zenity_prefix, 'iconsdir': zenity_iconsdir, }, section: 'Directories') -summary({'libnotify': get_option('libnotify'), - 'gdialog script': perl.found(), +summary({'gdialog script': perl.found(), }, section: 'Configuration') subdir('src') |