public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Vitaly Zaitsev <vitaly@easycoding.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mpv] epel9-next: Added XDG metainfo manifest.
Date: Mon, 20 Jul 2026 19:36:01 GMT	[thread overview]
Message-ID: <178457616167.1.13369047413276872051.rpms-mpv-b21ae95b141b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/mpv
Branch : epel9-next
Commit : b21ae95b141b7c9c22e6d596ccf4e7c9ce479869
Author : Vitaly Zaitsev <vitaly@easycoding.org>
Date   : 2022-09-06T18:43:18+02:00
Stats  : +35/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/mpv/c/b21ae95b141b7c9c22e6d596ccf4e7c9ce479869?branch=epel9-next

Log:
Added XDG metainfo manifest.

---
diff --git a/mpv.metainfo.xml b/mpv.metainfo.xml
new file mode 100644
index 0000000..e76540f
--- /dev/null
+++ b/mpv.metainfo.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+    <id>io.mpv.Mpv</id>
+    <name>mpv</name>
+    <summary>A free, open source, and cross-platform media player</summary>
+    <description>
+        <p>mpv is a free (as in freedom) media player for the command line. It supports a wide variety of media file formats, audio and video codecs, and subtitle types.</p>
+        <p>mpv has an OpenGL, Vulkan, and D3D11 based video output that is capable of many features loved by videophiles, such as video scaling with popular high quality algorithms, color management, frame timing, interpolation, HDR, and more.</p>
+        <p>While mpv strives for minimalism and provides no real GUI, it has a small controller on top of the video for basic control.</p>
+        <p>mpv can leverage most hardware decoding APIs on all platforms. Hardware decoding can be enabled at runtime on demand.</p>
+        <p>Powerful scripting capabilities can make the player do almost anything. There is a large selection of user scripts on the wiki.</p>
+        <p>A straightforward C API was designed from the ground up to make mpv usable as a library and facilitate easy integration into other applications.</p>
+    </description>
+    <metadata_license>CC0-1.0</metadata_license>
+    <project_license>GPL-2.0+ AND LGPL-2.0-or-later</project_license>
+    <developer_name>mpv.io</developer_name>
+    <launchable type="desktop-id">mpv.desktop</launchable>
+    <translation type="gettext">mpv</translation>
+    <content_rating type="oars-1.1" />
+    <screenshots>
+        <screenshot type="default">
+            <image>https://mpv.io/images/mpv-screenshot-34cd36ae.jpg</image>
+            <caption>Main window</caption>
+        </screenshot>
+    </screenshots>
+    <url type="homepage">https://mpv.io/</url>
+    <url type="bugtracker">https://github.com/mpv-player/mpv/issues</url>
+    <url type="faq">https://github.com/mpv-player/mpv/wiki/FAQ</url>
+    <url type="help">https://mpv.io/manual/stable</url>
+</component>

diff --git a/mpv.spec b/mpv.spec
index 9d9dd1c..6716edd 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -6,6 +6,7 @@ License:        GPLv2+ and LGPLv2+
 Summary:        Movie player playing most video formats and DVDs
 URL:            https://%{name}.io/
 Source0:        https://github.com/%{name}-player/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
+Source1:        %{name}.metainfo.xml
 
 BuildRequires:  desktop-file-utils
 BuildRequires:  gcc
@@ -119,8 +120,10 @@ sed -e "s|c_preproc.standard_includes.append('/usr/local/include')|c_preproc.sta
 
 %install
 %{_bindir}/waf install --destdir=%{buildroot}
+install -D -m 0644 -p %{SOURCE1} %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
 
 %check
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml
 desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 %files
@@ -137,6 +140,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 %dir %{_datadir}/zsh/site-functions/
 %{_datadir}/zsh/site-functions/_%{name}
 %{_mandir}/man1/%{name}.*
+%{_metainfodir}/%{name}.metainfo.xml
 %dir %{_sysconfdir}/%{name}/
 %config(noreplace) %{_sysconfdir}/%{name}/encoding-profiles.conf
 
@@ -152,6 +156,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
 %changelog
 * Mon Sep 05 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.34.1-11
 - Moved to Fedora.
+- Added XDG metainfo manifest.
 
 * Sun Sep 04 2022 Leigh Scott <leigh123linux@gmail.com> - 0.34.1-10
 - Add requires ffmpeg-libs

                 reply	other threads:[~2026-07-20 19:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457616167.1.13369047413276872051.rpms-mpv-b21ae95b141b@fedoraproject.org \
    --to=vitaly@easycoding.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox