From 808c9ae8ec467484fa6e0d2e3863498a54462dac Mon Sep 17 00:00:00 2001 From: jmarshallnz Date: Mon, 5 Jul 2010 03:53:36 +0000 Subject: [PATCH] added: Python Image Library addon module. Linux + OS/X need some makefile love to fetch + build this. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31631 568bbfeb-2a22-0410-94d2-cc84cf5bfa90 --- addons/script.module.pil/addon.xml | 14 ++++++++++++++ project/BuildDependencies/scripts/PIL_d.bat | 15 +++++++++++++++ project/BuildDependencies/scripts/PIL_d.txt | 2 ++ 3 files changed, 31 insertions(+) create mode 100644 addons/script.module.pil/addon.xml create mode 100644 project/BuildDependencies/scripts/PIL_d.bat create mode 100644 project/BuildDependencies/scripts/PIL_d.txt diff --git a/addons/script.module.pil/addon.xml b/addons/script.module.pil/addon.xml new file mode 100644 index 000000000..537e546d8 --- /dev/null +++ b/addons/script.module.pil/addon.xml @@ -0,0 +1,14 @@ + + + + + + + + all + + diff --git a/project/BuildDependencies/scripts/PIL_d.bat b/project/BuildDependencies/scripts/PIL_d.bat new file mode 100644 index 000000000..cb0a54ee0 --- /dev/null +++ b/project/BuildDependencies/scripts/PIL_d.bat @@ -0,0 +1,15 @@ +@ECHO OFF + +SET LOC_PATH=%CD% +SET FILES=%LOC_PATH%\PIL_d.txt +SET OUTDIR="%XBMC_PATH%\addons\script.module.pil\lib\PIL" + +CALL dlextract.bat PIL %FILES% + +IF EXIST %OUTDIR% rmdir %OUTDIR% /S /Q + +cd %TMP_PATH% + +xcopy PLATLIB\PIL %OUTDIR% /E /Q /I /Y + +cd %LOC_PATH% diff --git a/project/BuildDependencies/scripts/PIL_d.txt b/project/BuildDependencies/scripts/PIL_d.txt new file mode 100644 index 000000000..e5be9fa6d --- /dev/null +++ b/project/BuildDependencies/scripts/PIL_d.txt @@ -0,0 +1,2 @@ +; filename source of the file +PIL-1.1.7.win32-py2.4.exe http://effbot.org/media/downloads/