[gthumb: 1/2] meson: Install the gThumb import desktop file
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 1/2] meson: Install the gThumb import desktop file
- Date: Sun, 22 Aug 2021 16:40:50 +0000 (UTC)
commit 3a791a6308f910beb1076e941270ec570abf03f9
Author: Bruce Schultz <brulzki gmail com>
Date: Sun Jul 18 17:53:59 2021 +1000
meson: Install the gThumb import desktop file
data/meson.build | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index b84a4186..b09494da 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,7 +1,7 @@
install_man('gthumb.1')
-# .desktop file
+# .desktop files
desktop_data = configuration_data()
desktop_data.set('VERSION', meson.project_version())
@@ -20,6 +20,21 @@ i18n.merge_file(
install_dir : join_paths(datadir, 'applications')
)
+desktop_import_in_file = configure_file(
+ input : 'org.gnome.gThumb.Import.desktop.in.in',
+ output : 'org.gnome.gThumb.Import.desktop.in',
+ configuration : desktop_data
+)
+
+i18n.merge_file(
+ input : desktop_import_in_file,
+ output : 'org.gnome.gThumb.Import.desktop',
+ type : 'desktop',
+ po_dir : po_dir,
+ install : true,
+ install_dir : join_paths(datadir, 'applications')
+)
+
# .pc file
pkg = import('pkgconfig')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]