Author: glen                         Date: Wed Oct 31 16:47:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged 1.0 rc2 from DEVEL

---- Files affected:
SPECS:
   mplayer.spec (1.372 -> 1.373) 

---- Diffs:

================================================================
Index: SPECS/mplayer.spec
diff -u SPECS/mplayer.spec:1.372 SPECS/mplayer.spec:1.373
--- SPECS/mplayer.spec:1.372    Thu Oct 25 22:36:32 2007
+++ SPECS/mplayer.spec  Wed Oct 31 17:47:09 2007
@@ -2,7 +2,7 @@
 # TODO:
 # - nut support (http://www.nut.hu/ - currently down, but see 
svn.mplayerhq.hu/nut/)
 # - update for lzo 2
-# - try to use external ffmpeg, lrmi and few other libs:
+# - try to use external lrmi and few other libs:
 #   
http://www.cyberlink.com/english/products/powercinema/pcm-linux/license/mplayer-10_copyright.htm
 # - segfaults on amd64:
 #   mencoder -oac pcm -af dummy -ovc raw -vf format=yv12 -of ogg -mc 0 -quiet 
-o /tmp/out1 l.avi
@@ -34,8 +34,8 @@
 %bcond_without libdts          # disable libdts support
 %bcond_without libdv           # disable libdv en/decoding support
 %bcond_without lirc            # without lirc support
-%bcond_without live            # without live.com libraries
-%bcond_with    lzo             # with LZO support (requires lzo 1.x)
+%bcond_with    live            # without LIVE555 libraries
+%bcond_without lzo             # with LZO support (requires lzo 2.x)
 %bcond_without mad             # without mad (audio MPEG) support
 %bcond_without pulseaudio              # without pulseaudio output
 %bcond_without quicktime       # without binary quicktime dll support
@@ -56,6 +56,7 @@
 %bcond_with    shared          # experimental libmplayer.so support
 %bcond_with    amr             # enable 3GPP Adaptive Multi Rate (AMR) speech 
codec support
 %bcond_without gnomess         # disable controling gnome screensaver
+%bcond_with    ssse3   # sse3 optimizations (needs binutils >= 2.16.92)
 
 %ifnarch %{ix86}
 %undefine      with_win32
@@ -73,11 +74,8 @@
 %define        _suf    32
 %endif
 
-%define                sname           MPlayer
-%define                snap            %{nil}
-
-%define                _rc     rc1
-%define                _rel    7.1
+%define                _rel    0.1
+%define                _rc     rc2
 
 Summary:       MPlayer - THE Movie Player for UN*X
 Summary(de.UTF-8):     MPlayer ist ein unter der freien GPL-Lizenz stehender 
Media-Player
@@ -87,7 +85,7 @@
 Summary(pt_BR.UTF-8):  Reprodutor de filmes
 Name:          mplayer
 Version:       1.0
-Release:       4.%{_rc}.%{_rel}
+Release:       5.%{_rc}.%{_rel}
 # DO NOT increase epoch unless it's really neccessary!
 # especially such changes like pre7->pre7try2, increase Release instead!
 # PS: $ rpmvercmp pre7try2 pre7
@@ -95,8 +93,8 @@
 Epoch:         3
 License:       GPL
 Group:         Applications/Multimedia
-Source0:       
ftp://ftp2.mplayerhq.hu/MPlayer/releases/%{sname}-%{version}%{_rc}.tar.bz2
-# Source0-md5: 18c05d88e22c3b815a43ca8d7152ccdc
+Source0:       
ftp://ftp2.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}%{_rc}.tar.bz2
+# Source0-md5: 7e27e535c2d267637df34898f1b91707
 Source3:       
ftp://ftp1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
 # Source3-md5: 7b47904a925cf58ea546ca15f3df160c
 Source5:       g%{name}.desktop
@@ -105,29 +103,25 @@
 Source7:       %{name}.png
 Source8:       %{name}.desktop
 # http://www.on2.com/gpl/mplayer/
-Source9:       
http://www.on2.com/gpl/mplayer/2006-11-29-mencoder-on2flixenglinux.tar.bz2
-# Source9-md5: 66fd6987f36f0b0cec6a28366ac3141c
+Source9:       
http://www.on2.com/gpl/mplayer/2007-10-09-mencoder-on2flixenglinux.tar.bz2
+# Source9-md5: 2361e56b40f52dfc20131e458e2aed38
 Patch1:                %{name}-cp1250-fontdesc.patch
 Patch2:                %{name}-codec.patch
 Patch3:                %{name}-home_etc.patch
 Patch4:                %{name}-350.patch
 Patch5:                %{name}-configure.patch
-Patch6:                %{name}-system-amr.patch
+#Patch6:               %{name}-system-amr.patch # outdated via ffmpeg?
 Patch8:                %{name}-altivec.patch
 Patch10:       %{name}-pcmsplit.patch
-Patch11:       ffmpeg-x264-symbol.patch
-Patch12:       %{name}-pulse.patch
 Patch13:       %{name}-mythtv.patch
 Patch14:       %{name}-shared.patch
 #http://www.openchrome.org/snapshots/mplayer/
 Patch15:       %{name}-xvmc.patch
-Patch16:       %{name}-kill-mabi_altivec.patch
 Patch17:       %{name}-auto-expand.patch
-Patch18:       %{name}-gnome-screensaver.patch
+#Patch18:      %{name}-gnome-screensaver.patch # update
 Patch19:       %{name}-on2flix.patch
-Patch20:       
http://www.mplayerhq.hu/MPlayer/patches/asmrules_fix_20061231.diff
-Patch21:       http://www.mplayerhq.hu/MPlayer/patches/cddb_fix_20070605.diff
-Patch22:       %{name}-fontconfig_sub.patch
+Patch22:       %{name}-ffmpeg.patch
+Patch23:       %{name}-live.patch
 URL:           http://www.mplayerhq.hu/
 %{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: OpenAL-devel
@@ -140,6 +134,7 @@
 BuildRequires: amrwb-devel >= 5.3.0
 %endif
 %{?with_arts:BuildRequires:    artsc-devel}
+%{?with_ssse3:BuildRequires:   binutils >= 3:2.16.92}
 %{?with_cdparanoia:BuildRequires:      cdparanoia-III-devel}
 %{?with_doc:BuildRequires:     docbook-style-xsl}
 %{?with_dxr3:BuildRequires:    em8300-devel}
@@ -147,6 +142,7 @@
 %{?with_esd:BuildRequires:     esound-devel}
 BuildRequires: faac-devel
 %{?with_faad:BuildRequires:    faad2-devel >= 2.0}
+BuildRequires: ffmpeg-devel >= 0.4.9-3.20070626.1.1
 BuildRequires: freetype-devel
 BuildRequires: fribidi-devel
 %{?with_vidix:BuildRequires:   vidix-devel}
@@ -178,7 +174,7 @@
 BuildRequires: libxslt-progs
 %{?with_lirc:BuildRequires:    lirc-devel}
 %{?with_live:BuildRequires:    live}
-%{?with_lzo:BuildRequires:     lzo-devel < 2.0}
+%{?with_lzo:BuildRequires:     lzo-devel >= 2.0}
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: ncurses-devel
 BuildRequires: pkgconfig
@@ -310,43 +306,36 @@
 MEncoder to koder filmów dla Linuksa będący częścią pakietu MPlayer.
 
 %prep
-%setup -q -n %{sname}-%{version}%{_rc} -a3 -a6 -a9
+%setup -q -n MPlayer-%{version}%{_rc} -a3 -a6 -a9
 cp -f etc/codecs.conf etc/codecs.win32.conf
 %patch1 -p0
 ##%patch2 -p1
 ##%patch3 -p1  -- old home_etc behavior
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
+#%patch6 -p1 # - try ffmpeg
 %patch8 -p1
 #%%patch10 -p1
-%patch11 -p1
-%patch12 -p0
 #%patch13 -p1  # TODO
 %if %{with shared}
 %patch14 -p1
 %endif
 #%patch15 -p0  # TODO
-%patch16 -p1
 %patch17 -p1
 %if %{with gnomess}
-%patch18 -p1
-%endif
-
-%if 0%{?snap}
-find . -type d -name CVS -print | xargs rm -rf
+#%patch18 -p1
 %endif
 
 # on2flix
 cp -a mencoder-on2flixenglinux/new_files/libmpdemux/* libmpdemux
+rm -f mencoder-on2flixenglinux/version.diff
 %patch19 -p1
 for a in mencoder-on2flixenglinux/*.diff; do
        patch -p0 < $a
 done
 
-%patch20 -p0
-%patch21 -p0
-%patch22 -p0
+%patch22 -p1
+%patch23 -p1
 
 %build
 %if %{with shared}
@@ -365,7 +354,16 @@
        --prefix=%{_prefix} \
        --confdir=%{_sysconfdir}/mplayer \
        --with-extraincdir=%{_includedir}/xvid \
+       --with-extralibdir=%{_x_libraries} \
        --enable-menu \
+       --disable-libavutil_a \
+       --disable-libavcodec_a \
+       --disable-libavformat_a \
+       --disable-libpostproc_a \
+       --enable-libavutil_so \
+       --enable-libavcodec_so \
+       --enable-libavformat_so \
+       --enable-libpostproc_so \
 %ifnarch %{ix86} %{x8664}
        --disable-mmx \
        --disable-mmxext \
@@ -375,16 +373,17 @@
        --disable-sse2 \
        --disable-fastmemcpy \
 %endif
+       %{!?with_ssse3:--disable-ssse3} \
 %ifarch ppc
 %{!?with_altivec:--disable-altivec} \
 %endif
-%{!?with_amr:--disable-amr_nb --disable-amr_wb} \
-%{?with_amr:--enable-amr_nb --enable-amr_wb} \
+%{!?with_amr:--disable-libamr_nb --disable-libamr_wb} \
+%{?with_amr:--enable-libamr_nb --enable-libamr_wb} \
 %{?with_directfb:--enable-directfb} \
 %{!?with_directfb:--disable-directfb} \
 %{!?with_dxr3:--disable-dxr3} \
 %{!?with_ggi:--disable-ggi} \
-%{?with_live:--enable-live --with-livelibdir=%{_libdir}/liveMedia 
--with-extraincdir=/usr/include/liveMedia} \
+%{?with_live:--enable-live --with-extraincdir=/usr/include/liveMedia} \
 %{!?with_live:--disable-live} \
 %{!?with_lzo:--disable-liblzo} \
 %{!?with_nas:--disable-nas} \
@@ -413,7 +412,7 @@
 --%{?with_runtime:en}%{!?with_runtime:dis}able-runtime-cpudetection \
 %{!?with_select:--disable-select} \
 %{!?with_smb:--disable-smb} \
-%{!?with_win32:--disable-win32} \
+%{!?with_win32:--disable-win32dll} \
 %{!?with_vorbis:--disable-vorbis} \
 %{?with_osd:--enable-menu} \
 %{!?with_theora:--disable-theora} \
@@ -423,7 +422,8 @@
 %{!?with_vidix:--disable-vidix-external --disable-vidix-internal} \
 %{?with_vidix:--disable-vidix-internal} \
 %{!?with_mencoder:--disable-mencoder} \
-       --enable-dga \
+       --enable-dga1 \
+       --enable-dga2 \
        --enable-fbdev \
        --enable-gl \
        --enable-mga \
@@ -439,7 +439,7 @@
        --enable-dynamic-plugins \
        --enable-largefiles \
        --language=all \
-       --with-codecsdir=%{_libdir}/codecs \
+       --codecsdir=%{_libdir}/codecs \
        --with-xvmclib=XvMCW \
        "$@"
 
@@ -448,7 +448,7 @@
 
 %if %{with gui}
 # build GUI version
-build --enable-gui
+build --enable-gui --disable-mencoder
 mv -f mplayer gmplayer
 %{__make} distclean
 %endif
@@ -457,7 +457,7 @@
 build --disable-gui
 
 %if %{with doc}
-%{__make} -j1 -C DOCS/xml
+%{__make} -C DOCS/xml
 %endif
 
 %install
@@ -491,10 +491,6 @@
 
 %if %{with gui}
 ln -s Blue $RPM_BUILD_ROOT%{_datadir}/%{name}/Skin/default
-%endif
-
-# X-files
-%if %{with gui}
 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
 %endif
 install %{SOURCE8} $RPM_BUILD_ROOT%{_desktopdir}
@@ -509,7 +505,7 @@
 install DOCS/man/hu/*.1 $RPM_BUILD_ROOT%{_mandir}/hu/man1
 install DOCS/man/it/*.1 $RPM_BUILD_ROOT%{_mandir}/it/man1
 install DOCS/man/pl/*.1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
-install DOCS/man/sv/*.1 $RPM_BUILD_ROOT%{_mandir}/sv/man1
+#install DOCS/man/sv/*.1 $RPM_BUILD_ROOT%{_mandir}/sv/man1
 install DOCS/man/zh/*.1 $RPM_BUILD_ROOT%{_mandir}/zh_CN/man1
 
 %clean
@@ -547,12 +543,13 @@
 
 %files common
 %defattr(644,root,root,755)
-# HTML and XML-generated docs
-%doc DOCS/HTML/en
 %doc DOCS/tech
 %if %{with win32}
 %doc etc/codecs.win32.conf
 %endif
+%if %{with doc}
+# HTML and XML-generated docs
+%doc DOCS/HTML/en
 %lang(cs) %doc DOCS/HTML/cs
 %lang(de) %doc DOCS/HTML/de
 %lang(es) %doc DOCS/HTML/es
@@ -560,8 +557,9 @@
 %lang(hu) %doc DOCS/HTML/hu
 %lang(pl) %doc DOCS/HTML/pl
 %lang(ru) %doc DOCS/HTML/ru
-%lang(zh_CN) %doc DOCS/zh
-%doc AUTHORS ChangeLog README
+#%lang(zh_CN) %doc DOCS/zh
+%endif
+%doc AUTHORS README
 
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*.conf
@@ -573,7 +571,7 @@
 %lang(hu) %{_mandir}/hu/man1/*
 %lang(it) %{_mandir}/it/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
-%lang(sv) %{_mandir}/sv/man1/*
+#%lang(sv) %{_mandir}/sv/man1/*
 %lang(zh_CN) %{_mandir}/zh_CN/man1/*
 %{_desktopdir}/mplayer.desktop
 %{_pixmapsdir}/mplayer.png
@@ -586,6 +584,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.373  2007/10/31 16:47:09  glen
+- merged 1.0 rc2 from DEVEL
+
 Revision 1.372  2007/10/25 20:36:32  blues
 - use fontconfig in default config - solves problems with chars
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/mplayer.spec?r1=1.372&r2=1.373&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to