aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/Win32BuildSetup/buildmingwlibs.bat32
-rw-r--r--project/Win32BuildSetup/buildmingwlibs.sh125
2 files changed, 0 insertions, 157 deletions
diff --git a/project/Win32BuildSetup/buildmingwlibs.bat b/project/Win32BuildSetup/buildmingwlibs.bat
deleted file mode 100644
index 2bf4313d60..0000000000
--- a/project/Win32BuildSetup/buildmingwlibs.bat
+++ /dev/null
@@ -1,32 +0,0 @@
-@ECHO OFF
-rem batch file to compile mingw libs via BuildSetup
-
-rem set M$ env
-call "%VS100COMNTOOLS%..\..\VC\bin\vcvars32.bat"
-
-SET opt=sh
-IF $%1$==$$ SET opt=rxvt
-
-rem compiles a bunch of mingw libs and not more
-IF %opt%==sh (
- IF EXIST ..\BuildDependencies\msys\bin\sh.exe (
- ECHO starting sh shell
- ..\BuildDependencies\msys\bin\sh --login /xbmc/project/Win32BuildSetup/buildmingwlibs.sh
- GOTO END
- ) ELSE (
- GOTO ENDWITHERROR
- )
-)
-IF EXIST ..\BuildDependencies\msys\bin\rxvt.exe (
- ECHO starting rxvt shell
- ..\BuildDependencies\msys\bin\rxvt -backspacekey  -sl 2500 -sr -fn Courier-12 -tn msys -geometry 120x25 -title "building mingw dlls" -e /bin/sh --login /xbmc/project/Win32BuildSetup/buildmingwlibs.sh
- GOTO END
-)
-GOTO ENDWITHERROR
-
-:ENDWITHERROR
- ECHO bla>errormingw
- ECHO msys environment not found
-
-:END
- ECHO exiting msys environment \ No newline at end of file
diff --git a/project/Win32BuildSetup/buildmingwlibs.sh b/project/Win32BuildSetup/buildmingwlibs.sh
deleted file mode 100644
index dcc716f1d9..0000000000
--- a/project/Win32BuildSetup/buildmingwlibs.sh
+++ /dev/null
@@ -1,125 +0,0 @@
-
-ERRORFILE=/xbmc/project/Win32BuildSetup/errormingw
-NOPFILE=/xbmc/project/Win32BuildSetup/noprompt
-MAKECLEANFILE=/xbmc/project/Win32BuildSetup/makeclean
-BGPROCESSFILE=/xbmc/project/Win32BuildSetup/bgprocess
-TOUCH=/bin/touch
-RM=/bin/rm
-NOPROMPT=0
-MAKECLEAN=""
-MAKEFLAGS=""
-
-export _WIN32_WINNT=0x0600
-export NTDDI_VERSION=0x06000000
-
-function throwerror ()
-{
- $TOUCH $ERRORFILE
- echo failed to compile $1
- if [ $NOPROMPT == 0 ]; then
- read
- fi
-}
-
-function setfilepath ()
-{
- FILEPATH=$1
-}
-
-function checkfiles ()
-{
- for i in $@; do
- FILE=$FILEPATH/$i
- if [ ! -f $FILE ]; then
- throwerror "$FILE"
- exit 1
- fi
- done
-}
-
-function runBackgroundProcess ()
-{
- #start the process backgrounded
- $TOUCH $BGPROCESSFILE
- echo "backgrounding: sh $1 $BGPROCESSFILE & (workdir: $(PWD))"
- sh $1 $BGPROCESSFILE &
- echo "waiting on bgprocess..."
- while [ -f $BGPROCESSFILE ]; do
- echo -n "."
- sleep 5
- done
- echo "done"
-}
-
-# cleanup
-if [ -f $ERRORFILE ]; then
- $RM $ERRORFILE
-fi
-
-# check for noprompt
-if [ -f $NOPFILE ]; then
- $RM $NOPFILE
- NOPROMPT=1
-fi
-
-if [ -f $MAKECLEANFILE ]; then
- $RM $MAKECLEANFILE
- MAKECLEAN="clean"
-else
- MAKECLEAN="noclean"
-fi
-
-if [ $NUMBER_OF_PROCESSORS > 1 ]; then
- MAKEFLAGS=-j$NUMBER_OF_PROCESSORS
-fi
-
-# compile our mingw dlls
-echo "################################"
-echo "## compiling mingw libs"
-echo "## NOPROMPT = $NOPROMPT"
-echo "## MAKECLEAN = $MAKECLEAN"
-echo "################################"
-
-echo "##### building ffmpeg dlls #####"
-cd /xbmc/lib/ffmpeg/
-runBackgroundProcess "./build_xbmc_win32.sh $MAKECLEAN"
-setfilepath /xbmc/system/players/dvdplayer
-checkfiles avcodec-54.dll avformat-54.dll avutil-52.dll postproc-52.dll swscale-2.dll avfilter-3.dll swresample-0.dll
-echo "##### building of ffmpeg dlls done #####"
-
-echo "##### building libdvd dlls #####"
-cd /xbmc/lib/libdvd/
-runBackgroundProcess "./build-xbmc-win32.sh $MAKECLEAN"
-setfilepath /xbmc/system/players/dvdplayer
-checkfiles libdvdcss-2.dll libdvdnav.dll
-echo "##### building of libdvd dlls done #####"
-
-echo "##### building libmpeg2 dlls #####"
-cd /xbmc/lib/libmpeg2/
-runBackgroundProcess "./make-xbmc-lib-win32.sh $MAKECLEAN"
-setfilepath /xbmc/system/players/dvdplayer
-checkfiles libmpeg2-0.dll
-echo "##### building of libmpeg2 dlls done #####"
-
-echo "##### building timidity dlls #####"
-cd /xbmc/lib/timidity/
-if [ "$MAKECLEAN" == "clean" ]; then
- make -f Makefile.win32 clean
-fi
-make -f Makefile.win32 $MAKEFLAGS
-setfilepath /xbmc/system/players/paplayer
-checkfiles timidity.dll
-echo "##### building of timidity dlls done #####"
-
-echo "##### building asap dlls #####"
-cd /xbmc/lib/asap/win32
-runBackgroundProcess "./build_xbmc_win32.sh $MAKECLEAN"
-setfilepath /xbmc/system/players/paplayer
-checkfiles xbmc_asap.dll
-echo "##### building of asap dlls done #####"
-
-# wait for key press
-if [ $NOPROMPT == 0 ]; then
- echo press a key to close the window
- read
-fi