summaryrefslogtreecommitdiffstats
path: root/gtk/src
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2020-05-08 08:24:06 -0600
committerJohn Stebbins <[email protected]>2020-05-08 10:29:05 -0600
commit368576dc9aa94c792a309e227c9a893776d8cdd1 (patch)
tree4486f3cff250b892ebb4870d9ca72dc48e6162b7 /gtk/src
parentd09944d49462820b9088a082eccf6dcbfc80dca0 (diff)
flatpak: conform to freedesktop metainfo standards
Diffstat (limited to 'gtk/src')
-rw-r--r--gtk/src/Makefile.am16
-rw-r--r--gtk/src/fr.handbrake.ghb.metainfo.template.xml (renamed from gtk/src/fr.handbrake.ghb.appdata.template.xml)0
2 files changed, 8 insertions, 8 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am
index 68504bae6..147df424e 100644
--- a/gtk/src/Makefile.am
+++ b/gtk/src/Makefile.am
@@ -39,16 +39,16 @@ icons_dep = \
hb_menu = fr.handbrake.ghb.desktop
-appdatadir = $(datarootdir)/metainfo
-appdata_in_files = fr.handbrake.ghb.appdata.xml.in
-appdata_DATA = $(appdata_in_files:.xml.in=.xml)
-dist_appdata_DATA = $(appdata_files)
+metainfodir = $(datarootdir)/metainfo
+metainfo_in_files = fr.handbrake.ghb.metainfo.xml.in
+metainfo_DATA = $(metainfo_in_files:.xml.in=.xml)
+dist_metainfo_DATA = $(metainfo_files)
EXTRA_DIST = \
- $(appdata_in_files)
+ $(metainfo_in_files)
DISTCLEANFILES = \
- $(appdata_files)
+ $(metainfo_files)
AM_CPPFLAGS = \
-DPACKAGE_LOCALE_DIR=\""$(datadir)/locale"\" \
@@ -172,10 +172,10 @@ widget_reverse.deps: makedeps.py
widget.deps: makedeps.py
$(HB_PYTHON) $(srcdir)/makedeps.py
-fr.handbrake.ghb.appdata.xml: fr.handbrake.ghb.appdata.xml.in
+fr.handbrake.ghb.metainfo.xml: fr.handbrake.ghb.metainfo.xml.in
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
-fr.handbrake.ghb.appdata.xml.in: fr.handbrake.ghb.appdata.template.xml
+fr.handbrake.ghb.metainfo.xml.in: fr.handbrake.ghb.metainfo.template.xml
sed -e 's^RELEASE_TAG^<release version="$(HB.version)" date="$(word 1,$(HB.repo.date))" />^' $< > $@
$(srcdir)/marshalers.h: marshalers.list
diff --git a/gtk/src/fr.handbrake.ghb.appdata.template.xml b/gtk/src/fr.handbrake.ghb.metainfo.template.xml
index 196194245..196194245 100644
--- a/gtk/src/fr.handbrake.ghb.appdata.template.xml
+++ b/gtk/src/fr.handbrake.ghb.metainfo.template.xml