1. Download the source using git
2. Install the latest contribs from: http://people.videolan.org/~jb/Contribs/
- Don't use the link they provide you in the developer's wiki. Those contribs are old and won't work with the latest source.
- sudo tar jxf <contrib file here> -C /
4. Create a configuration file named configure-vlc-windows.sh
5. Put the following in configure-vlc-windows.sh:
Code: Select all
export CONTRIBS=/usr/win32
export PREFIX=/work/vlc/compiled/windows-x86-latest/
export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig
export CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml"
export LDFLAGS=-L$CONTRIBS/lib
./configure \
--host=i586-mingw32msvc \
--prefix=$PREFIX \
--build=i386-linux \
--enable-mkv \
--enable-release \
--without-contrib \
--enable-nls \
--enable-shared-libvlc \
--enable-lua \
--enable-faad \
--enable-flac \
--enable-theora \
--enable-twolame \
--enable-quicktime \
--enable-real \
--enable-realrtsp \
--enable-ffmpeg \
--with-ffmpeg-mp3lame \
--with-ffmpeg-faac \
--with-ffmpeg-config-path=/usr/win32/bin \
--with-ffmpeg-zlib \
--enable-live555 \
--with-live555-tree=/usr/win32/live.com \
--disable-libgcrypt \
--disable-remoteosd \
--disable-cddax \
--disable-vcdx \
--disable-goom \
--disable-dvdread \
--disable-dvdnav \
--disable-sdl \
--disable-bonjour \
7. ./configure-vlc-windows.sh
8. ./compile
9. make package-win32-base
Thanks for any help you can provide!