SHA256
1
0
forked from pool/vlc

Accepting request 417001 from multimedia:libs

- Build GStreamer plugin support:
  + Add pkgconfig(gstreamer-app-1.0) BuildRequires.
  + Split out new package vlc-codec-gstreamer, which is triggered
    for automatic installation if vlc-noX and libgstapp are present
    on the system. By using the GStreamer extension one can make
    use of all available addons there (incl. OnePlay codec packs).

- Add vlc-2.2.4-unambig-shortcuts.patch: Make keyboard shortcuts
  in open dialog unambiguous.

- Add and install appdata file.

  has freerdp 2.

OBS-URL: https://build.opensuse.org/request/show/417001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2016-08-06 18:36:32 +00:00 committed by Git OBS Bridge
commit 1e4285afab
4 changed files with 1339 additions and 1 deletions

File diff suppressed because it is too large Load Diff

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,8 +1,29 @@
-------------------------------------------------------------------
Thu Aug 4 18:59:44 UTC 2016 - dimstar@opensuse.org
- Build GStreamer plugin support:
+ Add pkgconfig(gstreamer-app-1.0) BuildRequires.
+ Split out new package vlc-codec-gstreamer, which is triggered
for automatic installation if vlc-noX and libgstapp are present
on the system. By using the GStreamer extension one can make
use of all available addons there (incl. OnePlay codec packs).
-------------------------------------------------------------------
Thu Aug 4 14:41:44 UTC 2016 - dimstar@opensuse.org
- Add vlc-2.2.4-unambig-shortcuts.patch: Make keyboard shortcuts
in open dialog unambiguous.
-------------------------------------------------------------------
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
- disable freerdp module support on openSUSE Leap 42.2. It
has freerdp 2
has freerdp 2.
-------------------------------------------------------------------
Thu Jun 23 11:16:23 UTC 2016 - meissner@suse.com

View File

@ -24,6 +24,12 @@
# Fluidsynth plugin is known to cause strange crashes here and there - disable it for now (2014-10-07, DimStar)
%bcond_with fluidsynth
%if 0%{?suse_version} >= 1200
%bcond_without gstreamer
%else
%bcond_with gstreamer
%endif
%ifarch %arm
%bcond_without opengles
%else
@ -41,6 +47,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
@ -49,6 +56,8 @@ Patch4: vlc-2.2.0-fix_deinterlace_mmx.patch
Patch5: vlc-support-qt5.5.patch
# PATCH-FIX-UPSTREAM vlc-gcc6-buildfixes.patch dimstar@opensuse.org -- A collection of upstream commits to fix build with gcc6
Patch6: vlc-gcc6-buildfixes.patch
# PATCH-FIX-UPSTREAM vlc-2.2.4-unambig-shortcuts.patch dimstar@opensuse.org -- Make keyboard shortcuts on 'open dialog' unambiguous
Patch8: vlc-2.2.4-unambig-shortcuts.patch
BuildRequires: Mesa-devel
BuildRequires: SDL-devel >= 1.2.10
BuildRequires: aalib-devel
@ -57,6 +66,9 @@ BuildRequires: avahi-devel >= 0.6
BuildRequires: dirac-devel
BuildRequires: fdupes
BuildRequires: findutils
%if %{with gstreamer}
BuildRequires: pkgconfig(gstreamer-app-1.0)
%endif
%if 0%{?suse_version} > 1110 || 0%{?BUILD_ORIG}
BuildRequires: flac-devel
%endif
@ -266,6 +278,17 @@ installed as a dependency.
%lang_package -n %{name}-noX
%package codec-gstreamer
Summary: VLC: VideoLAN Client - Decode using GStreamer
Group: Productivity/Multimedia/Video/Players
Requires: %{name}-noX = %{version}
Supplements: packageand(%{name}-noX:%(rpm --qf "%%{name}" -qf $(readlink -f %{_libdir}/libgstapp-1.0.so)))
%description codec-gstreamer
This package enhances the functionality of the VLC VideoLAN Client by
using GStreamer as backend to decode videos (incl. GStreamers available
modules).
%if 0%{?BUILD_ORIG}
%package codecs
Summary: VLC: VideoLAN Client - Codec extension
@ -313,6 +336,7 @@ date
if [ $(gcc -dumpversion) -ge 6 ]; then
%patch6 -p1
fi
%patch8 -p1
### Fix up sources for LUA 5.3
if pkg-config --atleast-version 5.3 lua; then
@ -504,6 +528,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 +559,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
@ -1094,6 +1123,12 @@ done
%{_libdir}/vlc/plugins/video_output/libyuv_plugin.so
%{_libdir}/vlc/plugins/visualization/libvisual_plugin.so
%if %{with gstreamer}
%files codec-gstreamer
%defattr(-,root,root)
%{_libdir}/vlc/plugins/codec/libgstdecode_plugin.so
%endif
%if 0%{?BUILD_ORIG}
%files codecs
%defattr(-,root,root)