--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2018 John Stebbins <your@email.com> -->
+<component type="console-application">
+ <id>fr.handbrake.HandBrakeCLI</id>
+ <metadata_license>CC0</metadata_license>
+ <project_license>GPL-2.0+</project_license>
+ <name>HandBrakeCLI</name>
+ <summary>Video Transcoder</summary>
+
+ <description>
+ <p>
+ HandBrake is a tool for converting video from nearly any format to a
+ selection of modern, widely supported codecs.
+ </p>
+ <p>Reasons you'll love Handbrake:</p>
+ <ul>
+ <li>Convert video from nearly any format</li>
+ <li>Free and Open Source</li>
+ <li>Multi-Platform (Windows, Mac and Linux)</li>
+ </ul>
+ </description>
+
+ <url type="homepage">https://handbrake.fr/</url>
+ <url type="help">https://handbrake.fr/docs/</url>
+ <url type="bugtracker">https://github.com/HandBrake/HandBrake/issues</url>
+ <mimetypes>
+ <mimetype>application/ogg</mimetype>
+ <mimetype>application/x-extension-mp4</mimetype>
+ <mimetype>application/x-flac</mimetype>
+ <mimetype>application/x-matroska</mimetype>
+ <mimetype>application/x-ogg</mimetype>
+ <mimetype>audio/ac3</mimetype>
+ <mimetype>audio/mp4</mimetype>
+ <mimetype>audio/mpeg</mimetype>
+ <mimetype>audio/ogg</mimetype>
+ <mimetype>audio/x-flac</mimetype>
+ <mimetype>audio/x-matroska</mimetype>
+ <mimetype>audio/x-mp3</mimetype>
+ <mimetype>audio/x-mpeg</mimetype>
+ <mimetype>audio/x-vorbis</mimetype>
+ <mimetype>video/mp4</mimetype>
+ <mimetype>video/mp4v-es</mimetype>
+ <mimetype>video/mpeg</mimetype>
+ <mimetype>video/msvideo</mimetype>
+ <mimetype>video/quicktime</mimetype>
+ <mimetype>video/vnd.divx</mimetype>
+ <mimetype>video/x-avi</mimetype>
+ <mimetype>video/x-m4v</mimetype>
+ <mimetype>video/x-matroska</mimetype>
+ <mimetype>video/x-mpeg</mimetype>
+ <mimetype>video/ogg</mimetype>
+ <mimetype>video/x-ogm+ogg</mimetype>
+ <mimetype>video/x-theora+ogg</mimetype>
+ <mimetype>x-content/video-dvd</mimetype>
+ <mimetype>x-content/video-vcd</mimetype>
+ <mimetype>x-content/video-svcd</mimetype>
+ </mimetypes>
+
+ <provides>
+ <binary>HandBrakeCLI</binary>
+ </provides>
+
+</component>
+
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 = $(TEST.src/)fr.handbrake.HandBrakeCLI.appdata.xml
+ TEST.install.appdata = $(DESTDIR)$(PREFIX/)share/appdata/$(notdir $(TEST.appdata))
+endif
###############################################################################
BUILD.out += $(TEST.out)
BUILD.out += $(TEST.install.exe)
+ifeq (1,$(FEATURE.flatpak))
+ BUILD.out += $(TEST.install.appdata)
+endif
###############################################################################
$(CP.exe) $(TEST.exe) $(TEST.install.exe)
$(STRIP.exe) $(TEST.install.exe)
+ifeq (1,$(FEATURE.flatpak))
+test.install: | $(dir $(TEST.install.appdata))
+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)
+endif
test.uninstall:
$(RM.exe) -f $(TEST.install.exe)