Commit 6ae6e222 authored by Antoine Cellerier's avatar Antoine Cellerier

Add optional first arg to specify contrib directory.

parent f7637422
if [ -z $CONTRIBS ]
then
CONTRIBS=/usr/win32
fi
$CONFIG \
--without-contrib \
--enable-update-check \
......@@ -15,15 +20,15 @@
--enable-x264 \
--enable-schroedinger \
--enable-realrtsp \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-dvdread --with-dvdnav-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=$CONTRIBS/live.com \
--enable-dvdread --with-dvdnav-config-path=$CONTRIBS/bin \
--enable-shout \
--enable-goom \
--enable-caca \
--enable-portaudio \
--enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-sdl --with-sdl-config-path=$CONTRIBS/bin \
--enable-qt4 \
--enable-mozilla --with-mozilla-sdk-path=/usr/win32/gecko-sdk \
--enable-mozilla --with-mozilla-sdk-path=$CONTRIBS/gecko-sdk \
--enable-activex \
--enable-sse --enable-mmx \
--enable-libcddb \
......
......@@ -2,10 +2,18 @@
root=$(echo $0|sed 's#extras/package/win32/configure-mingw.sh##')./
PATH="/usr/win32/bin:$PATH" \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS="-L/usr/win32/lib" \
if [ -n $1 ]
then
CONTRIBS="$1"
else
CONTRIBS="/usr/win32"
fi
export CONTRIBS
PATH="$CONTRIBS/bin:$PATH" \
PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \
CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \
LDFLAGS="-L$CONTRIBS/lib" \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux
--enable-dirac --enable-mkv --enable-taglib --enable-debug --enable-projectm" \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment