]> git.pld-linux.org Git - packages/pulseaudio.git/commitdiff
gconf bcond
authorJan Palus <atler@pld-linux.org>
Wed, 16 Jun 2021 12:05:40 +0000 (14:05 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 16 Jun 2021 12:05:40 +0000 (14:05 +0200)
pulseaudio.spec

index 61d0b1bda7188e2c78d271320f02b18d2550a49e..df773f67231abf855a86655dd299a9255e83b87c 100644 (file)
@@ -8,6 +8,7 @@
 %bcond_without lirc            # without lirc module
 %bcond_with    static_libs     # build static libraries
 %bcond_without neon            # without ARM NEON instructions
+%bcond_without gconf           # without GConf2 support
 
 %ifnarch armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64
 %undefine       with_neon
@@ -28,7 +29,7 @@ Source3:      %{name}.tmpfiles
 Patch0:                %{name}-pa-machine-id.patch
 Patch1:                mate-desktop.patch
 URL:           http://pulseaudio.org/
-BuildRequires: GConf2-devel >= 2.4.0
+%{?with_gconf:BuildRequires:   GConf2-devel >= 2.4.0}
 BuildRequires: alsa-lib-devel >= 1.0.19
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.11
@@ -387,7 +388,7 @@ Uzupełnianie parametrów w zsh dla poleceń PulseAudio.
 %{__autoheader}
 %{__automake}
 %configure \
-       --enable-gconf \
+       %{__enable_disable gconf} \
        --enable-gsettings \
        --enable-hal-compat \
        %{!?with_lirc:--disable-lirc} \
@@ -706,10 +707,12 @@ fi
 %attr(755,root,root) %{_libdir}/pulse-*/modules/module-bluez5-device.so
 %attr(755,root,root) %{_libdir}/pulse-*/modules/module-bluez5-discover.so
 
+%if %{with gconf}
 %files gconf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/pulse/gconf-helper
 %attr(755,root,root) %{_libdir}/pulse-*/modules/module-gconf.so
+%endif
 
 %files gsettings
 %defattr(644,root,root,755)
This page took 0.099643 seconds and 4 git commands to generate.