Update to 1.0.0-pre1

el8
Nicolas Chauvet 16 years ago
parent 26fbc59223
commit 9f2223a8d1

2
.gitignore vendored

@ -1 +1 @@
vlc-0.9.9-rc2.tar.bz2 vlc-1.0.0-pre1.tar.bz2

@ -1 +1 @@
d9e43e626c183052a6d44954eb366f08 vlc-0.9.9-rc2.tar.bz2 3397813329f2b962f28ddb1cc6e0242f vlc-1.0.0-pre1.tar.bz2

@ -4,8 +4,7 @@
%define with_internal_live555 0 %define with_internal_live555 0
%define live555_date 2008.07.25 %define live555_date 2008.07.25
%define vlc_git 0 %define vlc_git 0
%define vlc_rc -rc2 %define vlc_rc -pre1
%define vlc_date 20090210
%define with_mozilla 1 %define with_mozilla 1
%define with_dc1394 0 %define with_dc1394 0
%define with_directfb 1 %define with_directfb 1
@ -13,38 +12,24 @@
Summary: Multi-platform MPEG, DVD, and DivX player Summary: Multi-platform MPEG, DVD, and DivX player
Name: vlc Name: vlc
%if %vlc_git
Version: 1.0.0 Version: 1.0.0
%define _version %{version}-git Release: 0.1pre1%{?dist}
%define release_tag 0.1.%{vlc_date}git
%else
Version: 0.9.9
%define _version %{version}
%define release_tag 0.4rc2
%endif
Release: %{release_tag}%{?dist}.1
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://www.videolan.org/ URL: http://www.videolan.org/
%if %vlc_git Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}%{?vlc_rc}.tar.bz2
Source0: http://nightlies.videolan.org/build/source/trunk-%{vlc_date}-0024/vlc-snapshot-%{vlc_date}.tar.bz2
%else
Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{_version}%{?vlc_rc}.tar.bz2
%endif
%if %with_internal_live555 %if %with_internal_live555
Source2: http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz Source2: http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz
%endif %endif
Patch0: vlc-trunk-default_font.patch Patch0: vlc-trunk-default_font.patch
Patch1: vlc-0.9.2-pulse_default.patch
Patch2: vlc-0.9.8a-embeddedvideo.patch
Patch3: 300_all_pic.patch Patch3: 300_all_pic.patch
Patch4: 310_all_mmx_pic.patch Patch4: 310_all_mmx_pic.patch
Patch5: vlc-pulse0071.patch Patch5: vlc-1.0.0-pre1-xulrunner-191_support.patch
Patch6: 0001-Mozilla-SDK-libxul-1.9.1-support.patch
Patch8: vlc-backport-postproc_unif.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext
%if 0 %if 0
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: libtool BuildRequires: libtool
@ -87,22 +72,30 @@ BuildRequires: libmatroska-devel >= 0.7.6
BuildRequires: libmodplug-devel BuildRequires: libmodplug-devel
BuildRequires: libmp4v2-devel BuildRequires: libmp4v2-devel
BuildRequires: libmpcdec-devel BuildRequires: libmpcdec-devel
BuildRequires: libmtp-devel
BuildRequires: libnotify-devel BuildRequires: libnotify-devel
BuildRequires: librsvg2-devel >= 2.5.0 BuildRequires: libproxy-devel
BuildRequires: librsvg2-devel >= 2.9.0
BuildRequires: libsysfs-devel BuildRequires: libsysfs-devel
BuildRequires: libshout-devel BuildRequires: libshout-devel
BuildRequires: libsmbclient-devel
BuildRequires: libtar-devel BuildRequires: libtar-devel
BuildRequires: libtheora-devel BuildRequires: libtheora-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libupnp-devel BuildRequires: libupnp-devel
%if 0%{?fedora} > 9 %if 0%{?fedora} > 8
BuildRequires: libv4l-devel BuildRequires: libv4l-devel
%endif %endif
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
%if 0%{?fedora} < 11
BuildRequires: libxml2 < 2.7.3
BuildRequires: libxml2-devel < 2.7.3
BuildRequires: libxml2-static < 2.7.3
%else
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
%endif
BuildRequires: lirc-devel BuildRequires: lirc-devel
%if %with_internal_live555 %if %with_internal_live555
BuildConflicts: live-devel
BuildConflicts: live555-devel BuildConflicts: live555-devel
%else %else
BuildRequires: live555-devel >= 0-0.19.2008.04.03 BuildRequires: live555-devel >= 0-0.19.2008.04.03
@ -112,11 +105,14 @@ BuildRequires: libGL-devel
BuildRequires: libGLU-devel BuildRequires: libGLU-devel
BuildRequires: libmusicbrainz-devel BuildRequires: libmusicbrainz-devel
BuildRequires: lua-devel BuildRequires: lua-devel
BuildRequires: minizip-devel
BuildRequires: mpeg2dec-devel >= 0.3.2 BuildRequires: mpeg2dec-devel >= 0.3.2
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: opencv-devel BuildRequires: opencv-devel
BuildRequires: openslp-devel BuildRequires: openslp-devel
BuildRequires: prelink BuildRequires: prelink
BuildRequires: pulseaudio-libs-devel >= 0.9.8
BuildRequires: portaudio-devel
BuildRequires: qt4-devel BuildRequires: qt4-devel
BuildRequires: schroedinger-devel BuildRequires: schroedinger-devel
BuildRequires: SDL_image-devel BuildRequires: SDL_image-devel
@ -143,18 +139,9 @@ BuildRequires: libXpm-devel
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
BuildRequires: libXvMC-devel BuildRequires: libXvMC-devel
%endif %endif
BuildRequires: xcb-util-devel
BuildRequires: xorg-x11-proto-devel BuildRequires: xorg-x11-proto-devel
%if 0%{?fedora} > 6
BuildRequires: libsmbclient-devel
%else
BuildRequires: samba-common
%endif
%if 0%{?fedora} > 7
BuildRequires: pulseaudio-libs-devel >= 0.9.8
BuildRequires: portaudio-devel
%endif
%if %with_mozilla %if %with_mozilla
BuildRequires: gecko-devel BuildRequires: gecko-devel
@ -164,20 +151,9 @@ Obsoletes: mozilla-vlc < %{version}-%{release}
%endif %endif
# Now obsoleted as it will be built externally
Obsoletes: java-vlc < 0.9.0
Obsoletes: python-vlc < 0.9.0
%if 0
BuildRequires: libgoom2-devel
BuildRequires: libggi-devel
%endif
%if %with_dc1394 %if %with_dc1394
BuildRequires: compat-libdc1394-devel BuildRequires: compat-libdc1394-devel
BuildRequires: compat-libraw1394-devel BuildRequires: compat-libraw1394-devel
#else
#BuildRequires: libraw1394-devel
%endif %endif
@ -261,25 +237,24 @@ VLC plugins for libdc1394
%endif %endif
%prep %prep
%setup -q -n %{name}-%{_version}%{?vlc_rc} %setup -q -n %{name}-%{version}%{?vlc_rc}
%if %with_internal_live555 %if %with_internal_live555
%setup -q -D -T -a 2 -n %{name}-%{_version}%{?vlc_rc} %setup -q -D -T -a 2 -n %{name}-%{version}%{?vlc_rc}
%endif %endif
%patch0 -p1 -b .default_font %patch0 -p1 -b .default_font
%if %vlc_git
%else
%patch1 -p1 -b .pulse_default
%patch2 -p1 -b .embedded
#http://trac.videolan.org/vlc/ticket/1383 #http://trac.videolan.org/vlc/ticket/1383
%patch3 -p1 -b .dmo_pic %patch3 -p1 -b .dmo_pic
sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in
%patch4 -p1 -b .mmx_pic %patch4 -p1 -b .mmx_pic
%patch5 -p1 -b .pulse0071 %if 0%{?fedora} >= 11
%patch6 -p1 -b .libxul191 %patch5 -p1 -b .xul191
%patch8 -p1 -b .postproc %endif
chmod -x modules/gui/qt4/qt4*
#./bootstrap #./bootstrap
%if 0%{?fedora} < 11
export XML2_LIBS="-static -lxml2 -shared -L%{_libdir} -lz -lm"
%endif %endif
@ -301,7 +276,6 @@ popd
--enable-release \ --enable-release \
--with-tuning=no \ --with-tuning=no \
--enable-switcher \ --enable-switcher \
--enable-shout \
--enable-lua \ --enable-lua \
--enable-live555 \ --enable-live555 \
%if %with_internal_live555 %if %with_internal_live555
@ -312,14 +286,9 @@ popd
--enable-dv \ --enable-dv \
%endif %endif
--enable-opencv \ --enable-opencv \
--enable-v4l \
--enable-pvr \ --enable-pvr \
--enable-gnomevfs \ --enable-gnomevfs \
--enable-cddax \ --enable-cddax \
%if 0%{?fedora} < 8
--disable-swscale \
--enable-imgresample \
%endif
--enable-faad \ --enable-faad \
--enable-twolame \ --enable-twolame \
--enable-real \ --enable-real \
@ -334,17 +303,13 @@ popd
--enable-snapshot \ --enable-snapshot \
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
--enable-svgalib \ --enable-svgalib \
--enable-xvmc \ --disable-xvmc \
%endif %endif
%if %with_directfb %if %with_directfb
--enable-directfb \ --enable-directfb \
%endif %endif
--enable-aa \ --enable-aa \
--enable-caca \ --enable-caca \
%if 0%{?fedora} < 9
--enable-esd \
--enable-arts \
%endif
--enable-jack \ --enable-jack \
%if 0%{?fedora} > 7 %if 0%{?fedora} > 7
--enable-portaudio \ --enable-portaudio \
@ -401,7 +366,7 @@ desktop-file-install --vendor livna \
--mode 644 \ --mode 644 \
$RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop $RPM_BUILD_ROOT%{_datadir}/applications/vlc.desktop
# Remove installed fonts for skin2 - needs # Remove installed fonts for skin2
rm -rf $RPM_BUILD_ROOT%{_datadir}/vlc/skin2/fonts/*.ttf rm -rf $RPM_BUILD_ROOT%{_datadir}/vlc/skin2/fonts/*.ttf
ln -sf ../../../fonts/dejavu/DejaVuSans.ttf \ ln -sf ../../../fonts/dejavu/DejaVuSans.ttf \
$RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSans.ttf $RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSans.ttf
@ -409,7 +374,7 @@ ln -sf ../../../fonts/dejavu/DejaVuSans-Bold.ttf \
$RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSansBold.ttf $RPM_BUILD_ROOT%{_datadir}/vlc/skins2/fonts/FreeSansBold.ttf
#Clear execstak #Clear execstak
execstack -c $RPM_BUILD_ROOT%{_bindir}/vlc #execstack -c $RPM_BUILD_ROOT%{_bindir}/vlc
#Fix unowned directories #Fix unowned directories
rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc rm -rf $RPM_BUILD_ROOT%{_docdir}/vlc
@ -450,7 +415,7 @@ fi || :
%{_bindir}/svlc %{_bindir}/svlc
%{_libdir}/vlc/gui/libqt4_plugin.so %{_libdir}/vlc/gui/libqt4_plugin.so
%{_libdir}/vlc/access/libaccess_gnomevfs_plugin.so %{_libdir}/vlc/access/libaccess_gnomevfs_plugin.so
%{_libdir}/vlc/access/libscreen_plugin.so %{_libdir}/vlc/access/libx11_screen_plugin.so
%{_libdir}/vlc/codec/libfluidsynth_plugin.so %{_libdir}/vlc/codec/libfluidsynth_plugin.so
%{_libdir}/vlc/misc/libsvg_plugin.so %{_libdir}/vlc/misc/libsvg_plugin.so
%{_libdir}/vlc/misc/libnotify_plugin.so %{_libdir}/vlc/misc/libnotify_plugin.so
@ -462,10 +427,10 @@ fi || :
%{_libdir}/vlc/video_output/libxvideo_plugin.so %{_libdir}/vlc/video_output/libxvideo_plugin.so
%{_libdir}/vlc/visualization/libgalaktos_plugin.so %{_libdir}/vlc/visualization/libgalaktos_plugin.so
%{_libdir}/vlc/misc/libxosd_plugin.so %{_libdir}/vlc/misc/libxosd_plugin.so
%ifarch %{ix86} x86_64 #ifarch %{ix86} x86_64
%{_libdir}/vlc/codec/libxvmc_plugin.so #{_libdir}/vlc/codec/libxvmc_plugin.so
%{_libdir}/vlc/video_output/libxvmc_plugin.so #{_libdir}/vlc/video_output/libxvmc_plugin.so
%endif #endif
%{_libdir}/vlc/gui/libskins2_plugin.so %{_libdir}/vlc/gui/libskins2_plugin.so
%{_libdir}/vlc/video_filter/libopencv_example_plugin.so %{_libdir}/vlc/video_filter/libopencv_example_plugin.so
%{_libdir}/vlc/video_filter/libopencv_wrapper_plugin.so %{_libdir}/vlc/video_filter/libopencv_wrapper_plugin.so
@ -484,7 +449,7 @@ fi || :
%{_libdir}/*.so.* %{_libdir}/*.so.*
%exclude %{_libdir}/vlc/gui/libqt4_plugin.so %exclude %{_libdir}/vlc/gui/libqt4_plugin.so
%exclude %{_libdir}/vlc/access/libaccess_gnomevfs_plugin.so %exclude %{_libdir}/vlc/access/libaccess_gnomevfs_plugin.so
%exclude %{_libdir}/vlc/access/libscreen_plugin.so %exclude %{_libdir}/vlc/access/libx11_screen_plugin.so
%exclude %{_libdir}/vlc/codec/libfluidsynth_plugin.so %exclude %{_libdir}/vlc/codec/libfluidsynth_plugin.so
%exclude %{_libdir}/vlc/misc/libsvg_plugin.so %exclude %{_libdir}/vlc/misc/libsvg_plugin.so
%exclude %{_libdir}/vlc/misc/libnotify_plugin.so %exclude %{_libdir}/vlc/misc/libnotify_plugin.so
@ -497,8 +462,8 @@ fi || :
%exclude %{_libdir}/vlc/visualization/libgalaktos_plugin.so %exclude %{_libdir}/vlc/visualization/libgalaktos_plugin.so
%exclude %{_libdir}/vlc/misc/libxosd_plugin.so %exclude %{_libdir}/vlc/misc/libxosd_plugin.so
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
%exclude %{_libdir}/vlc/codec/libxvmc_plugin.so #exclude %{_libdir}/vlc/codec/libxvmc_plugin.so
%exclude %{_libdir}/vlc/video_output/libxvmc_plugin.so #exclude %{_libdir}/vlc/video_output/libxvmc_plugin.so
%exclude %{_libdir}/vlc/video_output/libsvgalib_plugin.so %exclude %{_libdir}/vlc/video_output/libsvgalib_plugin.so
%endif %endif
%if %with_directfb %if %with_directfb
@ -547,8 +512,10 @@ fi || :
%changelog %changelog
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.9.9-0.4rc2.1 * Fri Mar 27 2009 kwizart < kwizart at gmail.com > - 1.0.0-0.1pre1
- rebuild for new F11 features - Update to 1.0.0-pre1
- Add mozilla plugin with xulrunner-1.9.1. Patch from Alexey Gladkov
- Disable xxmc
* Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.9.9-0.4rc2 * Fri Mar 6 2009 kwizart < kwizart at gmail.com > - 0.9.9-0.4rc2
- Update to 0.9.9-rc2 - Update to 0.9.9-rc2

Loading…
Cancel
Save