aboutsummaryrefslogtreecommitdiff
path: root/util/buildbot
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2015-01-08 21:30:07 +0100
committerShadowNinja <shadowninja@minetest.net>2015-01-08 16:34:42 -0500
commitd8cf64a2029dd8122d5ba0830c0f3dae9db95cf7 (patch)
tree027c77a66cab3899c3d3f6dfbf739ce96df1a6c9 /util/buildbot
parent56a89fd265d07d2b27c9412927ce29c7b5f704c2 (diff)
downloadminetest-d8cf64a2029dd8122d5ba0830c0f3dae9db95cf7.tar.gz
minetest-d8cf64a2029dd8122d5ba0830c0f3dae9db95cf7.tar.bz2
minetest-d8cf64a2029dd8122d5ba0830c0f3dae9db95cf7.zip
Add SQLite3 libraries to buildbot
Diffstat (limited to 'util/buildbot')
-rwxr-xr-xutil/buildbot/buildwin32.sh10
-rwxr-xr-xutil/buildbot/buildwin64.sh10
2 files changed, 18 insertions, 2 deletions
diff --git a/util/buildbot/buildwin32.sh b/util/buildbot/buildwin32.sh
index e900a53d3..a9126b9fa 100755
--- a/util/buildbot/buildwin32.sh
+++ b/util/buildbot/buildwin32.sh
@@ -19,6 +19,7 @@ vorbis_version=1.3.3
curl_version=7.38.0
gettext_version=0.14.4
freetype_version=2.3.5
+sqlite3_version=3.8.7.4
luajit_version=2.0.1
leveldb_version=1.15
zlib_version=1.2.8
@@ -46,7 +47,9 @@ cd $builddir
[ -e $packagedir/gettext-$gettext_version.zip ] || wget http://sfan5.pf-control.de/gettext-$gettext_version.zip \
-c -O $packagedir/gettext-$gettext_version.zip
[ -e $packagedir/libfreetype-$freetype_version.zip ] || wget http://sfan5.pf-control.de/libfreetype-$freetype_version-win32.zip \
- -c -O $packagedir/libfreetype-$freetype_version.zip
+ -c -O $packagedir/libfreetype-$freetype_version.zip
+[ -e $packagedir/sqlite3-$sqlite3_version.zip ] || wget http://sfan5.pf-control.de/sqlite3-$sqlite3_version-win32.zip \
+ -c -O $packagedir/sqlite3-$sqlite3_version.zip
[ -e $packagedir/luajit-$luajit_version-static-win32.zip ] || wget http://sfan5.pf-control.de/luajit-$luajit_version-static-win32.zip \
-c -O $packagedir/luajit-$luajit_version-static-win32.zip
[ -e $packagedir/libleveldb-$leveldb_version-win32.zip ] || wget http://sfan5.pf-control.de/libleveldb-$leveldb_version-win32.zip \
@@ -65,6 +68,7 @@ cd $libdir
[ -d libcurl ] || unzip -o $packagedir/libcurl-$curl_version.zip -d libcurl
[ -d gettext ] || unzip -o $packagedir/gettext-$gettext_version.zip -d gettext
[ -d freetype ] || unzip -o $packagedir/libfreetype-$freetype_version.zip -d freetype
+[ -d sqlite3 ] || unzip -o $packagedir/sqlite3-$sqlite3_version.zip -d sqlite3
[ -d openal_stripped ] || unzip -o $packagedir/openal_stripped.zip
[ -d luajit ] || unzip -o $packagedir/luajit-$luajit_version-static-win32.zip -d luajit
[ -d leveldb ] || unzip -o $packagedir/libleveldb-$leveldb_version-win32.zip -d leveldb
@@ -145,6 +149,10 @@ cmake .. \
-DFREETYPE_LIBRARY=$libdir/freetype/lib/libfreetype.dll.a \
-DFREETYPE_DLL=$libdir/freetype/bin/freetype6.dll \
\
+ -DSQLITE3_INCLUDE_DIR=$libdir/sqlite3/include \
+ -DSQLITE3_LIBRARY=$libdir/sqlite3/lib/libsqlite3.dll.a \
+ -DSQLITE3_DLL=$libdir/sqlite3/bin/libsqlite3-0.dll \
+ \
-DLEVELDB_INCLUDE_DIR=$libdir/leveldb/include \
-DLEVELDB_LIBRARY=$libdir/leveldb/lib/libleveldb.dll.a \
-DLEVELDB_DLL=$libdir/leveldb/bin/libleveldb.dll
diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh
index b951ff498..6ab56e721 100755
--- a/util/buildbot/buildwin64.sh
+++ b/util/buildbot/buildwin64.sh
@@ -19,6 +19,7 @@ vorbis_version=1.3.4
curl_version=7.38.0
gettext_version=0.18.2
freetype_version=2.5.3
+sqlite3_version=3.8.7.4
luajit_version=2.0.3
leveldb_version=1.15
zlib_version=1.2.8
@@ -42,7 +43,9 @@ cd $builddir
[ -e $packagedir/gettext-$gettext_version.zip ] || wget http://sfan5.pf-control.de/gettext-$gettext_version-win64.zip \
-c -O $packagedir/gettext-$gettext_version.zip
[ -e $packagedir/freetype-$freetype_version.zip ] || wget http://sfan5.pf-control.de/libfreetype-$freetype_version-win64.zip \
- -c -O $packagedir/freetype-$freetype_version.zip
+ -c -O $packagedir/freetype-$freetype_version.zip
+[ -e $packagedir/sqlite3-$sqlite3_version.zip ] || wget http://sfan5.pf-control.de/sqlite3-$sqlite3_version-win64.zip \
+ -c -O $packagedir/sqlite3-$sqlite3_version.zip
[ -e $packagedir/luajit-$luajit_version.zip ] || wget http://sfan5.pf-control.de/luajit-$luajit_version-static-win64.zip \
-c -O $packagedir/luajit-$luajit_version.zip
[ -e $packagedir/libleveldb-$leveldb_version.zip ] || wget http://sfan5.pf-control.de/libleveldb-$leveldb_version-win64.zip \
@@ -60,6 +63,7 @@ cd $libdir
[ -d libcurl ] || unzip -o $packagedir/libcurl-$curl_version.zip -d libcurl
[ -d gettext ] || unzip -o $packagedir/gettext-$gettext_version.zip -d gettext
[ -d freetype ] || unzip -o $packagedir/freetype-$freetype_version.zip -d freetype
+[ -d sqlite3 ] || unzip -o $packagedir/sqlite3-$sqlite3_version.zip -d sqlite3
[ -d openal_stripped ] || unzip -o $packagedir/openal_stripped.zip
[ -d luajit ] || unzip -o $packagedir/luajit-$luajit_version.zip -d luajit
[ -d leveldb ] || unzip -o $packagedir/libleveldb-$leveldb_version.zip -d leveldb
@@ -132,6 +136,10 @@ cmake .. \
-DFREETYPE_LIBRARY=$libdir/freetype/lib/libfreetype.dll.a \
-DFREETYPE_DLL=$libdir/freetype/bin/libfreetype-6.dll \
\
+ -DSQLITE3_INCLUDE_DIR=$libdir/sqlite3/include \
+ -DSQLITE3_LIBRARY=$libdir/sqlite3/lib/libsqlite3.dll.a \
+ -DSQLITE3_DLL=$libdir/sqlite3/bin/libsqlite3-0.dll \
+ \
-DLEVELDB_INCLUDE_DIR=$libdir/leveldb/include \
-DLEVELDB_LIBRARY=$libdir/leveldb/lib/libleveldb.dll.a \
-DLEVELDB_DLL=$libdir/leveldb/bin/libleveldb.dll \