-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathbuild.zig.zon
More file actions
36 lines (36 loc) · 1.73 KB
/
Copy pathbuild.zig.zon
File metadata and controls
36 lines (36 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.{
.name = .canvas,
.fingerprint = 0xa59f6c18a5521654,
.version = "0.0.0",
.paths = .{""},
.minimum_zig_version = "0.16.0",
// Sub-packages only specify dependencies for upstream C/C++ code.
// Everything else goes here so it's easier to share dependencies and ensure
// we don't build duplicate versions. Generally build.zig[.zon] files should
// be vendored so we can simplify them and have control over upgrades and
// things like -fPIC. Exceptions should (and are) justified below
.dependencies = .{
// Simple and general enough to use the canonical URL
.node_api = .{
.url = "https://github.com/chearon/node-api-zig/archive/37d992b2ff53608e301ce2d5bd76ec31a1a247d9.tar.gz",
.hash = "node_api-0.0.0-D68afJgfAABNKwoA-8I7d4v9fJUwM89W-yOHKMSNU7Em",
},
// Too complicated to maintain here (large build.zig)
.libjpeg_turbo = .{
.url = "https://github.com/chearon/libjpeg-turbo/archive/1222499df19186b61915ef6bf1b3bda15003584b.tar.gz",
.hash = "libjpeg_turbo-3.1.1-1-iiYWsnWCSQBHXuzUprRraTbBN-HJfN2dOX6BuZk6iKUi",
},
// Zig dependencies don't need as much tweaking
.zg = .{
.url = "https://codeberg.org/atman/zg/archive/ce364b17d60b28fda1af24c6575b93c47afe043e.tar.gz",
.hash = "zg-0.16.2-oGqU3HqftgI6rwFS90ypwfjgToH8Pz829OKuFURlm773",
},
.giflib = .{ .path = "./pkg/giflib" },
.libpng = .{ .path = "./pkg/libpng" },
.cairo = .{ .path = "./pkg/cairo" },
.sheenbidi = .{ .path = "./pkg/sheenbidi" },
.harfbuzz = .{ .path = "./pkg/harfbuzz" },
.freetype = .{ .path = "./pkg/freetype" },
.lunasvg = .{ .path = "./pkg/lunasvg" }
},
}