1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

Add libshout on win32

This commit is contained in:
Christophe Mutricy 2006-03-12 21:22:34 +00:00
parent e9c4ad96d9
commit de6439f8cb
2 changed files with 19 additions and 3 deletions

View File

@ -155,7 +155,7 @@ else
ifdef HAVE_WIN32
all: .iconv .intl .freetype .fribidi .zlib \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .shout .vorbisenc .theora \
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \
.png .gpg-error .gcrypt .gnutls .mpcdec \
@ -682,9 +682,12 @@ libshout-$(SHOUT_VERSION).tar.gz:
libshout: libshout-$(SHOUT_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef HAVE_WIN32
patch -p0 < Patches/libshout-win32.patch
endif
.shout: libshout .theora .ogg
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && cd include make && make install && cd ../src && make && make install )
$(INSTALL_NAME)
touch $@

View File

@ -0,0 +1,13 @@
diff -u libshout/include/shout/shout.h.in libshout-new/include/shout/shout.h.in
--- libshout/include/shout/shout.h.in 2004-10-30 02:23:15.000000000 +0100
+++ libshout-new/include/shout/shout.h.in 2006-03-12 21:06:13.000000000 +0000
@@ -22,9 +22,6 @@
#define __LIBSHOUT_SHOUT_H__
#include <sys/types.h>
-#ifdef WIN32
-#include <os.h>
-#endif
#define SHOUTERR_SUCCESS (0)
#define SHOUTERR_INSANE (-1)