aboutsummaryrefslogtreecommitdiff
path: root/project/BuildDependencies/scripts/fontconfig_d.bat
diff options
context:
space:
mode:
Diffstat (limited to 'project/BuildDependencies/scripts/fontconfig_d.bat')
-rw-r--r--project/BuildDependencies/scripts/fontconfig_d.bat17
1 files changed, 5 insertions, 12 deletions
diff --git a/project/BuildDependencies/scripts/fontconfig_d.bat b/project/BuildDependencies/scripts/fontconfig_d.bat
index 7de3985d12..9fcf7b6548 100644
--- a/project/BuildDependencies/scripts/fontconfig_d.bat
+++ b/project/BuildDependencies/scripts/fontconfig_d.bat
@@ -1,18 +1,11 @@
@ECHO OFF
-rmdir tmp /S /Q
-md tmp
-cd tmp
+SET LOC_PATH=%CD%
+SET FILES=%LOC_PATH%\fontconfig_d.txt
-echo Downloading fontconfig and 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"
+CALL dlextract.bat fontconfig %FILES%
-%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
+cd %TMP_PATH%
xcopy include\fontconfig "%CUR_PATH%\include\fontconfig" /E /Q /I /Y
copy lib\fontconfig.lib "%CUR_PATH%\lib\" /Y
@@ -20,4 +13,4 @@ rem libfontconfig-1.dll requires libexpat-1.dll which is copied by libexpat_d.ba
copy bin\libfontconfig-1.dll "%XBMC_PATH%\system\players\dvdplayer\"
copy bin\freetype6.dll "%XBMC_PATH%\system\players\dvdplayer\"
-cd ..
+cd %LOC_PATH%