diff options
author | John Stebbins <[email protected]> | 2020-05-08 08:24:06 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2020-05-08 10:29:05 -0600 |
commit | 368576dc9aa94c792a309e227c9a893776d8cdd1 (patch) | |
tree | 4486f3cff250b892ebb4870d9ca72dc48e6162b7 /test | |
parent | d09944d49462820b9088a082eccf6dcbfc80dca0 (diff) |
flatpak: conform to freedesktop metainfo standards
Diffstat (limited to 'test')
-rw-r--r-- | test/fr.handbrake.HandBrakeCLI.metainfo.xml.template (renamed from test/fr.handbrake.HandBrakeCLI.appdata.xml.template) | 0 | ||||
-rw-r--r-- | test/module.defs | 10 | ||||
-rw-r--r-- | test/module.rules | 10 |
3 files changed, 10 insertions, 10 deletions
diff --git a/test/fr.handbrake.HandBrakeCLI.appdata.xml.template b/test/fr.handbrake.HandBrakeCLI.metainfo.xml.template index 537da1b07..537da1b07 100644 --- a/test/fr.handbrake.HandBrakeCLI.appdata.xml.template +++ b/test/fr.handbrake.HandBrakeCLI.metainfo.xml.template diff --git a/test/module.defs b/test/module.defs index 678be7173..121de22dc 100644 --- a/test/module.defs +++ b/test/module.defs @@ -38,9 +38,9 @@ TEST.GCC.l += $(foreach m,$(MODULES.NAMES),$($m.OSL.libs)) TEST.install.exe = $(DESTDIR)$(PREFIX/)bin/$(notdir $(TEST.exe)) ifeq (1,$(FEATURE.flatpak)) - TEST.appdata.template = $(TEST.src/)fr.handbrake.HandBrakeCLI.appdata.xml.template - TEST.appdata = $(TEST.build/)fr.handbrake.HandBrakeCLI.appdata.xml - TEST.install.appdata = $(DESTDIR)$(PREFIX/)share/metainfo/$(notdir $(TEST.appdata)) + TEST.metainfo.template = $(TEST.src/)fr.handbrake.HandBrakeCLI.metainfo.xml.template + TEST.metainfo = $(TEST.build/)fr.handbrake.HandBrakeCLI.metainfo.xml + TEST.install.metainfo = $(DESTDIR)$(PREFIX/)share/metainfo/$(notdir $(TEST.metainfo)) endif ############################################################################### @@ -48,13 +48,13 @@ endif TEST.out += $(TEST.c.o) TEST.out += $(TEST.exe) ifeq (1,$(FEATURE.flatpak)) - TEST.out += $(TEST.appdata) + TEST.out += $(TEST.metainfo) endif BUILD.out += $(TEST.out) BUILD.out += $(TEST.install.exe) ifeq (1,$(FEATURE.flatpak)) - BUILD.out += $(TEST.install.appdata) + BUILD.out += $(TEST.install.metainfo) endif ############################################################################### diff --git a/test/module.rules b/test/module.rules index 16e2e1c4d..26a2e4e33 100644 --- a/test/module.rules +++ b/test/module.rules @@ -9,7 +9,7 @@ xclean: test.xclean test.build: $(TEST.exe) ifeq (1,$(FEATURE.flatpak)) -test.build: $(TEST.appdata) +test.build: $(TEST.metainfo) endif ######################################## @@ -20,17 +20,17 @@ test.install-strip: | $(dir $(TEST.install.exe)) $(STRIP.exe) $(TEST.install.exe) ifeq (1,$(FEATURE.flatpak)) -$(TEST.appdata): $(TEST.appdata.template) +$(TEST.metainfo): $(TEST.metainfo.template) sed -e 's^RELEASE_TAG^<release version="$(HB.version)" date="$(word 1,$(HB.repo.date))" />^' $< > $@ -$(TEST.install.appdata): $(TEST.appdata) -test.install: | $(dir $(TEST.install.appdata)) +$(TEST.install.metainfo): $(TEST.metainfo) +test.install: | $(dir $(TEST.install.metainfo)) endif test.install: | $(dir $(TEST.install.exe)) $(CP.exe) $(TEST.exe) $(TEST.install.exe) ifeq (1,$(FEATURE.flatpak)) - $(CP.exe) $(TEST.appdata) $(TEST.install.appdata) + $(CP.exe) $(TEST.metainfo) $(TEST.install.metainfo) endif test.uninstall: |