summaryrefslogtreecommitdiff
path: root/Ports/SDL2_ttf
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-08-21 16:47:01 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-23 13:30:48 +0100
commita0820b205c3fd954d3ee60d2445b43e838bd5911 (patch)
tree034aa0601c562deebf44d185411e264cf19791ce /Ports/SDL2_ttf
parent46780288429df21548e01dd695529fae1c3e31a2 (diff)
downloadserenity-a0820b205c3fd954d3ee60d2445b43e838bd5911.zip
Ports/SDL2_ttf: Update to 2.20.1
Diffstat (limited to 'Ports/SDL2_ttf')
-rwxr-xr-xPorts/SDL2_ttf/package.sh11
-rw-r--r--Ports/SDL2_ttf/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch12
2 files changed, 11 insertions, 12 deletions
diff --git a/Ports/SDL2_ttf/package.sh b/Ports/SDL2_ttf/package.sh
index 9b7d73287f..ecab0711f5 100755
--- a/Ports/SDL2_ttf/package.sh
+++ b/Ports/SDL2_ttf/package.sh
@@ -1,10 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
-port=SDL2_ttf
-version=2.0.18
-useconfigure=true
-use_fresh_config_sub=true
-files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251"
-auth_type=sha256
+port='SDL2_ttf'
+version='2.20.1'
+useconfigure='true'
+files="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57"
+auth_type='sha256'
depends=("SDL2" "freetype")
configure() {
diff --git a/Ports/SDL2_ttf/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch b/Ports/SDL2_ttf/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch
index d50976d51a..c62b0c15e9 100644
--- a/Ports/SDL2_ttf/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch
+++ b/Ports/SDL2_ttf/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch
@@ -17,10 +17,10 @@ static library into a shared library.
1 file changed, 34 insertions(+)
diff --git a/configure b/configure
-index 02724d0..fec4760 100755
+index 9afa3e1..2ed54b6 100755
--- a/configure
+++ b/configure
-@@ -4841,6 +4841,10 @@ tpf*)
+@@ -5729,6 +5729,10 @@ tpf*)
os2*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -31,7 +31,7 @@ index 02724d0..fec4760 100755
esac
fi
-@@ -7634,6 +7638,10 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
+@@ -8402,6 +8406,10 @@ printf %s "checking for $compiler option to produce PIC... " >&6; }
lt_prog_compiler_static='-Bstatic'
;;
@@ -42,7 +42,7 @@ index 02724d0..fec4760 100755
*)
lt_prog_compiler_can_build_shared=no
;;
-@@ -8919,6 +8927,10 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -9690,6 +9698,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \
hardcode_shlibpath_var=no
;;
@@ -53,7 +53,7 @@ index 02724d0..fec4760 100755
*)
ld_shlibs=no
;;
-@@ -9846,6 +9858,17 @@ uts4*)
+@@ -10615,6 +10627,17 @@ uts4*)
shlibpath_var=LD_LIBRARY_PATH
;;
@@ -71,7 +71,7 @@ index 02724d0..fec4760 100755
*)
dynamic_linker=no
;;
-@@ -15654,6 +15677,17 @@ uts4*)
+@@ -16924,6 +16947,17 @@ uts4*)
shlibpath_var=LD_LIBRARY_PATH
;;