vlc: fix build with flac>=1.3.0.

This commit is contained in:
Juan RP 2013-06-04 11:28:42 +02:00
parent 9900bca1f3
commit e655183723
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,15 @@
flac-1.3.0 pkgconfig files do use -I<includedir> and not -I<includedir>/FLAC.
--- modules/codec/flac.c.orig 2013-06-04 11:22:58.984909594 +0200
+++ modules/codec/flac.c 2013-06-04 11:23:09.463977489 +0200
@@ -38,8 +38,8 @@
#include <vlc_codec.h>
#include <vlc_aout.h>
-#include <stream_decoder.h>
-#include <stream_encoder.h>
+#include <FLAC/stream_decoder.h>
+#include <FLAC/stream_encoder.h>
#include <vlc_block_helper.h>
#include <vlc_bits.h>

View File

@ -28,7 +28,7 @@ makedepends="videoproto libudev-devel>=183 libpng-devel>=1.6
libvorbis-devel SDL_image-devel x264-devel ffmpeg-devel>=1.0.1 jack-devel
xcb-util-devel>=0.3.9 xcb-util-keysyms-devel>=0.3.9 libsamplerate-devel
libXxf86vm-devel libXinerama-devel libXpm-devel libXvMC-devel libXv-devel
libmpeg2-devel libflac-devel fribidi-devel freetype-devel qt-devel
libmpeg2-devel libflac-devel>=1.3.0 fribidi-devel freetype-devel qt-devel
avahi-libs-devel MesaLib-devel libmad-devel liba52-devel libdca-devel
libdvbpsi-devel libgcrypt-devel gtk+-devel libnotify-devel dbus-glib-devel
gnutls-devel>=3.1.5 taglib-devel libmatroska-devel libmpcdec-devel libproxy-devel