25 |
Patch5: mplayerplug-in-3.55-types-nomidi.patch |
Patch5: mplayerplug-in-3.55-types-nomidi.patch |
26 |
Patch6: mplayerplug-in-3.55-cvs20090908.patch |
Patch6: mplayerplug-in-3.55-cvs20090908.patch |
27 |
BuildRequires: X11-devel |
BuildRequires: X11-devel |
|
%if %{mdkversion} >= 200900 |
|
|
BuildRequires: xulrunner-devel |
|
|
%endif |
|
|
%if %{mdkversion} > 1020 && %{mdkversion} < 200900 |
|
28 |
BuildRequires: mozilla-firefox-devel |
BuildRequires: mozilla-firefox-devel |
29 |
%endif |
BuildRequires: xulrunner-devel |
|
%if %{mdkversion} < 1020 |
|
|
BuildRequires: mozilla-devel |
|
|
%endif |
|
30 |
BuildRequires: gtk+2-devel |
BuildRequires: gtk+2-devel |
31 |
Requires: mplayer%{pkgext} >= 1.0 |
Requires: mplayer%{pkgext} >= 1.0 |
32 |
Conflicts: mozplugger < 1.5.2-2mdk |
|
33 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
34 |
|
|
35 |
%description |
%description |
46 |
%patch6 -p1 -b .cvs |
%patch6 -p1 -b .cvs |
47 |
|
|
48 |
%build |
%build |
|
%if %{mdkversion} > 200900 |
|
49 |
autoreconf -fiv |
autoreconf -fiv |
50 |
#(tpg) hack to include prtime.h and prtypes.h from nsrp4-devel |
#(tpg) hack to include prtime.h and prtypes.h from nsrp4-devel |
51 |
export CFLAGS="%{optflags} -I/usr/include/nspr4" |
export CFLAGS="%{optflags} -I/usr/include/nspr4" |
52 |
export CXXFLAGS=$CFLAGS |
export CXXFLAGS=$CFLAGS |
|
%endif |
|
53 |
|
|
54 |
%configure2_5x \ |
%configure2_5x \ |
55 |
--enable-wmp \ |
--enable-wmp \ |
80 |
vo=xv,x11 |
vo=xv,x11 |
81 |
|
|
82 |
# Audio output |
# Audio output |
|
%if %{mdkversion} >= 200810 |
|
83 |
ao=pulse,esd,alsa,oss,arts,null |
ao=pulse,esd,alsa,oss,arts,null |
|
%else |
|
|
ao=esd,alsa,oss,arts,null |
|
|
%endif |
|
84 |
|
|
85 |
# Passes display to show output to, useful for multiple monitor setups |
# Passes display to show output to, useful for multiple monitor setups |
86 |
#display=[display name] |
#display=[display name] |
261 |
%{_mozillacomponentpath}/mplayerplug-in-rm.xpt |
%{_mozillacomponentpath}/mplayerplug-in-rm.xpt |
262 |
%{_mozillacomponentpath}/mplayerplug-in-gmp.xpt |
%{_mozillacomponentpath}/mplayerplug-in-gmp.xpt |
263 |
%{_mozillacomponentpath}/mplayerplug-in-dvx.xpt |
%{_mozillacomponentpath}/mplayerplug-in-dvx.xpt |
|
|
|
|
|
|