File: build-only-install-icons-for-the-goabackend-build.patch

package info (click to toggle)
gnome-online-accounts 3.56.2-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,896 kB
  • sloc: ansic: 24,620; xml: 294; sh: 28; makefile: 23; python: 14; javascript: 5
file content (43 lines) | stat: -rw-r--r-- 1,059 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jbicha@debian.org>
Date: Sun, 7 Dec 2025 18:46:31 -0500
Subject: build: only install icons for the goabackend build

(cherry picked from commit 040aeed016cf9260b57f5dff6970c81c45662d90)

Forwarded: https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/merge_requests/364
---
 data/meson.build | 4 ++--
 meson.build      | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/data/meson.build b/data/meson.build
index d254851..2562699 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,8 +1,8 @@
-subdir('icons')
-
 dbus_ifaces = files('dbus-interfaces.xml')
 
 if enable_goabackend
+  subdir('icons')
+
   services = ['org.gnome.OnlineAccounts.service']
   if enable_kerberos
     services += 'org.gnome.Identity.service'
diff --git a/meson.build b/meson.build
index 5ce8f92..298bd68 100644
--- a/meson.build
+++ b/meson.build
@@ -284,9 +284,11 @@ endif
 
 subdir('po')
 
+if enable_goabackend
 gnome.post_install(
   gtk_update_icon_cache: true,
 )
+endif
 
 summary({
     'prefix': goa_prefix,