thumbdrives: install appdata to metainfo v2 APPLIED

psykose: 1
 install appdata to metainfo

 2 files changed, 3 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/38982/mbox | git am -3
Learn more about email & git

[PATCH thumbdrives v2] install appdata to metainfo Export this patch

from https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location :

 Upstream projects can ship one or more metainfo files in /usr/share/

apparently reading is hard- the filename gets renamed too.

 data/meson.build                                            | 6 +++---
 ...appdata.xml.in => nl.brixit.Thumbdrives.metainfo.xml.in} | 0
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename data/{nl.brixit.Thumbdrives.appdata.xml.in => nl.brixit.Thumbdrives.metainfo.xml.in} (100%)

diff --git a/data/meson.build b/data/meson.build
index 4fc61d1..75f3af5 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -15,11 +15,11 @@ if desktop_utils.found()

appstream_file = i18n.merge_file(
  input: 'nl.brixit.Thumbdrives.appdata.xml.in',
  output: 'nl.brixit.Thumbdrives.appdata.xml',
  input: 'nl.brixit.Thumbdrives.metainfo.xml.in',
  output: 'nl.brixit.Thumbdrives.metainfo.xml',
  po_dir: '../po',
  install: true,
  install_dir: join_paths(get_option('datadir'), 'appdata')
  install_dir: join_paths(get_option('datadir'), 'metainfo')

appstream_util = find_program('appstream-util', required: false)
diff --git a/data/nl.brixit.Thumbdrives.appdata.xml.in b/data/nl.brixit.Thumbdrives.metainfo.xml.in
similarity index 100%
rename from data/nl.brixit.Thumbdrives.appdata.xml.in
rename to data/nl.brixit.Thumbdrives.metainfo.xml.in
Thanks, applied :)