summarylogtreecommitdiffstats
path: root/install_only_snap_plugin.patch
blob: 488a46c3171c72f4d1f64a0e2bc0e81857e7d240 (plain)
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
diff --git a/plugins/snap/meson.build b/plugins/snap/meson.build
index 2252f7399..82b49abf6 100644
--- a/plugins/snap/meson.build
+++ b/plugins/snap/meson.build
@@ -7,6 +7,7 @@ shared_module(
   ],
   install : true,
   install_dir: plugin_dir,
+  install_tag: 'snap',
   c_args : cargs,
   dependencies : [ plugin_libs, snap ],
 )
@@ -18,7 +19,8 @@ i18n.merge_file(
   type: 'xml',
   po_dir: join_paths(meson.project_source_root(), 'po'),
   install: true,
-  install_dir: join_paths(get_option('datadir'), 'metainfo')
+  install_dir: join_paths(get_option('datadir'), 'metainfo'),
+  install_tag: 'snap'
 )

 if get_option('tests')
diff --git a/src/meson.build b/src/meson.build
index 327191333..bcb2186a3 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -247,7 +247,8 @@ if get_option('snap')
     type: 'desktop',
     po_dir: join_paths(meson.project_source_root(), 'po'),
     install: true,
-    install_dir: join_paths(get_option('datadir'), 'applications')
+    install_dir: join_paths(get_option('datadir'), 'applications'),
+    install_tag: 'snap'
   )
 endif