You are not logged in.

#1 2021-02-03 17:40:19

bartus
Member
Registered: 2013-05-13
Posts: 48

[Solved] Meson sub-project packaging.

By default `arch-meson` has `wrap-mode` set to `nodownload`
As a meson noob, I wonder how if at all one can include `meson subproject` in `PKGBUILD:source array` ...
Or should I just mask `--wrap-mode` flag in `arch-meson` for my PKGBUILD's ?

Last edited by bartus (2021-02-16 09:54:18)

Offline

#2 2021-02-03 19:26:09

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [Solved] Meson sub-project packaging.

Ideally you should be using system dependencies.

You can also list the url in source=() and ln -s the makepkg-extracted source directory into the meson project's subprojects/ directory where it will be picked up.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2021-02-03 19:38:13

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: [Solved] Meson sub-project packaging.

You can include everything in the source array and then create symlinks in the subproject directory.
Edit As eschwartz said, packaging everything separately is better if possible.

Last edited by progandy (2021-02-03 19:41:36)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2021-02-16 09:53:56

bartus
Member
Registered: 2013-05-13
Posts: 48

Re: [Solved] Meson sub-project packaging.

Thanks, that satisfy my question.

Offline

Board footer

Powered by FluxBB