commit a0b9aad6a7b4acbea8ebb1c3c4fb8628ff087c7b
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Mon Nov 11 20:54:43 2019 +0100
Add appdata patch
appdata.patch | 24 ++++++++++++++++++++++++
mixxx.spec | 6 +++++-
2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/appdata.patch b/appdata.patch
new file mode 100644
index 0000000..58ad954
--- /dev/null
+++ b/appdata.patch
@@ -0,0 +1,24 @@
+From 5c3222a6118b507ea1d6ace18b22678fabfcc276 Mon Sep 17 00:00:00 2001
+From: Rebecca Wallander <FakeShemp(a)users.noreply.github.com>
+Date: Thu, 11 Jul 2019 14:45:35 +0200
+Subject: [PATCH] Add desktop-application to appdata so that it shows up in
+ storefronts
+
+https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html
+---
+ res/linux/mixxx.appdata.xml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/res/linux/mixxx.appdata.xml b/res/linux/mixxx.appdata.xml
+index d2366c31705..b0899019982 100644
+--- a/res/linux/mixxx.appdata.xml
++++ b/res/linux/mixxx.appdata.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!-- Author 2014 Tuukka Pasanen <pasanen.tuukka(a)gmail.com> -->
+-<component>
++<component type="desktop-application">
+ <id>org.mixxx.Mixxx</id>
+ <launchable type="desktop-id">mixxx.desktop</launchable>
+ <metadata_license>CC-BY-SA-3.0</metadata_license>
+
diff --git a/mixxx.spec b/mixxx.spec
index 12394ce..a987eb4 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -17,13 +17,14 @@
Name: mixxx
Version: 2.2.2
-Release: 3%{?extraver:.%{extraver}}%{?snapinfo:.%{snapinfo}}%{?dist}
+Release: 4%{?extraver:.%{extraver}}%{?snapinfo:.%{snapinfo}}%{?dist}
Summary: Mixxx is open source software for DJ'ing
Group: Applications/Multimedia
License: GPLv2+
URL:
http://www.mixxx.org
Source0:
https://github.com/mixxxdj/%{name}/archive/%{sources}.tar.gz#/%{name}-%{s...
Patch0: launcher-platform-xcb.patch
+Patch1: appdata.patch
# Build Tools
BuildRequires: desktop-file-utils
@@ -163,6 +164,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}
%changelog
+* Mon Nov 11 2019 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.2-4
+- Add appdata patch
+
* Wed Nov 06 2019 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.2-3
- Fix desktop launcher patch