[gnome-builder] build: always install org.gnome.Builder icons
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: always install org.gnome.Builder icons
- Date: Wed, 13 Jul 2022 16:50:06 +0000 (UTC)
commit 7d9fe0ad04edf69843fccbfafbae2db4050ad4e7
Author: Christian Hergert <chergert redhat com>
Date: Wed Jul 13 09:47:18 2022 -0700
build: always install org.gnome.Builder icons
Even in development builds, we want these as they are used within the
application for empty state, etc.
data/icons/meson.build | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 03e6462e5..2eaf24d9b 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -13,8 +13,16 @@ install_subdir('hicolor/scalable', install_dir: pkgicondir)
app_icon = '@0@.svg'.format(app_id)
-install_data([
- 'hicolor/scalable/apps/@0@.svg'.format(app_id),
- 'hicolor/scalable/apps/@0 -symbolic svg'.format(app_id)
-], install_dir: join_paths(icondir, 'scalable/apps'))
+app_icons = [
+ 'hicolor/scalable/apps/org.gnome.Builder.svg',
+ 'hicolor/scalable/apps/org.gnome.Builder-symbolic.svg',
+]
+if get_option('development')
+ app_icons += [
+ 'hicolor/scalable/apps/@0@.svg'.format(app_id),
+ 'hicolor/scalable/apps/@0 -symbolic svg'.format(app_id),
+ ]
+endif
+
+install_data(app_icons, install_dir: join_paths(icondir, 'scalable/apps'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]