public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mpc-qt] f44: Upstream patch to fix metainfo
@ 2026-07-17 17:41 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-17 17:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/mpc-qt
            Branch : f44
            Commit : 5495c50a026bef35cc835d2f7a8390329d9062c8
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-17T12:44:55-04:00
            Stats  : +25/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/mpc-qt/c/5495c50a026bef35cc835d2f7a8390329d9062c8?branch=f44

            Log:
            Upstream patch to fix metainfo

Also, fix file listings for new "enqueue" desktop entry.

[skip changelog]

---
diff --git a/c8c491c8486d6f1638f245a76c1883673572076c.patch b/c8c491c8486d6f1638f245a76c1883673572076c.patch
new file mode 100644
index 0000000..d6b5691
--- /dev/null
+++ b/c8c491c8486d6f1638f245a76c1883673572076c.patch
@@ -0,0 +1,21 @@
+From c8c491c8486d6f1638f245a76c1883673572076c Mon Sep 17 00:00:00 2001
+From: Thomas Bertels <3265870+tbertels@users.noreply.github.com>
+Date: Thu, 9 Jul 2026 17:04:05 +0200
+Subject: [PATCH] data: Fix syntax in metainfo
+
+---
+ data/io.github.mpc_qt.mpc-qt.metainfo.xml | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/data/io.github.mpc_qt.mpc-qt.metainfo.xml b/data/io.github.mpc_qt.mpc-qt.metainfo.xml
+index a8a6cc9f..bc2c8de7 100644
+--- a/data/io.github.mpc_qt.mpc-qt.metainfo.xml
++++ b/data/io.github.mpc_qt.mpc-qt.metainfo.xml
+@@ -33,6 +33,7 @@
+    <caption>Main window with dark colors</caption>
+    <image>https://mpc-qt.github.io/images/Screenshot_main_screen_dark_20260701_203013.png</image>
+   </screenshot>
++  <screenshot>
+    <caption>Main window with light colors</caption>
+    <image>https://mpc-qt.github.io/images/Screenshot_main_screen_light_20260701_202013.png</image>
+   </screenshot>

diff --git a/mpc-qt.spec b/mpc-qt.spec
index 1ba12e8..da3b866 100644
--- a/mpc-qt.spec
+++ b/mpc-qt.spec
@@ -9,6 +9,8 @@ Summary:        A clone of Media Player Classic reimplemented in Qt
 License:        GPL-2.0-or-later AND ISC
 URL:            https://mpc-qt.github.io/
 Source0:        https://github.com/mpc-qt/mpc-qt/archive/v%{version}/%{name}-%{version}.tar.gz
+# data: Fix syntax in metainfo
+Patch0:         https://github.com/mpc-qt/mpc-qt/commit/c8c491c8486d6f1638f245a76c1883673572076c.patch
 
 BuildRequires:  cmake
 BuildRequires:  desktop-file-utils
@@ -55,7 +57,7 @@ rm -f %{buildroot}%{_datadir}/doc/mpc-qt/ipc.md
 
 %check
 xwfb-run -- %{buildroot}%{_bindir}/mpc-qt -v
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}.desktop
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{app_id}*.desktop
 appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{app_id}.metainfo.xml
 
 
@@ -63,7 +65,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{app_id}.meta
 %doc README.md DOCS/ipc.md
 %license LICENSE
 %{_bindir}/mpc-qt
-%{_datadir}/applications/%{app_id}.desktop
+%{_datadir}/applications/%{app_id}*.desktop
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 %{_metainfodir}/%{app_id}.metainfo.xml
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-17 17:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 17:41 [rpms/mpc-qt] f44: Upstream patch to fix metainfo Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox