+option('bash_completion_dir', type: 'string', value: '')
option('man', type: 'boolean', value: true, description: 'generate man pages')
option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation')
---- dconf-0.30.1/meson.build.orig 2018-10-22 23:53:04.000000000 +0200
-+++ dconf-0.30.1/meson.build 2018-10-30 21:08:19.195238826 +0100
-@@ -52,8 +52,12 @@
+--- dconf-0.38.0/meson.build.orig 2020-09-13 10:26:21.295046156 +0200
++++ dconf-0.38.0/meson.build 2020-09-13 10:29:23.197394039 +0200
+@@ -50,12 +50,16 @@
enable_bash_completion = get_option('bash_completion')
if enable_bash_completion
+ if get_option('bash_completion_dir') != ''
+ completions_dir = get_option('bash_completion_dir')
+ else
- # FIXME: the `.pc` file is wrong because `completionsdir` should be relative to `datadir`, not `prefix`
- completions_dir = dependency('bash-completion').get_pkgconfig_variable('completionsdir', define_variable: ['prefix', dconf_prefix])
+ bash_completion_dep = dependency('bash-completion')
+ completions_dir = bash_completion_dep.get_pkgconfig_variable(
+ 'completionsdir',
+ # bash-completion 2.10 changed the substitutions
+ define_variable: bash_completion_dep.version().version_compare('>= 2.10') ? ['datadir', dconf_datadir] : ['prefix', dconf_prefix],
+ )
+ endif
endif
Summary: Low-level configuration system
Summary(pl.UTF-8): Niskopoziomowy system konfiguracji
Name: dconf
-Version: 0.36.0
+Version: 0.38.0
Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/dconf/0.36/%{name}-%{version}.tar.xz
-# Source0-md5: 1a50c988d9f0206f74a44f7c6d09cead
+Source0: http://ftp.gnome.org/pub/GNOME/sources/dconf/0.38/%{name}-%{version}.tar.xz
+# Source0-md5: 716cf730995cf133c2c443556a66a50c
Patch0: %{name}-bash-completion.patch
-URL: http://live.gnome.org/dconf
+URL: https://wiki.gnome.org/Projects/dconf
BuildRequires: dbus-devel
BuildRequires: glib2-devel >= 1:2.44.0
BuildRequires: gtk-doc >= 1.15