Author: rathann
Update of /cvs/free/rpms/mplayer/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv671
Modified Files:
.cvsignore mplayer.spec sources
Added Files:
mplayer-snapshot.sh
Log Message:
* Tue Sep 09 2008 Dominik Mierzejewski <rpm at greysector.net> -
1.0-0.99.20080903svn
- updated to 20080903 SVN snapshot
- added snapshot creation script
- dropped version sed-patching (happens in the snapshot script now)
- enabled samba support by default
--- NEW FILE mplayer-snapshot.sh ---
#!/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
svn=$(date +%Y-%m-%d)
svn=2008-09-03
dirname=mplayer-export-$svn
cd "$tmp"
svn checkout -r {$svn} svn://svn.mplayerhq.hu/mplayer/trunk $dirname
cd $dirname
for dir in libav* libpostproc ; do
cd $dir
svn update -r {$svn}
cd ..
done
svn_revision=`LC_ALL=C svn info 2> /dev/null | grep Revision | cut -d' ' -f2`
sed -i -e 's/\(SVN-r[0-9]* \)/\1rpmfusion /' -e
"s/UNKNOWN/$svn_revision/" version.sh
find . -type d -name .svn -print0 | xargs -0r rm -rf
cd ..
tar jcf "$pwd"/$dirname.tar.bz2 $dirname
cd - >/dev/null
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/mplayer/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 19 Aug 2008 00:06:56 -0000 1.3
+++ .cvsignore 10 Sep 2008 07:34:42 -0000 1.4
@@ -1,2 +1,3 @@
Blue-1.7.tar.bz2
mplayer-export-2008-08-18.tar.bz2
+mplayer-export-2008-09-03.tar.bz2
Index: mplayer.spec
===================================================================
RCS file: /cvs/free/rpms/mplayer/devel/mplayer.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mplayer.spec 19 Aug 2008 12:32:35 -0000 1.4
+++ mplayer.spec 10 Sep 2008 07:34:42 -0000 1.5
@@ -1,24 +1,25 @@
%define codecdir %{_libdir}/codecs
-%define pre 20080818svn
+%define pre 20080903svn
%define svn 1
-%define svnbuild 2008-08-18
-%define svnrev 27470
+%define svnbuild 2008-09-03
%define faad2min 1:2.6.1
Name: mplayer
Version: 1.0
-Release: 0.98.%{pre}%{?dist}
+Release: 0.99.%{pre}%{?dist}
Summary: Movie player playing most video formats and DVDs
Group: Applications/Multimedia
License: GPLv2+
URL:
http://www.mplayerhq.hu/
%if %{svn}
-Source0:
http://rpm.greysector.net/livna/mplayer-export-%{svnbuild}.tar.bz2
+# run ./mplayer-snapshot.sh to get this
+Source0: mplayer-export-%{svnbuild}.tar.bz2
%else
Source0:
http://www.mplayerhq.hu/MPlayer/releases/MPlayer-%{version}%{pre}.tar.bz2
%endif
Source1:
http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
+Source10: mplayer-snapshot.sh
Patch2: %{name}-config.patch
Patch5: %{name}-x86_32-compile.patch
Patch8: %{name}-manlinks.patch
@@ -53,9 +54,10 @@
BuildRequires: libcaca-devel
BuildRequires: libdca-devel
BuildRequires: libdv-devel
-BuildRequires: libdvdnav-devel >= 4.1.3
+BuildRequires: libdvdnav-devel >= 4.1.3-0.4
BuildRequires: libjpeg-devel
BuildRequires: libmpcdec-devel
+BuildRequires: libsmbclient-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
BuildRequires: lirc-devel
@@ -74,7 +76,6 @@
%{?_with_libmad:BuildRequires: libmad-devel}
%{?_with_nemesi:BuildRequires: libnemesi-devel >= 0.6.3}
%{?_with_openal:BuildRequires: openal-devel}
-%{?_with_samba:BuildRequires: libsmbclient-devel}
%{?_with_svgalib:BuildRequires: svgalib-devel}
%{?_with_xmms:BuildRequires: xmms-devel}
%if %{svn}
@@ -96,7 +97,6 @@
OpenGL, SVGAlib, fbdev, AAlib, DirectFB etc. There are also nice
antialiased shaded subtitles and OSD.
Non-default rpmbuild options:
---with samba: Enable Samba (smb://) support
--with xmms: Enable XMMS input plugin support
--with amr: Enable AMR support
--with libmad: Enable libmad support
@@ -156,10 +156,8 @@
mv DOCS/man/zh DOCS/man/zh_CN
-sed -i -e 's/\(SVN-r[0-9]* \)/\1rpm.livna.org /' -e
's/UNKNOWN/%{svnrev}/' version.sh
-
%build
-export CFLAGS="$RPM_OPT_FLAGS -ffast-math"
+export CFLAGS="$RPM_OPT_FLAGS -ffast-math --std=gnu99"
%ifarch ppc
export CFLAGS="$CFLAGS -maltivec -mabi=altivec"
%endif
@@ -184,7 +182,6 @@
--enable-lirc \
--enable-joystick \
%{!?_with_nemesi:--disable-nemesi} \
- %{!?_with_samba:--disable-smb} \
--disable-dvdread-internal \
--disable-libdvdcss-internal \
--enable-menu \
@@ -237,7 +234,6 @@
--enable-lirc \
--enable-joystick \
%{!?_with_nemesi:--disable-nemesi} \
- %{!?_with_samba:--disable-smb} \
--disable-dvdread-internal \
--disable-libdvdcss-internal \
--enable-menu \
@@ -390,6 +386,12 @@
%changelog
+* Tue Sep 09 2008 Dominik Mierzejewski <rpm at greysector.net> -
1.0-0.99.20080903svn
+- updated to 20080903 SVN snapshot
+- added snapshot creation script
+- dropped version sed-patching (happens in the snapshot script now)
+- enabled samba support by default
+
* Tue Aug 19 2008 Dominik Mierzejewski <rpm at greysector.net> -
1.0-0.98.20080818svn
- moved config settings to config patch
- rebased patches against current snapshot
Index: sources
===================================================================
RCS file: /cvs/free/rpms/mplayer/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 19 Aug 2008 00:06:57 -0000 1.3
+++ sources 10 Sep 2008 07:34:42 -0000 1.4
@@ -1,2 +1,3 @@
e4e2020d11b681aac898103b3ba723c4 Blue-1.7.tar.bz2
f09caa71435c9c8818c2f681722042a7 mplayer-export-2008-08-18.tar.bz2
+9eaaadb3e6636a828edd06e2454d09d4 mplayer-export-2008-09-03.tar.bz2