Hello community,

here is the log from the commit of package minitube for openSUSE:Factory 
checked in at 2016-09-20 13:27:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/minitube (Old)
 and      /work/SRC/openSUSE:Factory/.minitube.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "minitube"

Changes:
--------
--- /work/SRC/openSUSE:Factory/minitube/minitube.changes        2016-02-01 
19:57:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.minitube.new/minitube.changes   2016-09-20 
13:27:10.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Sep 18 06:23:57 UTC 2016 - mailaen...@opensuse.org
+
+- Add appdata.patch for https://en.opensuse.org/openSUSE:AppStore
+
+-------------------------------------------------------------------

New:
----
  appdata.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ minitube.spec ++++++
--- /var/tmp/diff_new_pack.M7pMlh/_old  2016-09-20 13:27:12.000000000 +0200
+++ /var/tmp/diff_new_pack.M7pMlh/_new  2016-09-20 13:27:12.000000000 +0200
@@ -30,6 +30,8 @@
 Patch0:         %{name}-no-update-check.patch
 # PATCH-FIX-OPENSUSE minitube-fix-watchrelatedvideo-icon.patch 
kiel...@gmail.com -- Missing toolbar icon (watch related videos).
 Patch1:         %{name}-fix-watchrelatedvideo-icon.patch
+# PATCH-FEATURE-UPSTREAM https://github.com/flaviotordini/minitube/pull/52
+Patch2:         appdata.patch
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libqt5-linguist
@@ -58,6 +60,7 @@
 %setup -q
 %patch0 -p1
 %patch1
+%patch2 -p1
 
 %build
 %qmake5 \
@@ -90,6 +93,8 @@
 %dir %{_datadir}/icons/hicolor/*/apps/
 %{_datadir}/icons/hicolor/*/apps/%{name}*
 %{_mandir}/man?/%{name}.?%{?ext_man}
+%dir %{_datadir}/appdata
+%{_datadir}/appdata/%{name}.appdata.xml
 
 %files lang
 %defattr(-,root,root)

++++++ appdata.patch ++++++
>From 65acfc49047467609e6551d2cbfc64be522ea09e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <matth...@mailaender.name>
Date: Sun, 18 Sep 2016 08:08:18 +0200
Subject: [PATCH] Add an appdata.xml file.

---
 minitube.appdata.xml | 19 +++++++++++++++++++
 minitube.pro         |  3 +++
 2 files changed, 22 insertions(+)
 create mode 100644 minitube.appdata.xml

diff --git a/minitube.appdata.xml b/minitube.appdata.xml
new file mode 100644
index 0000000..c6547b6
--- /dev/null
+++ b/minitube.appdata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">minitube.desktop</id>
+  <metadata_license>CC0-1.0</metadata_license>
+  <license>GPL-3.0+</license>
+  <summary>YouTube app</summary>
+  <description>
+    <p>
+      Minitube is a YouTube desktop application.
+    </p>
+  </description>
+  <url type="homepage">http://flavio.tordini.org/minitube</url>
+  <screenshots>
+    <screenshot 
type="default">http://flavio.tordini.org/files/minitube/minitube-04.jpg</screenshot>
+    
<screenshot>http://flavio.tordini.org/files/minitube/minitube-03.jpg</screenshot>
+    
<screenshot>http://flavio.tordini.org/files/minitube/minitube-02.jpg</screenshot>
+    
<screenshot>http://flavio.tordini.org/files/minitube/minitube-01.jpg</screenshot>
+  </screenshots>
+</application>
diff --git a/minitube.pro b/minitube.pro
index 42d8808..1e2b1ae 100644
--- a/minitube.pro
+++ b/minitube.pro
@@ -215,6 +215,7 @@ unix:!mac {
         PKGDATADIR=\\\"$$PKGDATADIR\\\"
     INSTALLS += translations \
         desktop \
+        appdata \
         iconsvg \
         icon16 \
         icon22 \
@@ -228,6 +229,8 @@ unix:!mac {
     translations.files += $$DESTDIR/locale
     desktop.path = $$DATADIR/applications
     desktop.files += minitube.desktop
+    appdata.path = $$DATADIR/appdata
+    appdata.files += minitube.appdata.xml
     iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps
     iconsvg.files += data/minitube.svg
     icon16.path = $$DATADIR/icons/hicolor/16x16/apps

Reply via email to