mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
27 lines
887 B
Diff
27 lines
887 B
Diff
From 72f3fe059f031f24c5ad026cb2fc16318f227c09 Mon Sep 17 00:00:00 2001
|
|
From: Andrew Childs <andrew.childs@bibo.com.ph>
|
|
Date: Tue, 19 Apr 2022 16:29:58 +0900
|
|
Subject: [PATCH 1/8] Make gio-2.0 optional when gsettings is disabled
|
|
|
|
Derived from https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/654
|
|
---
|
|
meson.build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/meson.build b/meson.build
|
|
index c5135330f..340f58e17 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -683,7 +683,7 @@ if get_option('daemon')
|
|
cdata.set('HAVE_ALSA_UCM', 1)
|
|
endif
|
|
|
|
- gio_dep = dependency('gio-2.0', version : '>= 2.26.0')
|
|
+ gio_dep = dependency('gio-2.0', version : '>= 2.26.0', required : false)
|
|
if get_option('gsettings').enabled()
|
|
assert(gio_dep.found(), 'GSettings support needs glib I/O library (GIO)')
|
|
cdata.set('HAVE_GSETTINGS', 1)
|
|
--
|
|
2.35.1
|
|
|