Repository navigation
Conversation
81a150a to
1c0fe89
Compare
1c0fe89 to
e50262e
Compare
|
Can you share the cross build issue? |
45a972c to
b72de98
Compare
|
Enabled cross build, please have a look at the logs. |
Duncaen
left a comment
There was a problem hiding this comment.
Pretty sure this just needs GOARCH, there is currently no go build helper so you'd have to copy this case statement into the template, there are a few packages that do that too:
void-packages/common/environment/build-style/go.sh
Lines 20 to 33 in 747a789
The conditional host and make depends you added look wrong. The GI pre_build should probably be restored too.
|
Thanks, I'll take a look. The conditional dependencies are the only way I could make cross compile (almost) work, but I'm pretty sure |
b72de98 to
335fdf0
Compare
| build_style=meson | ||
| hostmakedepends="pkg-config nodejs blueprint-compiler glib-devel gjs-devel desktop-file-utils" | ||
| makedepends="gjs-devel gtk4 libadwaita" | ||
| hostmakedepends="nodejs pkg-config cmake glib-devel gjs-devel blueprint-compiler go gtk4-devel libadwaita-devel" |
There was a problem hiding this comment.
gjs-devel, gtk4-devel and libadwaita-devel should be only in makedepends.
Why does this need cmake now?
There was a problem hiding this comment.
Cross build still fails if gjs-devel, gtk4-devel and libadwaita-devel are not in hostmakedepends.
E.g. ERROR: Program '/usr/bin/gjs-console' not found or not executable etc.
cmake can be removed.
335fdf0 to
11968d3
Compare
Testing the changes
Local build testing