# - bcondize this damn spec! (it should be automated too)
# - go through the configure --help and add all options with proper
# reqs and bconds
+# - flac plugin doesn't work with mono files
#
# Conditional build:
%bcond_without aa # build without aalib support
Patch5: %{name}-real_codecs_path.patch
Patch6: %{name}-osdmenu_path.patch
Patch7: %{name}-wx.patch
+Patch8: %{name}-flac.patch
URL: http://www.videolan.org/vlc/
BuildRequires: OpenGL-devel
BuildRequires: SDL_image-devel >= 1.2
BuildRequires: esound-devel
BuildRequires: faad2-devel >= 2.5
BuildRequires: ffmpeg-devel >= 0.4.9
-BuildRequires: flac-devel
+BuildRequires: flac-devel >= 1.1.3
BuildRequires: fribidi-devel
BuildRequires: gettext-devel
%{?with_hal:BuildRequires: hal-devel >= 0.2.97}
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%build
cp -f /usr/share/automake/config.* .