Accepting request 201838 from home:Guillaume_G:branches:multimedia:libs

Add openGL ES 2 support and add libvdpau to supported codecs

OBS-URL: https://build.opensuse.org/request/show/201838
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2013-10-02 08:45:28 +00:00 committed by Git OBS Bridge
parent de5224db0c
commit 10933fe8a2
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Oct 2 08:20:45 UTC 2013 - guillaume@opensuse.org
- Add support to openGL ES 2 (enabled by default for %arm)
-------------------------------------------------------------------
Wed Oct 2 08:16:18 UTC 2013 - guillaume@opensuse.org
- Add libvdpau to codec
-------------------------------------------------------------------
Tue Oct 1 20:09:40 UTC 2013 - dimstar@opensuse.org

View File

@ -26,6 +26,12 @@
# Currently no ncurses support. Will have to find the right trick for integrating curses (which is a curse)
%define with_ncurses 0
%ifarch %arm
%bcond_without enable_opengles
%else
%bcond_with enable_opengles
%endif
Summary: VLC - Video Lan Client
License: GPL-2.0+ and LGPL-2.1+
Group: Productivity/Multimedia/Video/Players
@ -144,6 +150,7 @@ BuildRequires: libffmpeg-devel
BuildRequires: libmad-devel
BuildRequires: libmpeg2-devel
BuildRequires: libtwolame-devel
BuildRequires: libvdpau-devel
BuildRequires: libx264-devel
BuildRequires: libxvidcore-devel
%endif
@ -353,6 +360,10 @@ export CXXFLAGS="%{optflags} -L%{_libdir}/live -Wno-return-type $smbclient"
--enable-xcb \
%else
--disable-xcb \
%endif
%if %{with enable_opengles}
--enable-gles2 \
--enable-egl \
%endif
--enable-xvideo
make %{?_smp_mflags}
@ -396,6 +407,10 @@ rm -rf "$RPM_BUILD_ROOT"
%{_libdir}/vlc/plugins/video_filter/libpanoramix_plugin.so
%{_libdir}/vlc/plugins/video_output/libxcb_glx_plugin.so
%endif
%if %{with enable_opengles}
%{_libdir}/vlc/plugins/video_output/libegl_plugin.so
%{_libdir}/vlc/plugins/video_output/libgles2_plugin.so
%endif
%{_libdir}/vlc/plugins/video_output/libaa_plugin.so
%files noX -f vlc.lang
@ -844,6 +859,7 @@ rm -rf "$RPM_BUILD_ROOT"
%{_libdir}/vlc/plugins/codec/libtwolame_plugin.so
%{_libdir}/vlc/plugins/codec/libx264_plugin.so
%{_libdir}/vlc/plugins/codec/libvaapi_plugin.so
%{_libdir}/vlc/plugins/codec/libvdpau_plugin.so
%{_libdir}/vlc/plugins/demux/libavformat_plugin.so
%{_libdir}/vlc/plugins/video_filter/libpostproc_plugin.so
%endif