Commit 7b9e1bc3 authored by Rafaël Carré's avatar Rafaël Carré

windows config scripts: add win64

separate path to ./configure and options
-> we can disable specific options for win64
parent c2d925e5
...@@ -3,7 +3,7 @@ then ...@@ -3,7 +3,7 @@ then
CONTRIBS=/usr/win32 CONTRIBS=/usr/win32
fi fi
$CONFIG \ $CONFIGURE \
--without-contrib \ --without-contrib \
--enable-update-check \ --enable-update-check \
--enable-lua \ --enable-lua \
...@@ -35,4 +35,5 @@ fi ...@@ -35,4 +35,5 @@ fi
--enable-zvbi --disable-telx \ --enable-zvbi --disable-telx \
--disable-dvb \ --disable-dvb \
--disable-sqlite \ --disable-sqlite \
--enable-peflags --enable-peflags \
$CONFIGOPTS
...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \ ...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \
CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \ CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \
LDFLAGS="-L$CONTRIBS/lib" \ LDFLAGS="-L$CONTRIBS/lib" \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
CONFIG="${root}configure --host=i686-pc-mingw32 CONFIGURE="${root}configure" \
--disable-nls --disable-taglib --disable-mkv --disable-dirac --enable-debug" \ CONFIGOPTS="--host=i686-pc-mingw32
--disable-nls --disable-taglib --disable-mkv --disable-dirac --enable-debug" \
sh ${root}extras/package/win32/configure-common.sh sh ${root}extras/package/win32/configure-common.sh
...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \ ...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \
CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \ CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \
LDFLAGS="-L$CONTRIBS/lib" \ LDFLAGS="-L$CONTRIBS/lib" \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux CONFIGURE="${root}configure" \
CONFIGOPTS="--host=i586-mingw32msvc --build=i386-linux
--enable-dirac --enable-mkv --enable-taglib --enable-release --enable-nls --enable-projectm" \ --enable-dirac --enable-mkv --enable-taglib --enable-release --enable-nls --enable-projectm" \
sh ${root}extras/package/win32/configure-common.sh sh ${root}extras/package/win32/configure-common.sh
...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \ ...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \
CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \ CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \
LDFLAGS="-L$CONTRIBS/lib" \ LDFLAGS="-L$CONTRIBS/lib" \
CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \ CC=i586-mingw32msvc-gcc CXX=i586-mingw32msvc-g++ \
CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux CONFIGURE="${root}configure" \
CONFIGOPTS="--host=i586-mingw32msvc --build=i386-linux
--enable-dirac --enable-mkv --enable-taglib --enable-debug --enable-projectm" \ --enable-dirac --enable-mkv --enable-taglib --enable-debug --enable-projectm" \
sh ${root}extras/package/win32/configure-common.sh sh ${root}extras/package/win32/configure-common.sh
#!/bin/sh
root=$(echo $0|sed 's#extras/package/win32/configure-mingw64.sh##')./
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=amd64-mingw32msvc-gcc CXX=amd64-mingw32msvc-g++ \
CONFIGURE="${root}configure" \
CONFIGOPTS="--host=amd64-mingw32msvc --build=i386-linux
--enable-dirac --enable-mkv --enable-taglib --enable-debug --enable-projectm
--disable-portaudio --disable-qt4 --disable-skins2 --disable-activex --disable-mozilla" \
sh ${root}extras/package/win32/configure-common.sh
...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \ ...@@ -15,6 +15,7 @@ PKG_CONFIG_LIBDIR=$CONTRIBS/lib/pkgconfig \
CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \ CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" \
LDFLAGS="-L$CONTRIBS/lib" \ LDFLAGS="-L$CONTRIBS/lib" \
CC=gcc CXX=g++ \ CC=gcc CXX=g++ \
CONFIG="${root}configure --host=i586-mingw32msvc --build=i386-linux CONFIGURE="${root}configure" \
CONFIGOPTS="--host=i586-mingw32msvc --build=i386-linux
--disable-mkv --disable-taglib --disable-nls --disable-dirac --enable-debug" \ --disable-mkv --disable-taglib --disable-nls --disable-dirac --enable-debug" \
sh ${root}extras/package/win32/configure-common.sh sh ${root}extras/package/win32/configure-common.sh
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