Accepting request 428422 from home:Mailaender:branches:multimedia:apps
everybody loves screenshots :) OBS-URL: https://build.opensuse.org/request/show/428422 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/minitube?expand=0&rev=29
This commit is contained in:
parent
f97090b68a
commit
a896fa2aab
57
appdata.patch
Normal file
57
appdata.patch
Normal file
@ -0,0 +1,57 @@
|
||||
From 65acfc49047467609e6551d2cbfc64be522ea09e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= <matthias@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
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 06:23:57 UTC 2016 - mailaender@opensuse.org
|
||||
|
||||
- Add appdata.patch for https://en.opensuse.org/openSUSE:AppStore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 24 10:23:20 UTC 2016 - kieltux@gmail.com
|
||||
|
||||
|
@ -30,6 +30,8 @@ Source1: minitube.1
|
||||
Patch0: %{name}-no-update-check.patch
|
||||
# PATCH-FIX-OPENSUSE minitube-fix-watchrelatedvideo-icon.patch kieltux@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 @@ it strives to create a new TV-like experience.
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
%qmake5 \
|
||||
@ -90,6 +93,8 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user