Added XDG metainfo manifest.

f38
Vitaly Zaitsev 2 years ago
parent 6111e19adb
commit b21ae95b14
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A

@ -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>

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

Loading…
Cancel
Save