[vlc-commits] First step for an AppStream Metadata file

Jean-Baptiste Kempf git at videolan.org
Mon May 30 13:44:03 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 30 13:36:53 2016 +0200| [6112f49ff9ce7abae5370cb61387a83c433fbc19] | committer: Jean-Baptiste Kempf

First step for an AppStream Metadata file

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6112f49ff9ce7abae5370cb61387a83c433fbc19
---

 share/Makefile.am        |    3 +++
 share/vlc.appdata.xml.in |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/share/Makefile.am b/share/Makefile.am
index 4e42e1b..665b7e3 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -17,6 +17,9 @@ vlc.desktop: vlc.desktop.in $(top_builddir)/config.status
 	$(AM_V_at)$(DESKTOP_FILE_VALIDATE) tmp-$@
 	$(AM_V_at)mv -f tmp-$@ $@
 
+vlc.appdata.xml: vlc.appdata.xml.in $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status --file=$(subdir)/$@
+
 iconsdatadir = $(datadir)/icons/hicolor
 icons16dir = $(iconsdatadir)/16x16/apps
 icons32dir = $(iconsdatadir)/32x32/apps
diff --git a/share/vlc.appdata.xml.in b/share/vlc.appdata.xml.in
new file mode 100644
index 0000000..1212595
--- /dev/null
+++ b/share/vlc.appdata.xml.in
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2016 Jean-Baptiste Kempf -->
+
+<component type="desktop">
+    <id>vlc.desktop</id>
+    <metadata_license>CC0-1.0</metadata_license>
+    <name>VLC</name>
+    <summary>VLC media player, the open-source multimedia player</summary>
+    <description>
+        <p>
+            VLC is a free and open source cross-platform multimedia player and
+            framework that plays most multimedia files as well as DVDs, Audio CDs,
+            VCDs, and various streaming protocols.
+        </p>
+    </description>
+    <url type="homepage">https://www.videolan.org/vlc/</url>
+    <url type="bugtracker">https://trac.videolan.org/vlc/</url>
+    <url type="donation">https://www.videolan.org/contribute.html</url>
+    <releases>
+        <release version="@VERSION@" />
+    </releases>
+    <provides>
+        <library>libvlc.so.5</library>
+    </provides>
+    <project_group>VideoLAN</project_group>
+    <project_license>GPL-2.0+</project_license>
+    <developer_name>VideoLAN et al.</developer_name>
+    <update_contact>vlc-devel -- videolan.org</update_contact>
+    <screenshots>
+        <screenshot type="default">http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-poney.jpg</screenshot>
+        <screenshot type="default">http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-open.jpg</screenshot>
+        <screenshot type="default">http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg</screenshot>
+    </screenshots>
+</component>



More information about the vlc-commits mailing list