diff --git a/S/SDL2_ttf/build_tarballs.jl b/S/SDL2_ttf/build_tarballs.jl index c4e8a2c1908..4e89d4960be 100644 --- a/S/SDL2_ttf/build_tarballs.jl +++ b/S/SDL2_ttf/build_tarballs.jl @@ -12,6 +12,8 @@ sources = [ DirectorySource("./bundled"), ] +version = v"2.0.16" # <-- this version number is a lie to build for Julia v1.6 + # Bash recipe for building across all platforms script = raw""" cd $WORKSPACE/srcdir/SDL2_ttf-*/ @@ -42,7 +44,7 @@ fi # These are the platforms we will build for by default, unless further # platforms are passed in on the command line -platforms = supported_platforms() +platforms = supported_platforms(; experimental=true) # The products that we will ensure are always built products = [ @@ -51,19 +53,19 @@ products = [ # Dependencies that must be installed before this package can be built dependencies = [ - Dependency("Bzip2_jll"; compat="1.0.7"), - Dependency("SDL2_jll"), + Dependency("Bzip2_jll"; compat="1.0.8"), Dependency("FreeType2_jll"), + Dependency("Glib_jll"; compat="2.68.1"), + Dependency("Graphite2_jll"), + # # TODO: Next time you build a new version of this package, make sure + # # HarfBuzz is actually needed, it doesn't look like it's the case. + # Dependency("HarfBuzz_jll"; compat="2.8.1"), # The following libraries aren't needed for the build, but libSDL2_ttf is # dynamically linked to them regardless. Dependency("libpng_jll"), - # TODO: Next time you build a new version of this package, make sure - # HarfBuzz is actually needed, it doesn't look like it's the case. - Dependency("HarfBuzz_jll"), - Dependency("Graphite2_jll"), - Dependency("Glib_jll", v"2.59.0"; compat="2.59.0"), Dependency("PCRE_jll"), + Dependency("SDL2_jll"), ] # Build the tarballs, and possibly a `build.jl` as well. -build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies) +build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6")