Skip to content

Commit cebe7ef

Browse files
[Tesseract] build for experimental platforms (#3080)
* [Tesseract] build for experimental platforms * fix version * more elegant hack * [Tesseract] Specify compats for Cairo and Pango * [Tesseract] Fix compat for libtiff_jll Co-authored-by: Mosè Giordano <[email protected]>
1 parent 65218f2 commit cebe7ef

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

T/Tesseract/build_tarballs.jl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ sources = [
1212
DirectorySource("./bundled")
1313
]
1414

15+
version = v"4.1.100" # <--- This version number is a lie, we just need to bump it to build for experimental platforms
16+
1517
# Bash recipe for building across all platforms
1618
script = raw"""
1719
cd $WORKSPACE/srcdir/tesseract-*/
@@ -28,7 +30,7 @@ make install
2830

2931
# These are the platforms we will build for by default, unless further
3032
# platforms are passed in on the command line
31-
platforms = expand_cxxstring_abis(supported_platforms())
33+
platforms = expand_cxxstring_abis(supported_platforms(; experimental=true))
3234

3335
# The products that we will ensure are always built
3436
products = [
@@ -41,15 +43,15 @@ dependencies = [
4143
Dependency("Giflib_jll"),
4244
Dependency("JpegTurbo_jll"),
4345
Dependency("libpng_jll"),
44-
Dependency("Libtiff_jll"),
46+
Dependency("Libtiff_jll"; compat="4.3.0"),
4547
Dependency("Zlib_jll"),
4648
Dependency("Leptonica_jll"),
4749
Dependency("CompilerSupportLibraries_jll"),
4850
# Optional dependencies
4951
# Dependency("ICU_jll"),
50-
Dependency("Cairo_jll"),
51-
Dependency("Pango_jll"),
52+
Dependency("Cairo_jll"; compat="1.16.1"),
53+
Dependency("Pango_jll"; compat="1.47.0"),
5254
]
5355

5456
# Build the tarballs, and possibly a `build.jl` as well.
55-
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies)
57+
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies; julia_compat="1.6")

0 commit comments

Comments
 (0)