From d85303d1f5a6dadb0bf6b21aab4e534c6c806716 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Date: Fri, 17 Nov 2017 10:47:16 +0900
Subject: [PATCH] Update appdata to new format

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 data/guvcview.appdata.xml.in.in | 45 +++++++++++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 15 deletions(-)

diff --git a/data/guvcview.appdata.xml.in.in b/data/guvcview.appdata.xml.in.in
index 61ba8c3..c4596e7 100644
--- a/data/guvcview.appdata.xml.in.in
+++ b/data/guvcview.appdata.xml.in.in
@@ -1,27 +1,42 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2014 Paulo Assis <pj.assis@gmail.com> -->
-<application>
- <id type="desktop">guvcview.desktop</id>
+<component>
+ <id>org.guvcview.guvcview</id>
  <metadata_license>CC0-1.0</metadata_license>
  <project_license>GPL-2.0+</project_license>
  <name>Simple UVC Viewer</name>
- <_summary>Capture video from v4l2 devices</_summary>
+ <summary>Capture video from v4l2 devices</summary>
  <description>
-  <_p>Video capture tool for video4linux2 compliant cameras.</_p>
-  <_p>With a special emphasis on the linux uvc driver,
+  Video capture tool for video4linux2 compliant cameras.
+  With a special emphasis on the linux uvc driver,
      it provides Image (jpg, png, bmp) and
      Video (mjpeg, flv1, wmv1, mpg2, mpg4,...) capture
-     with sound in several formats( currently: avi and matroska).</_p>
-  <_p>It also supports a control panel option (--control_only)
-     that is compatible with any other v4l2 app.</_p>
+     with sound in several formats( currently: avi and matroska).
+  It also supports a control panel option (--control_only)
+     that is compatible with any other v4l2 app.
  </description>
  <screenshots>
-  <screenshot>https://sourceforge.net/p/guvcview/screenshot/guvcview_image_tab.png</screenshot>
-  <screenshot>https://sourceforge.net/p/guvcview/screenshot/guvcview_h264_tab.png</screenshot>
-  <screenshot>https://sourceforge.net/p/guvcview/screenshot/guvcview_video_tab.png</screenshot>
-  <screenshot>https://sourceforge.net/p/guvcview/screenshot/guvcview_audio_tab.png</screenshot>
-  <screenshot>https://a.fsdn.com/con/app/proj/guvcview/screenshots/guvcview_video_preview.png</screenshot>
+   <screenshot>
+   <caption>guvcview / image tab</caption>
+   <image type="source" width="800" height="933">https://sourceforge.net/p/guvcview/screenshot/guvcview_image_tab.png</image>
+   </screenshot>
+   <screenshot>
+   <caption>guvcview / h264 tab</caption>
+   <image type="source" width="800" height="933">https://sourceforge.net/p/guvcview/screenshot/guvcview_h264_tab.png</image>
+   </screenshot>
+   <screenshot>
+   <caption>guvcview / video tab</caption>
+   <image type="source" width="800" height="933">https://sourceforge.net/p/guvcview/screenshot/guvcview_video_tab.png</image>
+   </screenshot>
+   <screenshot>
+   <caption>guvcview / audio tab</caption>
+   <image type="source" width="800" height="933">https://sourceforge.net/p/guvcview/screenshot/guvcview_audio_tab.png</image>
+   </screenshot>
+   <screenshot>
+   <caption>guvcview / video preview</caption>
+   <image type="source" width="1680" height="1050">https://a.fsdn.com/con/app/proj/guvcview/screenshots/guvcview_video_preview.png</image>
+   </screenshot>
  </screenshots>
  <url type="homepage">http://guvcview.sourceforge.net/</url>
- <updatecontact>assisp@gmail.com</updatecontact>
-</application>
+ <update_contact>assisp@gmail.com</update_contact>
+</component>
-- 
2.15.0

