Skip to content

Commit a0820b2

Browse files
timschumilinusg
authored andcommitted
Ports/SDL2_ttf: Update to 2.20.1
1 parent 4678028 commit a0820b2

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

Ports/AvailablePorts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
219219
| [`SDL2_mixer`](SDL2_mixer/) | SDL2\_mixer (Audio mixer add-on for SDL2) | 2.6.2 | https://github.com/libsdl-org/SDL_mixer |
220220
| [`SDL2_net`](SDL2_net/) | SDL2\_net (Network add-on for SDL2) | 2.2.0 | https://github.com/libsdl-org/SDL_net |
221221
| [`SDL2_sound`](SDL2_sound/) | SDL2\_sound (Abstract soundfile decoder add-on for SDL2) | | https://github.com/icculus/SDL_sound |
222-
| [`SDL2_ttf`](SDL2_ttf/) | SDL2\_ttf (TrueType Font add-on for SDL2) | 2.0.18 | https://www.libsdl.org/projects/SDL_ttf/ |
222+
| [`SDL2_ttf`](SDL2_ttf/) | SDL2\_ttf (TrueType Font add-on for SDL2) | 2.20.1 | https://github.com/libsdl-org/SDL_ttf |
223223
| [`SDL_mixer`](SDL_mixer/) | SDL\_mixer (Audio mixer add-on for SDL 1.2) | 1.2.12 | https://www.libsdl.org/projects/SDL_mixer/release-1.2.html |
224224
| [`SDL_sound`](SDL_sound/) | SDL\_sound (Abstract soundfile decoder add-on for SDL 1.2) | 1.0.3 | https://www.icculus.org/SDL_sound/ |
225225
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | | https://github.com/NagyD/SDLPoP |

Ports/SDL2_ttf/package.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/usr/bin/env -S bash ../.port_include.sh
2-
port=SDL2_ttf
3-
version=2.0.18
4-
useconfigure=true
5-
use_fresh_config_sub=true
6-
files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251"
7-
auth_type=sha256
2+
port='SDL2_ttf'
3+
version='2.20.1'
4+
useconfigure='true'
5+
files="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57"
6+
auth_type='sha256'
87
depends=("SDL2" "freetype")
98

109
configure() {

Ports/SDL2_ttf/patches/0001-libtool-Enable-shared-library-support-for-SerenityOS.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ static library into a shared library.
1717
1 file changed, 34 insertions(+)
1818

1919
diff --git a/configure b/configure
20-
index 02724d0..fec4760 100755
20+
index 9afa3e1..2ed54b6 100755
2121
--- a/configure
2222
+++ b/configure
23-
@@ -4841,6 +4841,10 @@ tpf*)
23+
@@ -5729,6 +5729,10 @@ tpf*)
2424
os2*)
2525
lt_cv_deplibs_check_method=pass_all
2626
;;
@@ -31,7 +31,7 @@ index 02724d0..fec4760 100755
3131
esac
3232

3333
fi
34-
@@ -7634,6 +7638,10 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
34+
@@ -8402,6 +8406,10 @@ printf %s "checking for $compiler option to produce PIC... " >&6; }
3535
lt_prog_compiler_static='-Bstatic'
3636
;;
3737

@@ -42,7 +42,7 @@ index 02724d0..fec4760 100755
4242
*)
4343
lt_prog_compiler_can_build_shared=no
4444
;;
45-
@@ -8919,6 +8927,10 @@ rm -f core conftest.err conftest.$ac_objext \
45+
@@ -9690,6 +9698,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.beam \
4646
hardcode_shlibpath_var=no
4747
;;
4848

@@ -53,7 +53,7 @@ index 02724d0..fec4760 100755
5353
*)
5454
ld_shlibs=no
5555
;;
56-
@@ -9846,6 +9858,17 @@ uts4*)
56+
@@ -10615,6 +10627,17 @@ uts4*)
5757
shlibpath_var=LD_LIBRARY_PATH
5858
;;
5959

@@ -71,7 +71,7 @@ index 02724d0..fec4760 100755
7171
*)
7272
dynamic_linker=no
7373
;;
74-
@@ -15654,6 +15677,17 @@ uts4*)
74+
@@ -16924,6 +16947,17 @@ uts4*)
7575
shlibpath_var=LD_LIBRARY_PATH
7676
;;
7777

0 commit comments

Comments
 (0)