summaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon6
1 files changed, 5 insertions, 1 deletions
diff --git a/build.zig.zon b/build.zig.zon
index c79bd483..23efe9d0 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -171,16 +171,20 @@
.url = "git+https://github.com/mnemnion/mvzr#3efcfe339bd32e122c36b8f1db25b237f93a7ec2",
.hash = "mvzr-0.3.9-ZSOky6t2AQCA7efmm5EYbPb5sOdbXa4EFsUgYbQ6hZv9",
},
+ // MuPDF for the pdf addon (mupdf.zig). Lazy: -Dpdf fetches it, once.
.mupdf = .{
.url = "https://mupdf.com/downloads/archive/mupdf-1.27.0-source.tar.gz",
.hash = "N-V-__8AAAa9gQo4C4cIEpZfRqQLBv-ZnRIB4NQqsMOy8bNx",
.lazy = true,
},
// FreeType's native/light hinter and grayscale rasterizer for the SDL
- // glyph atlas. Added with `zig fetch --save=freetype` and pinned.
+ // glyph atlas, and the one MuPDF is built against. Added with `zig
+ // fetch --save=freetype` and pinned. Lazy: a window or the pdf addon
+ // fetches it (and the zlib and libpng it brings).
.freetype = .{
.url = "git+https://github.com/allyourcodebase/freetype#884fd2235e6ae1ec4306eda30b3259f20930ed2e",
.hash = "freetype-2.14.3-C3-WdXSKAAB-kHs4qgRoeoFnRkNQn6M_SSlUGZ6ywgBQ",
+ .lazy = true,
},
// HarfBuzz shapes the SDL shell's text runs, which is what turns `->`
// into a font's arrow ligature. The upstream source release (the same