-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.zig.zon
More file actions
46 lines (46 loc) · 1.88 KB
/
Copy pathbuild.zig.zon
File metadata and controls
46 lines (46 loc) · 1.88 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
37
38
39
40
41
42
43
44
45
46
.{
.name = .tile57,
.version = "0.3.0",
// Together with name, this represents a globally unique package
// identifier. Generated by the Zig toolchain when the package was first
// created, and then *never changes*.
.fingerprint = 0x9033dd8108de0b48, // Changing this has security and trust implications.
.minimum_zig_version = "0.16.0",
.dependencies = .{
// The IHO S-101 Portrayal Catalogue, pinned to the SAME commit as the
// vendor/S-101_Portrayal-Catalogue git submodule. Lazy: only fetched
// when the submodule isn't initialized (i.e. when tile57 itself was
// fetched as a zig package — zig's fetcher doesn't do git submodules).
// Bumping the submodule means bumping this url + hash too.
.s101_portrayal = .{
.url = "https://github.com/iho-ohi/S-101_Portrayal-Catalogue/archive/62f7773a5641fb22ad88e5508a58d668ad2a7b98.tar.gz",
.hash = "N-V-__8AAJSTIgAc0-UiqHpiCVuhG76L46b8rGvny0aPFvtf",
.lazy = true,
},
},
// What ships when tile57 is consumed as a zig package (e.g. lookout-core
// fetches it to build libtile57.a from source). vendor/ is listed subdir by
// subdir so the git submodules (the portrayal catalogue + S-101 docs) stay
// out of the package — the catalogue arrives via the dependency above.
.paths = .{
"build.zig",
"build.zig.zon",
"src",
"include",
// The reference shaders. Not compiled here — GPU hosts consume them via
// dep.path("shaders/..."), so they must ride in the package.
"shaders",
"tools",
"scripts",
"bindings",
"vendor/fonts",
"vendor/libtess2",
"vendor/lua",
"vendor/nanosvg",
"vendor/s101",
"vendor/sqlite",
"vendor/stb",
"LICENSE",
"THIRD_PARTY_LICENSES.md",
},
}