Commit 6808bf9c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fedora and SuSE specfiles provided by Nicolas Chauvet (livna) and Dominique Leuenberger

parent bf48c33d
%define mozver 1.7.3
%define ffmpeg_date 20040520
Summary: The VideoLAN client, also a very good standalone video player.
Name: vlc
Version: 0.8.0
Release: test2
Group: Applications/Multimedia
License: GPL
Buildroot: %{_tmppath}/%{name}-root
Packager: Jason Luka <>
Buildrequires: desktop-file-utils, libpostproc >= 1.0
%{!?_without_dvd:Buildrequires: libdvdcss-devel >= 1.2.8}
%{!?_without_dvdread:Buildrequires: libdvdread-devel >= 0.9.4}
%{?_with_dvdplay:Buildrequires: libdvdplay-devel >= 1.0.1}
%{!?_without_dvdnav:Buildrequires: libdvdnav >= 0.1.10}
%{!?_without_dvbpsi:Buildrequires: libdvbpsi-devel >= 0.1.3}
%{!?_without_ogg:Buildrequires: libogg-devel}
%{!?_without_mad:Buildrequires: libmad-devel >= 0.15.0b}
%{?_with_xvid:Buildrequires: xvidcore-devel >= 0.9.2}
%{!?_without_a52:Buildrequires: a52dec-devel}
%{?_with_dv:Buildrequires: libdv-devel >= 0.99}
%{!?_without_flac:Buildrequires: flac-devel >= 1.1.0}
%{!?_without_vorbis:Buildrequires: libvorbis-devel}
%{!?_without_sdl:Buildrequires: SDL-devel}
%{!?_without_aa:Buildrequires: aalib-devel}
%{!?_without_esd:Buildrequires: esound-devel}
%{!?_without_arts:Buildrequires: arts-devel}
%{!?_without_alsa:Buildrequires: alsa-lib-devel}
%{?_with_gtk:Buildrequires: gtk+-devel}
%{?_with_gnome:Buildrequires: gnome-libs-devel}
%{!?_without_lirc:Buildrequires: lirc}
%{?_with_qt:Buildrequires: qt-devel}
%{?_with_kde:Buildrequires: kdelibs-devel}
%{!?_without_ncurses:Buildrequires: ncurses-devel >= 5}
%{!?_without_xosd:Buildrequires: xosd-devel >= 2.2.5}
%{!?_without_id3tag:BuildRequires: libid3tag-devel}
%{!?_without_mpeg2dec:BuildRequires: mpeg2dec-devel >= 0.3.2}
%{!?_without_wxwindows:BuildRequires: wxGTK-devel >= 2.4.2}
%{!?_without_mozilla:BuildRequires: mozilla-devel >= %{mozver}}
%{!?_without_mozilla:BuildRequires: mozplugger >= 1.3.2}
%{!?_without_speex:BuildRequires: speex-devel >= 1.0.3}
%{!?_without_aa:BuildRequires: aalib >= 1.4}
%{!?_without_mkv:BuildRequires: libmatroska-devel}
%{!?_without_fribidi:BuildRequires: fribidi-devel}
%{!?_without_caca:BuildRequires: libcaca-devel}
Obsoletes: videolan-client, matroska, libebml, libmatroska
Requires: desktop-file-utils
%{!?_without_dvd:Requires: libdvdcss >= 1.2.8}
%{!?_without_dvdread:Requires: libdvdread >= 0.9.4}
%{?_with_dvdplay:Requires: libdvdplay >= 1.0.1}
%{!?_without_dvbpsi:Requires: libdvbpsi >= 0.1.3}
%{!?_without_ogg:Requires: libogg}
%{!?_without_mad:Requires: libmad >= 0.15.0b}
%{!?_without_xvid:Requires: xvidcore >= 0.9.2}
%{!?_without_a52:Requires: a52dec}
%{?_with_dv:Requires: libdv >= 0.99}
%{!?_without_flac:Requires: flac >= 1.1.0}
%{!?_without_vorbis:Requires: libvorbis}
%{!?_without_sdl:Requires: SDL}
%{!?_without_aa:Requires: aalib >= 1.4}
%{!?_without_esd:Requires: esound}
%{!?_without_arts:Requires: arts}
%{!?_without_alsa:Requires: alsa-lib}
%{?_with_gtk:Requires: gtk+}
%{?_with_gnome:Requires: gnome-libs}
%{?_with_qt:Requires: qt}
%{?_with_kde:Requires: kdelibs}
%{?_with_ncurses:Requires: ncurses}
%{?_with_xosd:Requires: xosd >= 2.2.5}
%{!?_without_lirc:Requires: lirc}
%{!?_without_mozilla:Requires: mozilla >= %{mozver}}
%{!?_without_speex:Requires: speex >= 1.0.3}
%{!?_without_wxwindows:Requires: wxGTK >= 2.4.2}
%{!?_without_fribidi:Requires: fribidi}
# TODO: daap, goom, libdc1394, libggi, java-vlc.
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define with_static_ffmpeg 1
%define ffmpeg_date 20070503
%define with_static_live555 0
%define live555_date 2007.04.24a
%define vlc_svn 0
%define vlc_date 20070514
%define with_dirac 1
%define with_mozilla 1
%define with_java_vlc 0
%define rpmfusion 0
Summary: Multi-platform MPEG, DVD, and DivX player
Name: vlc
%if %vlc_svn
%define release_tag 0.1
%define _version %{version}-svn
Version: 0.9.0
Release: %{release_tag}.%{vlc_date}svn%{?dist}
Version: 0.8.6b
%define release_tag 5
%define _version %{version}
Release: %{release_tag}%{?dist}.2
License: GPL
Group: Applications/Multimedia
%if %vlc_svn
## Bugfix sources...
%if %with_static_ffmpeg
%if %with_static_live555
Patch0: vlc-0.8.6-ffmpegX11.patch
Patch1: vlc-0.8.6-wx28.patch
Patch2: vlc-0.8.6a-faad2.patch
Patch3: vlc-0.8.6a-automake110.patch
Patch4: vlc-0.8.6-FLAC_api_change.patch
Patch6: vlc-trunk-dirac_0_6_0-api.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: desktop-file-utils
BuildRequires: libtool
BuildRequires: a52dec-devel
BuildRequires: aalib-devel
BuildRequires: alsa-lib-devel
BuildRequires: arts-devel
BuildRequires: avahi-devel
BuildRequires: cdparanoia-devel
# Don't work now wip
#BuildRequires: directfb-devel
BuildRequires: esound-devel
BuildRequires: faac-devel
BuildRequires: faad2-devel < 2.5
BuildRequires: flac-devel
BuildRequires: fribidi-devel
# wip - glide.h usability... no
#BuildRequires: Glide3-devel
#BuildRequires: Glide3-libGL
BuildRequires: gnome-vfs2-devel
BuildRequires: gnutls-devel >= 1.0.17
BuildRequires: gsm-devel
BuildRequires: gtk2-devel
BuildRequires: hal-devel
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: lame-devel
BuildRequires: libavc1394-devel
BuildRequires: libcaca-devel
BuildRequires: libcddb-devel
BuildRequires: libcdio-devel >= 0.77-3
# kwizart this is the same issue with cdio and cddax svcdx configure options.
# or see
BuildConflicts: libcdio-devel = 0.78.2
BuildRequires: libdca-devel
BuildRequires: libdv-devel
BuildRequires: libdvbpsi-devel
BuildRequires: libdvdnav-devel
BuildRequires: libebml-devel
BuildRequires: libid3tag-devel
BuildRequires: libGLU-devel
BuildRequires: libmad-devel
BuildRequires: libmatroska-devel >= 0.7.6
BuildRequires: libmodplug-devel
BuildRequires: libmpcdec-devel
BuildRequires: libnotify-devel
BuildRequires: libpng-devel
BuildRequires: libraw1394-devel
BuildRequires: librsvg2-devel >= 2.5.0
BuildRequires: libsysfs-devel
BuildRequires: libshout-devel
BuildRequires: libtar-devel
BuildRequires: libtheora-devel
BuildRequires: libtiff-devel
BuildRequires: libupnp-devel
BuildRequires: libvorbis-devel
BuildRequires: libxml2-devel
BuildRequires: lirc-devel
%if %with_static_live555
BuildConflicts: live-devel
BuildRequires: live-devel >= 0-0.11.2006.08.07
BuildRequires: mpeg2dec-devel >= 0.3.2
BuildRequires: ncurses-devel
BuildRequires: openslp-devel
BuildRequires: ORBit2-devel
# This Seem Broken
#BuildRequires: portaudio
BuildRequires: pth-devel
BuildRequires: python-devel
BuildRequires: pyorbit-devel
BuildRequires: SDL_image-devel
BuildRequires: speex-devel >= 1.1.5
%ifarch %{ix86} x86_64
BuildRequires: svgalib-devel
BuildRequires: twolame-devel
BuildRequires: vcdimager-devel >= 0.7.21
BuildRequires: wxGTK-devel >= 2.6
BuildRequires: x264-devel >= 0-0.8.20061028
BuildRequires: xosd-devel
BuildRequires: xvidcore-devel
BuildRequires: zlib-devel
# X-libs
BuildRequires: libXt-devel
BuildRequires: libXv-devel
BuildRequires: libXxf86vm-devel
%if "%fedora" > "6"
BuildRequires: libsmbclient-devel
BuildRequires: samba-common
%if %with_mozilla
BuildRequires: firefox-devel >=
## Will be later replaced by
#BuildRequires: xulrunner-devel
BuildRequires: nspr-devel
BuildRequires: nss-devel
BuildRequires: js-devel
%if %with_static_ffmpeg
## Static version already bundle it
BuildConflicts: ffmpeg-devel
BuildRequires: ffmpeg-devel >= 0.4.9-0
%if %with_dirac
# Diract is still experimental in vlc - 0.6.0 is now in Fedora
# Review
BuildRequires: dirac-devel >= 0.6.0
%if %with_java_vlc
BuildRequires: libgcj-devel
%if %vlc_svn
BuildRequires: opencv-devel
BuildRequires: qt4-devel
BuildRequires: dbus-devel
BuildRequires: xorg-x11-proto-devel
#BuildRequires: lua-devel
%if %rpmfusion
BuildRequires: libopendaap-devel
BuildRequires: libgoom2-devel
BuildRequires: libdc1394-devel
BuildRequires: libggi-devel
Provides: videolan-client = %{version}-%{release}
Provides: videolan-client-wx = %{version}-%{release}
Provides: videolan-client-ncurses = %{version}-%{release}
Obsoletes: videolan-client < 0.8.1
#Obsoletes: videolan-client-gnome < 0.8.1
#Obsoletes: videolan-client-kde < 0.8.1
Obsoletes: videolan-client-ncurses < 0.8.1
Obsoletes: videolan-client-wx < 0.8.1
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Provides: videolan-client-devel = %{version}-%{release}
Obsoletes: videolan-client-devel < 0.8.1
VideoLAN Client (VLC) is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as
well as DVDs, VCDs, and various streaming protocols.
VLC (initially VideoLAN Client) is a highly portable multimedia player
for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast in
IPv4 or IPv6 on a high-bandwidth network.
Available rpmbuild rebuild options :
--without dvd dvdread dvdplay dvbpsi dv v4l avi asf aac ogg rawdv mad ffmpeg xvid
mp4 a52 vorbis mpeg2dec flac aa esd arts alsa gtk gnome xosd lsp lirc
pth id3tag dv qt kde ncurses faad wxwindows mkv fribidi theora
%description devel
This package contains development files for VLC Media Player.
Options that would need not yet existing add-on packages :
--with tremor tarkin ggi glide svgalib mga
VLC (initially VideoLAN Client) is a highly portable multimedia player
for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast in
IPv4 or IPv6 on a high-bandwidth network.
%package devel
Summary: Header files and static library from the Videolan Client.
Group: Development/Libraries
Requires: %{name} = %{version}
%package -n python-vlc
Summary: VLC Media Player binding for Python
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: pyorbit
%description devel
VideoLAN Client (VLC) is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...) as
well as DVDs, VCDs, and various streaming protocols.
%description -n python-vlc
VLC Media Player binding for Python
Install this package if you need to build Videolan Client plugins or intend
to link statically to it.
%if %with_mozilla
%package -n mozilla-vlc
Summary: VLC Media Player plugin for Mozilla compatible web browsers
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
Requires: %{_libdir}/mozilla/plugins
Provides: videolan-client-mozilla = %{version}-%{release}
Obsoletes: videolan-client-mozilla < 0.8.1
%setup -q -n vlc-%{version} -a 1
%description -n mozilla-vlc
This package contains a VLC Media Player plugin for Mozilla compatible
web browsers.
# Build bundeled ffmpeg first
pushd ffmpeg-%{ffmpeg_date}
%configure \
--disable-shared \
--enable-gpl \
--enable-pp \
%{!?_without_lame: --enable-mp3lame} \
%{!?_without_vorbis: --enable-vorbis} \
%{!?_without_faad: --enable-faad} \
%{!?_without_faac: --enable-faac} \
%{!?_without_a52dec: --enable-a52}
%{__make} %{?_smp_mflags}
VLC (initially VideoLAN Client) is a highly portable multimedia player
for various audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX,
mp3, ogg, ...) as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast in
IPv4 or IPv6 on a high-bandwidth network.
export XPIDL=%{_libdir}/mozilla-%mozver/xpidl
export XPIDL_INCL=-I%{_includedir}/mozilla-%mozver
%if %with_java_vlc
%package -n java-vlc
Summary: VLC Media Player binding for Java
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
cp %{_libdir}/mozilla/plugins/ %{_libdir}/mozilla-%{mozver}/plugins/ -f
mv %{_libdir}/mozilla-%{mozver}/plugins/ %{_libdir}/mozilla-%{mozver}/plugins/ -f
rm %{_libdir}/mozilla -fr
ln %{_libdir}/mozilla-%{mozver} %{_libdir}/mozilla -sf
ln /usr/share/idl/mozilla-%{mozver} /usr/share/idl/mozilla -sf
#ln %{_libdir}/ %{_libdir}/ -sf
%description -n java-vlc
VLC Media Player binding for Java
%configure \
--enable-release \
--enable-vcd \
--enable-x11 \
--enable-xvideo \
--disable-qte \
--disable-directx \
--enable-fb \
%{!?_without_dvdread:--enable-dvdread} \
%{!?_without_dvdnav:--enable-dvdnav} \
%{!?_without_dvbpsi:--enable-dvbpsi} \
%{!?_without_v4l:--enable-v4l} \
%{!?_without_ffmpeg:--enable-ffmpeg} \
%{!?_without_ffmpeg:--with-ffmpeg-tree=ffmpeg-%{ffmpeg_date}} \
%{!?_without_flac:--enable-flac} \
%{!?_without_theora:--enable-theora} \
%{!?_without_mad:--enable-mad} \
%{!?_without_faad:--enable-faad} \
%{!?_without_aa:--enable-aa} \
%{!?_without_caca:--enable-caca} \
%{!?_without_dvb:--enable-dvb} \
%{!?_without_pvr:--enable-pvr} \
%{!?_without_livedotcom:--enable-livedotcom --with-livedotcom-tree=%{_libdir}/live} \
%{!?_without_alsa:--enable-alsa} \
%{!?_without_esd:--enable-esd} \
%{!?_without_arts:--enable-arts} \
%{!?_without_fribidi:--enable-fribidi} \
%{!?_without_freetype:--enable-freetype} \
%{!?_without_wxwindows:--enable-wxwindows} \
%{!?_without_ncurses:--enable-ncurses} \
%{!?_without_lirc:--enable-lirc} \
%{!?_without_mozilla:--enable-mozilla} \
%{?_with_xvid:--enable-xvid} \
%{?_with_dv:--enable-dv} \
%{!?_without_sdl:--enable-sdl} \
%{?_with_xosd:--enable-xosd} \
%{?_with_slp:--enable-slp} \
%{?_without_mkv:--disable-mkv} \
%{?_with_tremor:--enable-tremor} \
%{?_with_tarkin:--enable-tarkin} \
%{?_without_mp4:--disable-mp4} \
%{?_without_a52:--disable-a52} \
%{?_without_cinepak:--disable-cinepak} \
%{?_without_mpeg2dec:--disable-libmpeg2} \
%{?_without_vorbis:--disable-vorbis} \
%{?_with_mga:--enable-mga} \
%{?_with_svgalib:--enable-svgalib} \
%{?_with_ggi:--enable-ggi} \
%{?_with_glide:--enable-glide} \
--without-wingdi \
--enable-oss \
--disable-waveout \
%{?_with_gtk:--enable-gtk} \
--disable-familiar \
%{?_with_gnome:--enable-gnome} \
%{?_with_qt:--enable-qt} \
%{?_with_kde:--enable-kde} \
--disable-opie \
--disable-macosx \
--disable-qnx \
--disable-intfwin \
%{?_with_pth:--enable-pth} \
--disable-st \
%{?_without_speex:--disable-speex} \
--disable-testsuite \
%{?_with_dvdplay:--enable-dvdplay} \
%{?_without_dvd:--disable-dvd} \
%{?_without_avi:--disable-avi} \
%{?_without_asf:--disable-asf} \
%{?_without_aac:--disable-aac} \
%{?_without_ogg:--disable-ogg} \
make %{?_smp_mflags}
rm -rf %{buildroot}
find %{buildroot}%{_libdir}/vlc -name "*.so" | xargs strip
%find_lang vlc
cat > %{name}.desktop << EOF
[Desktop Entry]
Name=VideoLAN Media Player
mv %{buildroot}%{_libdir}/mozilla %{buildroot}%{_libdir}/mozilla-%{mozver} -f
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor gnome --delete-original \
--dir %{buildroot}%{_datadir}/applications \
--add-category X-Red-Hat-Base \
--add-category Application \
--add-category AudioVideo \
%setup -q -n %{name}-%{_version}
%if %with_static_ffmpeg
%setup -q -D -T -a 1 -n %{name}-%{_version}
%if %with_static_live555
%setup -q -D -T -a 2 -n %{name}-%{_version}
%patch0 -p1 -b .ffmpegX11
%patch1 -p1 -b .wx28
%if %vlc_svn
#Xvmc quick fix on svn and AMD64
sed -i 's|pop |popl |g' modules/codec/xvmc/*
sed -i 's|push |pushl |g' modules/codec/xvmc/*
%patch2 -p1 -b .faad2
%patch3 -p0 -b .automake110
%patch4 -p1 -b .FLAC_api
%patch6 -p0 -b .dirac6
%{__perl} -pi -e \
's|/usr/share/fonts/truetype/freefont/FreeSerifBold\.ttf|%{_datadir}/fonts/bitstream-vera/VeraSeBd.ttf|' \
# Fix PLUGIN_PATH path for lib64
%{__perl} -pi -e 's|/lib/vlc|/%{_lib}/vlc|g' configure*
# Fix perms issues
chmod 644 mozilla/control/*
chmod 644 src/control/log.c
sed -i 's/\r//' mozilla/control/*
sh bootstrap
ln /dev/cdrom /dev/dvd -sf
rm -f /dev/dvd
rm /usr/share/idl/mozilla -fr
rm -rf %{buildroot}
rm /usr/share/idl/mozilla -fr
rm /usr/lib/mozilla -fr
mkdir /usr/lib/mozilla/plugins -p --mode=755
mv %{_libdir}/mozilla-%{mozver}/plugins/ %{_libdir}/mozilla/plugins -f
%files -f vlc.lang
%defattr(-, root, root)
%doc doc/fortunes.txt doc/intf-vcd.txt
%doc doc/bugreport-howto.txt
%exclude %{_datadir}/doc/vlc/*
%if %with_static_ffmpeg
export CFLAGS="%{optflags}"
# Build bundeled ffmpeg first
pushd ffmpeg-%{ffmpeg_date}
./configure \
--extra-cflags="-fPIC -DPIC" \
--enable-static \
--disable-shared \
--enable-libmp3lame \
--enable-libfaac \
--enable-pp \
--enable-gpl \
%if %vlc_svn
--enable-swscaler \
# Watch
# Planned to be enabled for 0.9.x
make %{?_smp_mflags}
%if %with_static_live555
# Then bundled live555 - not needed
pushd live
# Force the use of our CFLAGS
%{__perl} -pi -e 's|-O2|%{optflags} -fPIC -DPIC|g' config.linux
# Configure and build
./genMakefiles linux && make
%files devel
%defattr(-, root, root)
* Sun Oct 10 2004 Jason Luka
- Update to 0.8.0-test2
- Inserted static ffmpeg routine
- Removed outdated kde, qt, gnome, and gtk+ interfaces
- Added livedotcom dependancy
- Openslp is broken, temporarily removed
- Added EXPORTs and bootstrap
- Removed ffmpeg dependancy as the static lib works better for now
* Sun Sep 19 2004 Jason Luka
- Update to 0.8.0-test1
- Added --enable-gpl
- Updated Mozilla version for FC2
* Fri Mar 19 2004 Jason Luka
- Removed dependancy on XFree86 as FC2 now calls the same package xorg
* Mon Mar 15 2004 Jason Luka
- Update to 0.7.1
* Tue Dec 2 2003 Jason Luka
- Added fribidi support
- Added fribidi and mkv options to configure
* Sat Nov 29 2003 Jason Luka
- Fixed Matroska/EBML problem
- Updated script for mozilla plugin installation
* Fri Nov 28 2003 Jason Luka
- Update to 0.7.0-test1
- Updated version numbers on dependancies
- Removed ALSA support until RH/FC turns to kernel 2.6
- Added --enable-speex and --enable-pp
- Mozilla plugin now built for 1.4.1
- Currently broken (Matroska/EBML problems)
* Mon Aug 25 2003 Jason Luka
- Added matroska support
- Corrected some symlinking problems with the mozilla plugin
* Fri Aug 22 2003 Jason Luka <>
- Update to 0.6.2
- Changed menu item name to VideoLAN Media Player
- Added openslp support
- Added libtar support (needed for skins)
- Added symlink to, thanks to new version of that software
* Fri Aug 1 2003 Jason Luka <>
- Update to 0.6.1
- Fixed file structure problems I created to accomodate the mozilla plugin
- Changed vendor name for desktop install
- Moved vlc to base menu
- Moved plugins from /usr/lib/mozilla to /usr/lib/mozilla-x.x.x
- Added custom patch to accomodate mozilla plugin
- Added execution of bootstrap since was altered
%if %with_mozilla
# fix mozilla plugin
export XPIDL="$(rpm -ql firefox-devel.%{_target_cpu}|grep '/xpidl$')"
export MOZVER="$(rpm -q --qf=%{VERSION} firefox-devel.%{_target_cpu})"
export CFLAGS="%{optflags} -fPIC"
export CXXFLAGS="%{optflags} -fPIC"
* Tue Jul 8 2003 Jason Luka <>
- Update to 0.6.0
- Add id3lib, dv, faad, qt, kde, and mozilla plugin support
- Added script to symlink mozilla-1.2.1 directories to mozilla so build can complete
* Sat Apr 5 2003 Jason Luka <>
- Rebuilt for Red Hat 9
- Changed dependencies for ffmpeg's new name
- Required lirc support at build-time
* Sat Mar 25 2003 Jason Luka <>
- Fixed Buildrequire statements to require all plugins at compile-time
- Fixed Require statements so users don't have to install every plugin
* Thu Mar 23 2003 Jason Luka <>
- Renamed ffmpeg to libffmpeg
- Rebuilt for videolan site
- Autolinked /dev/dvd to /dev/cdrom
# Altivec compiler flags aren't set properly (0.8.2)
%ifarch ppc ppc64
export CFLAGS="$CFLAGS -maltivec -mabi=altivec"
* Tue Mar 11 2003 Matthias Saou <>
- Update to 0.5.2.
- Fix the dv build dependency, thanks to Alan Hagge.
- Added flac support.
- Fixed the libdvbpsi requirements.
# java-vlc
%if %with_java_vlc
export JAVA_HOME=%{_prefix}/lib/jvm/java
* Mon Feb 24 2003 Matthias Saou <>
- Rebuilt against the new xosd lib.
# cddax & vcdx : doesn't build, at least on fc6 x86_64
# with libcdio > 0.77-3
%configure \
--disable-dependency-tracking \
--disable-rpath \
--enable-shout \
--enable-release \
--enable-live555 \
%if %with_static_live555
--with-live555-tree=live \
%if %rpmfusion
--enable-dc1394 \
--enable-dv \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
%if %with_static_ffmpeg
--with-ffmpeg-tree=ffmpeg-%{ffmpeg_date} \
--disable-libtool \
--with-gnu-ld \
--disable-static \
--enable-shared \
--disable-pth \
--enable-dvdread \
--enable-v4l \
--enable-pvr \
--enable-libcdio \
%ifarch x86_64
--enable-cddax \
--enable-vcdx \
--enable-dvb \
--enable-faad \
--enable-twolame \
--enable-real \
--enable-realrtsp \
--enable-flac \
--enable-tremor \
--enable-speex \
--enable-tarkin \
--enable-theora \
%if %with_dirac
--enable-dirac \
--enable-svg \
--enable-snapshot \
%ifarch %{ix86} x86_64
--enable-svgalib \
--enable-aa \
--enable-caca \
--enable-esd \
--enable-arts \
--enable-jack \
--enable-ncurses \
--enable-xosd \
--enable-galaktos \
%if %rpmfusion
--enable-goom \
--enable-ggi \
--enable-slp \
--enable-lirc \
--enable-corba \
--with-x \
--enable-mediacontrol-python-bindings \
%if %with_java_vlc
--enable-java-bindings \
%ifarch %{ix86}
--enable-loader \
--without-contrib \
%if %with_mozilla
--enable-mozilla \
--with-x264-tree=%{_includedir} \
%if %vlc_svn
--enable-libtool \
--enable-shared \
--disable-static \
--enable-opencv \