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