Skip to content

Commit

Permalink
[LibGD] v2.3.3 (#7444)
Browse files Browse the repository at this point in the history
* [LibGD] v2.3.3

* try turning off xpm?

* Update build_tarballs.jl

* Update build_tarballs.jl

* Update build_tarballs.jl

* go back to autoconf from cmake
  • Loading branch information
jeremiahpslewis authored Oct 1, 2023
1 parent 6abb6d5 commit a4459a6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions L/LibGD/build_tarballs.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
using BinaryBuilder, Pkg

name = "LibGD"
version = v"2.3.0"
version = v"2.3.3"

# Collection of sources required to complete build
sources = [
ArchiveSource("https://github.com/libgd/libgd/releases/download/gd-$(version)/libgd-$(version).tar.gz",
"32590e361a1ea6c93915d2448ab0041792c11bae7b18ee812514fe08b2c6a342")
GitSource("https://github.com/libgd/libgd.git",
"b5319a41286107b53daa0e08e402aa1819764bdc")
]

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/libgd-*/
./configure --prefix=${prefix} --build=${MACHTYPE} --host=${target}
cd $WORKSPACE/srcdir/libgd
./bootstrap.sh
./configure --prefix=${prefix} --build=${MACHTYPE} --host=${target} --with-png --with-jpeg --with-tiff --with-webp --with-zlib
# For some reasons (something must be off in the configure script), on some
# platforms the build system tries to use iconv but without adding the `-liconv`
# flag. Give a hint to make to use the right flag everywhere
Expand Down Expand Up @@ -45,12 +48,11 @@ dependencies = [
Dependency(PackageSpec(name="Zlib_jll", uuid="83775a58-1f1d-513f-b197-d71354ab007a")),
Dependency(PackageSpec(name="libpng_jll", uuid="b53b4c65-9356-5827-b1ea-8c7a1a84506f")),
# TODO: v4.3.0 is available, use that next time
Dependency("Libtiff_jll"; compat="4.1.0"),
Dependency("Libtiff_jll"; compat="~4.5.1"),
BuildDependency(PackageSpec(name="Xorg_xorgproto_jll", uuid = "c4d99508-4286-5418-9131-c86396af500b")),
Dependency(PackageSpec(name="Xorg_libXpm_jll", uuid = "1a3ddb2d-74e3-57f3-a27b-e9b16291b4f2")),
Dependency(PackageSpec(name="Libiconv_jll", uuid = "94ce4f54-9a6c-5748-9c1c-f9c7231a4531")),
Dependency(PackageSpec(name="libwebp_jll", uuid = "c5f90fcd-3b7e-5836-afba-fc50a0988cb2")),
Dependency("libwebp_jll"; compat="1.2.4"),
]

# 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")

0 comments on commit a4459a6

Please sign in to comment.