Skip to content

Commit

Permalink
Update a bunch of libs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Feb 18, 2024
1 parent debb417 commit efa9b34
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions scripts/Curl.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
mbedtls_ver=2.28.5
curl_ver=8.4.0
curl_ver=8.6.0

download () {
get_tar_archive mbedtls "https://github.com/ARMmbed/mbedtls/archive/mbedtls-${mbedtls_ver}.tar.gz"
Expand All @@ -18,7 +18,7 @@ build () {
popd

$srcdir/curl/configure --host=$CROSS_PREFIX \
--with-mbedtls="$mbedtls" \
--with-mbedtls="$mbedtls" --without-libpsl \
--disable-shared --enable-static --disable-{debug,verbose} \
--disable-{proxy,cookies,crypto-auth,manual,ares,ftp,unix-sockets} \
--disable-{ldap,rtsp,dict,telnet,tftp,pop3,imap,smtp,gopher,mqtt}
Expand Down
6 changes: 3 additions & 3 deletions scripts/Irrlicht.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e
irrlicht_ver=66786d0059e9cf021c34c1de30540a45d928308c
png_ver=1.6.40
jpeg_ver=3.0.1
png_ver=1.6.42
jpeg_ver=3.0.2

download () {
if [ ! -d irrlicht/.git ]; then
Expand All @@ -11,7 +11,7 @@ download () {
popd
fi
get_tar_archive libpng "https://download.sourceforge.net/libpng/libpng-${png_ver}.tar.gz"
get_tar_archive libjpeg "https://download.sourceforge.net/libjpeg-turbo/libjpeg-turbo-${jpeg_ver}.tar.gz"
get_tar_archive libjpeg "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/${jpeg_ver}/libjpeg-turbo-${jpeg_ver}.tar.gz"
}

build () {
Expand Down
4 changes: 2 additions & 2 deletions scripts/JPEG.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash -e
jpeg_ver=3.0.0
jpeg_ver=3.0.2

download () {
get_tar_archive libjpeg "https://download.sourceforge.net/libjpeg-turbo/libjpeg-turbo-${jpeg_ver}.tar.gz"
get_tar_archive libjpeg "https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/${jpeg_ver}/libjpeg-turbo-${jpeg_ver}.tar.gz"
}

build () {
Expand Down
2 changes: 1 addition & 1 deletion scripts/LuaJIT.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -e

repo=https://luajit.org/git/luajit.git
rev=e826d0c101d750fac8334d71e221c50d8dbe236c
rev=0d313b243194a0b8d2399d8b549ca5a0ff234db5

download () {
if [ ! -d LuaJIT/.git ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/PNG.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash -e
png_ver=1.6.40
png_ver=1.6.42

download () {
get_tar_archive libpng "https://download.sourceforge.net/libpng/libpng-${png_ver}.tar.gz"
Expand Down
8 changes: 5 additions & 3 deletions scripts/SQLite.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#!/bin/bash -e
ver=3430200
ver=3450100

download () {
get_tar_archive sqlite-autoconf "https://www.sqlite.org/2023/sqlite-autoconf-${ver}.tar.gz"
get_tar_archive sqlite-autoconf "https://www.sqlite.org/2024/sqlite-autoconf-${ver}.tar.gz"
}

build () {
$srcdir/sqlite-autoconf/configure --host=$CROSS_PREFIX \
--disable-shared --enable-static \
--disable-fts{3,4,5} --disable-json1 --disable-rtree
--disable-fts{3,4,5} --disable-rtree
# strerror_r build issue
sed -re '/^#if.*STRERROR_R_CHAR_P/ s|.+|#if 0|g' -i $srcdir/sqlite-autoconf/sqlite3.c
make

make_install_copy
Expand Down

0 comments on commit efa9b34

Please sign in to comment.