]> git.pld-linux.org Git - packages/vlc.git/blame - vlc.spec
- rel 5
[packages/vlc.git] / vlc.spec
CommitLineData
849ab139 1#
03bc35bf 2# TODO:
bf37f156 3# - check the altivec patch
03bc35bf 4# - add proper package descriptions/translations
46e4d74a
KK
5# - bcondize this damn spec! (it should be automated too)
6# - go through the configure --help and add all options with proper
7# reqs and bconds
14dc6b5f 8# - flac plugin doesn't work with mono files
194c6717 9#
849ab139 10# Conditional build:
194c6717
JB
11%bcond_without aa # build without aalib support
12%bcond_without caca # build without caca support
13%bcond_without dv # build without dv support
14%bcond_without lirc # build without lirc support
15%bcond_without x264 # build without x264 support
849ab139 16%bcond_without alsa # don't build alsa plugin
506c552a 17%bcond_without arts # don't build arts plugin
dc4e6932 18%bcond_without ggi # don't build ggi plugin
0d045b15 19%bcond_without live # build without live.com support
36872a2b 20%bcond_without speex # don't build speex plugin
9ade8786 21%bcond_with mozilla # build mozilla plugin
67d1b2d1 22%bcond_with slp # build with slp, broken
506c552a 23%bcond_with svgalib # build with svgalib video_output
24%bcond_with hal # build with hal support
849ab139 25#
bf82b435 26Summary: VLC - a multimedia player and stream server
03bc35bf 27Summary(pl): VLC - odtwarzacz multimedialny oraz serwer strumieni
fd4c8844 28Name: vlc
bf37f156 29Version: 0.8.6
efa5d3fa 30Release: 5
fd4c8844 31License: GPL
be8ed508 32Group: X11/Applications/Multimedia
46e4d74a
KK
33# use the bz2 src, its a 4mb difference
34Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/%{name}-%{version}.tar.bz2
bf37f156 35# Source0-md5: 77a275f3408c4c9feae451d4eae47f89
ff2adfa1 36Source1: %{name}.desktop
22f3d640 37Patch0: %{name}-altivec.patch
74faec91 38Patch1: %{name}-buildflags.patch
39Patch2: %{name}-defaultfont.patch
40Patch3: %{name}-live.patch
7908f1d9 41Patch4: %{name}-pic-mmx.patch
ea253bf4
ER
42Patch5: %{name}-real_codecs_path.patch
43Patch6: %{name}-osdmenu_path.patch
48deffe0 44Patch7: %{name}-wx.patch
14dc6b5f 45Patch8: %{name}-flac.patch
03bc35bf 46URL: http://www.videolan.org/vlc/
86f0e296 47BuildRequires: OpenGL-devel
46e4d74a 48BuildRequires: SDL_image-devel >= 1.2
dc4e6932 49BuildRequires: a52dec-libs-devel
46e4d74a 50%{?with_aa:BuildRequires: aalib-devel}
bf82b435 51%{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9}
506c552a 52%{?with_arts:BuildRequires: artsc-devel}
bf82b435
JB
53BuildRequires: autoconf
54BuildRequires: automake
33e02718 55BuildRequires: esound-devel
f7d040bf 56BuildRequires: faad2-devel >= 2.5
dc4e6932 57BuildRequires: ffmpeg-devel >= 0.4.9
14dc6b5f 58BuildRequires: flac-devel >= 1.1.3
9ade8786 59BuildRequires: fribidi-devel
93b30ea8 60BuildRequires: gettext-devel
506c552a 61%{?with_hal:BuildRequires: hal-devel >= 0.2.97}
861d09fc 62%{?with_dv:BuildRequires: libavc1394-devel}
46e4d74a 63%{?with_caca:BuildRequires: libcaca-devel}
03bc35bf 64BuildRequires: libcddb-devel
bf37f156 65BuildRequires: libcdio-devel
bf82b435 66BuildRequires: libdts-devel
46e4d74a 67%{?with_dv:BuildRequires: libdv-devel}
dc4e6932 68BuildRequires: libdvbpsi-devel
bf37f156 69BuildRequires: libdvdcss-devel
3089e686 70BuildRequires: libdvdnav-devel
e0445d5d 71BuildRequires: libdvdread-devel
7908f1d9 72BuildRequires: libebml-devel >= 0.7.6
bf82b435 73%{?with_ggi:BuildRequires: libggi-devel}
3089e686 74BuildRequires: libid3tag-devel
86f0e296 75BuildRequires: libmad-devel
62443979 76BuildRequires: libmatroska-devel >= 0.7.5
cea85db5 77BuildRequires: libmodplug-devel
7a122773 78BuildRequires: libmpcdec-devel >= 1.2.1
86f0e296
KK
79BuildRequires: libogg-devel
80BuildRequires: libpng-devel
861d09fc 81%{?with_dv:BuildRequires: libraw1394-devel}
48aebc5b 82BuildRequires: libsmbclient-devel
bf82b435 83BuildRequires: libtheora-devel
861d09fc 84BuildRequires: libtool
9ade8786 85BuildRequires: libvorbis-devel
62c0e374 86%{?with_x264:BuildRequires: libx264-devel}
86f0e296 87BuildRequires: libxml2-devel
46e4d74a 88%{?with_lirc:BuildRequires: lirc-devel}
5b087505 89%{?with_live:BuildRequires: live >= 2005.03.11}
978b73f9 90%{?with_mozilla:BuildRequires: mozilla-devel}
bf37f156 91BuildRequires: mpeg2dec-devel >= 0.3.2
bf82b435 92BuildRequires: ncurses-devel
67d1b2d1 93%{?with_slp:BuildRequires: openslp-devel}
86f0e296 94BuildRequires: pkgconfig
acd3f5c1 95%{?with_speex:BuildRequires: speex-devel > 1:1.1.0}
506c552a 96%{?with_svgalib:BuildRequires: svgalib-devel}
03bc35bf 97BuildRequires: vcdimager-devel
0d34bf6b 98BuildRequires: wxGTK2-unicode-devel >= 2.6.2-2
9ade8786 99BuildRequires: xosd-devel
86f0e296 100BuildRequires: xvid-devel
fd4c8844
JK
101BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
102
8f03f972 103%description
bf37f156 104VLC (initially VideoLAN Client) is a multimedia player for various
c87dd0e6 105audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, MP3, Ogg, ...)
bf37f156
ER
106as well as DVDs, VCDs, and various streaming protocols. It can also be
107used as a server to stream in unicast or multicast in IPv4 or IPv6 on
108a high-bandwidth network.
fd4c8844 109
a0f12eaa 110%description -l pl
bf37f156
ER
111