aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorwiso <wiso@svn>2010-05-08 20:55:36 +0000
committerwiso <wiso@svn>2010-05-08 20:55:36 +0000
commitb22193da3e916356d3180818bd11482d76eadd66 (patch)
treed896fbce76b9e6705addc4c27d05d0541c85824b /project
parent57c9f5865839d6e8f50708c3101e5b9cee688415 (diff)
[WIN32] download requirements for libass (fontconfig)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@29934 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'project')
-rw-r--r--project/BuildDependencies/scripts/fontconfig_d.bat23
-rw-r--r--project/BuildDependencies/scripts/libexpat_d.bat4
2 files changed, 26 insertions, 1 deletions
diff --git a/project/BuildDependencies/scripts/fontconfig_d.bat b/project/BuildDependencies/scripts/fontconfig_d.bat
new file mode 100644
index 0000000000..024e4f447b
--- /dev/null
+++ b/project/BuildDependencies/scripts/fontconfig_d.bat
@@ -0,0 +1,23 @@
+@ECHO OFF
+
+rmdir tmp /S /Q
+md tmp
+cd tmp
+
+echo Downloading fontconfig & freetype6.dll ...
+echo ------------------------------------------
+%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/fontconfig-dev_2.8.0-2_win32.zip"
+%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/fontconfig_2.8.0-2_win32.zip"
+%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/freetype_2.3.12-1_win32.zip"
+
+%ZIP% x fontconfig-dev_2.8.0-2_win32.zip
+%ZIP% x fontconfig_2.8.0-2_win32.zip
+%ZIP% x freetype_2.3.12-1_win32.zip
+
+xcopy include\fontconfig %CUR_PATH%\include\fontconfig /E /Q /I /Y
+copy lib\fontconfig.lib %CUR_PATH%\lib\ /Y
+rem libfontconfig-1.dll requires libexpat-1.dll which is copied by libexpat_d.bat
+copy bin\libfontconfig-1.dll %XBMC_PATH%\system\players\dvdplayer\
+copy bin\freetype6.dll %XBMC_PATH%\system\players\dvdplayer\
+
+cd ..
diff --git a/project/BuildDependencies/scripts/libexpat_d.bat b/project/BuildDependencies/scripts/libexpat_d.bat
index 24178f08e8..358adb83e7 100644
--- a/project/BuildDependencies/scripts/libexpat_d.bat
+++ b/project/BuildDependencies/scripts/libexpat_d.bat
@@ -5,7 +5,7 @@ md tmp
cd tmp
echo Downloading libexpat ...
-echo
+echo ------------------------
%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip"
%WGET% "http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip"
@@ -15,5 +15,7 @@ echo
copy include\* %CUR_PATH%\include\ /Y
copy lib\expat.lib %CUR_PATH%\lib\libexpat.lib /Y
copy bin\libexpat-1.dll %XBMC_PATH%\system\libexpat.dll
+rem libexpat-1.dll for libfontconfig-1.dll which is needed for libass.dll
+copy bin\libexpat-1.dll %XBMC_PATH%\system\players\dvdplayer\
cd ..