From 10933fe8a226ed681e99fe375dbce809364335a26e299daf20d23ff3506ef6a3 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 2 Oct 2013 08:45:28 +0000 Subject: [PATCH] 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 --- vlc.changes | 10 ++++++++++ vlc.spec | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/vlc.changes b/vlc.changes index 728225a..fa5c1c9 100644 --- a/vlc.changes +++ b/vlc.changes @@ -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 diff --git a/vlc.spec b/vlc.spec index 73c0f1c..bcf9d96 100644 --- a/vlc.spec +++ b/vlc.spec @@ -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