File tree 3 files changed +33
-2
lines changed
3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ modules:
39
39
- name : ghostty
40
40
buildsystem : simple
41
41
build-options :
42
- append-path : /usr/lib/sdk/ziglang
42
+ # XXX: Use manually installed zig until flathub update theirs
43
+ #
44
+ # append-path: /usr/lib/sdk/ziglang
45
+ append-path : /app/lib/sdk/ziglang
46
+
43
47
build-commands :
44
48
- zig build
45
49
-Doptimize=Debug
@@ -50,6 +54,9 @@ modules:
50
54
--prefix /app
51
55
--search-prefix /app
52
56
--system $PWD/vendor/p
57
+
58
+ # XXX: Workaround for https://github.com/jcollie/ghostty-gobject/issues/3
59
+ - chmod -R u+w vendor/p/gobject-*
53
60
sources :
54
61
- type : dir
55
62
path : ..
Original file line number Diff line number Diff line change @@ -34,7 +34,10 @@ modules:
34
34
- name : ghostty
35
35
buildsystem : simple
36
36
build-options :
37
- append-path : /usr/lib/sdk/ziglang
37
+ # XXX: Use manually installed zig until flathub update theirs
38
+ #
39
+ # append-path: /usr/lib/sdk/ziglang
40
+ append-path : /app/lib/sdk/ziglang
38
41
build-commands :
39
42
- zig build
40
43
-Doptimize=ReleaseFast
Original file line number Diff line number Diff line change @@ -3,6 +3,27 @@ buildsystem: simple
3
3
build-commands :
4
4
- true
5
5
modules :
6
+ # XXX: Temporary until https://github.com/flathub/org.freedesktop.Sdk.Extension.ziglang/issues/31 is resolved
7
+ - name : zig
8
+ buildsystem : simple
9
+ cleanup :
10
+ - ' *'
11
+ build-commands :
12
+ - mkdir -p /app/lib/sdk
13
+ - cp -r . /app/lib/sdk/ziglang
14
+ sources :
15
+ - type : archive
16
+ url : https://ziglang.org/download/0.14.0/zig-linux-x86_64-0.14.0.tar.xz
17
+ sha256 : 473ec26806133cf4d1918caf1a410f8403a13d979726a9045b421b685031a982
18
+ only-arches :
19
+ - x86_64
20
+
21
+ - type : archive
22
+ url : https://ziglang.org/download/0.14.0/zig-linux-aarch64-0.14.0.tar.xz
23
+ sha256 : ab64e3ea277f6fc5f3d723dcd95d9ce1ab282c8ed0f431b4de880d30df891e4f
24
+ only-arches :
25
+ - aarch64
26
+
6
27
- name : bzip2-redirect
7
28
buildsystem : simple
8
29
build-commands :
You can’t perform that action at this time.
0 commit comments