Summary(pt_BR.UTF-8): Reprodutor de filmes
Name: mplayer2
Version: 2.0
-Release: 2
+Release: 7
License: GPL
Group: Applications/Multimedia
Source0: http://ftp.mplayer2.org/pub/release/%{name}-build-%{version}.tar.xz
%{?with_jack:BuildRequires: jack-audio-connection-kit-devel}
BuildRequires: lame-libs-devel
%{?with_caca:BuildRequires: libcaca-devel}
+BuildRequires: libdc1394-devel
%{?with_libdts:BuildRequires: libdts-devel}
%{?with_libdv:BuildRequires: libdv-devel > 0.9.5}
%{?with_dvdnav:BuildRequires: libdvdnav-devel >= 4.1.3}
%{?with_smb:BuildRequires: libsmbclient-devel}
%{?with_theora:BuildRequires: libtheora-devel}
%{?with_vdpau:BuildRequires: libvdpau-devel}
+BuildRequires: libvorbis-devel
%{?with_vpx:BuildRequires: libvpx-devel >= 0.9.1}
%{?with_system_vorbis:BuildRequires: libvorbis-devel}
%{?with_x264:BuildRequires: libx264-devel >= 0.1.3-1.20110327}
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: ncurses-devel
%{?with_amr:BuildRequires: opencore-amr-devel}
+BuildRequires: openjpeg-devel
BuildRequires: pkgconfig
%{?with_pulseaudio:BuildRequires: pulseaudio-devel >= 0.9}
+BuildRequires: python-modules
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpmbuild(macros) >= 1.527
BuildRequires: schroedinger-devel
echo " --cc="%{__cc}"" >>mplayer_options
echo " --extra-cflags="$CFLAGS"" >>mplayer_options
#echo " --real-ldflags="%{rpmldflags}"" >>mplayer_options
-echo " --extra-ldflags="%{?_x_libraries:-L%{_x_libraries}}"" >>mplayer_options
+echo " --extra-ldflags="%{?_x_libraries:-L%{_x_libraries}} -lX11 -lXext"" >>mplayer_options
%if %{with system_ffmpeg}
echo " --disable-libavutil_a" >>mplayer_options
echo " --disable-libavcodec_a" >>mplayer_options