[gnote/meson] Install icons
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/meson] Install icons
- Date: Sun, 28 Mar 2021 15:03:34 +0000 (UTC)
commit 0388f1df0f7c1744e469dd7a74a7d253375855a6
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Mar 28 17:57:23 2021 +0300
Install icons
data/icons/meson.build | 30 ++++++++++++++++++++++++++++++
data/meson.build | 2 ++
2 files changed, 32 insertions(+)
---
diff --git a/data/icons/meson.build b/data/icons/meson.build
new file mode 100644
index 00000000..e3a5322e
--- /dev/null
+++ b/data/icons/meson.build
@@ -0,0 +1,30 @@
+install_data('hicolor_apps_scalable_gnote.svg', install_dir: get_option('datadir') /
'icons/hicolor/scalable/apps')
+
+private_icon_dir = get_option('datadir') / meson.project_name() / 'icons/hicolor'
+places_16_dir = private_icon_dir / '16x16/places'
+install_data('hicolor_places_16x16_notebook.png', install_dir: places_16_dir, rename: 'notebook.png')
+install_data('hicolor_places_16x16_note.png', install_dir: places_16_dir, rename: 'note.png')
+
+status_16_dir = private_icon_dir / '16x16/status'
+install_data('hicolor_status_16x16_pin-active.png', install_dir: status_16_dir, rename: 'pin-active.png')
+install_data('hicolor_status_16x16_pin-down.png', install_dir: status_16_dir, rename: 'pin-down.png')
+install_data('hicolor_status_16x16_pin-up.png', install_dir: status_16_dir, rename: 'pin-up.png')
+
+actions_22_dir = private_icon_dir / '22x22/actions'
+install_data('hicolor_actions_22x22_filter-note-all.png', install_dir: actions_22_dir, rename:
'filter-note-all.png')
+install_data('hicolor_actions_22x22_filter-note-unfiled.png', install_dir: actions_22_dir, rename:
'filter-note-unfiled.png')
+
+places_22_dir = private_icon_dir / '22x22/places'
+install_data('hicolor_places_22x22_active-notes.png', install_dir: places_22_dir, rename: 'active-notes.png')
+install_data('hicolor_places_22x22_notebook.png', install_dir: places_22_dir, rename: 'notebook.png')
+install_data('hicolor_places_22x22_note.png', install_dir: places_22_dir, rename: 'note.png')
+install_data('hicolor_places_22x22_special-notes.png', install_dir: places_22_dir, rename:
'special-notes.png')
+
+actions_24_dir = private_icon_dir / '24x24/actions'
+install_data('hicolor_actions_24x24_filter-note-all.png', install_dir: actions_24_dir, rename:
'filter-note-all.png')
+install_data('hicolor_actions_24x24_filter-note-unfiled.png', install_dir: actions_24_dir, rename:
'filter-note-unfiled.png')
+
+places_24_dir = private_icon_dir / '24x24/places'
+install_data('hicolor_places_24x24_notebook.png', install_dir: places_24_dir, rename: 'notebook.png')
+install_data('hicolor_places_24x24_note.png', install_dir: places_24_dir, rename: 'note.png')
+
diff --git a/data/meson.build b/data/meson.build
index 7866a320..1ab86147 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -52,3 +52,5 @@ if appstream_util.found()
test('validate-appdata', appstream_util, args: ['validate-relax', '--nonet', appdata_file])
endif
+subdir('icons')
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]