Accepting request 416619 from home:badshah400:branches:multimedia:libs

- Add and install appdata file.

OBS-URL: https://build.opensuse.org/request/show/416619
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=169
This commit is contained in:
Dominique Leuenberger 2016-08-03 13:19:04 +00:00 committed by Git OBS Bridge
parent 0003f82505
commit a585e922d4
3 changed files with 45 additions and 0 deletions

34
vlc.appdata.xml Normal file
View File

@ -0,0 +1,34 @@
<?xml version='1.0' encoding='UTF-8'?>
<component>
<id type="desktop">vlc.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<name>VLC Media player</name>
<project_license>GPL-2.0+ and LGPL-2.1+</project_license>
<summary>Read, capture, broadcast your multimedia streams</summary>
<url type="homepage">http://www.videolan.org</url>
<description>
<p>VLC media player is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.</p>
<p>Features:</p>
<ul>
<li>Fast hardware decoding on most platforms.</li>
<li>Supports playback of all video and audio formats (might require additional codecs).</li>
<li>The most complete feature-set over the video, subtitle synchronisation, video and audio filters.</li>
<li>Miscellaneous: SAP/SDP announces, Bonjour protocol, Mozilla/Firefox plugin, ActiveX plugin, SVCD Menus, Localization, CD-Text, CDDB CD info, IGMPv3, IPv6, MLDv2, CPU acceleration.</li>
</ul>
</description>
<screenshots>
<screenshot type="default">
<image height="686" width="1000">http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg</image>
<caption>Playing video</caption>
</screenshot>
<screenshot>
<image height="690" width="1000">http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-poney.jpg</image>
<caption>Add files to playlist</caption>
</screenshot>
</screenshots>
<update_contact>vlc-devel@videolan.org</update_contact>
</component>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 3 03:19:18 UTC 2016 - badshah400@gmail.com
- Add and install appdata file.
-------------------------------------------------------------------
Sun Jul 10 16:15:58 UTC 2016 - suse@tleine.de

View File

@ -41,6 +41,7 @@ Source: http://download.videolan.org/%{name}/%{version}/%{name}-%{versio
# Add vlc.changes as source, so we can reproducibly extract the date from it during build
Source1: %{name}.changes
Source2: %{name}-rpmlintrc
Source3: %{name}.appdata.xml
# PATCH-FIX-OPENSUSE vlc-2.1.5-fix-skins2-default-skin-creation.patch -- see description in patch header
Patch1: vlc-2.1.5-fix-skins2-default-skin-creation.patch
Patch3: 0001-no-return-in-non-void.patch
@ -504,6 +505,9 @@ for lang in ach an cgg co ff tet ks_IN; do
done
%find_lang vlc
#Install appdata file
install -Dm0644 %{S:3} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%post
%{_libdir}/vlc/vlc-cache-gen -f %{_libdir}/vlc/plugins
@ -532,6 +536,8 @@ done
# The presence of the .desktop file is what gives AppStream the
# hint of which package to add in the appstore... 'vlc' is the place to be
%{_datadir}/applications/vlc.desktop
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml
# The icon is the one referenced by the .desktop file
%{_datadir}/pixmaps/vlc.png
%{_bindir}/svlc