Open ssumpf opened 3 weeks ago
85d5686 is a first step to support Meson:
hello_meson
testhello_meson
to test.expect@ssumpf That's a valuable addition to Goa. Please have a look at my (few) inline comments.
@jschlatow: c89db8a adds a pkg-config.tcl helper script and outputs the _usedapi status during the
setup
phase.
@jschlatow: I forgot to adjust a comment. Have a look at c859273 instead please.
@ssumpf Thanks! I was also thinking about the issue with matching the required library names with the api names. Since there are api archives that produce multiple libraries (e.g. mesa, openssl), I was thinking about looking for lib.so files in var/abi/ instead of parsing the used_apis file. What's your opinion?
No matter what we do, we will only have a heuristic pkg-config emulation. I therefore like your idea about logging the pkg-config requests and printing the status.
@ssumpf Thanks! I was also thinking about the issue with matching the required library names with the api names. Since there are api archives that produce multiple libraries (e.g. mesa, openssl), I was thinking about looking for lib.so files in var/abi/ instead of parsing the used_apis file. What's your opinion?
@jschlatow: Sounds more correct, so I will change that.
No matter what we do, we will only have a heuristic pkg-config emulation. I therefore like your idea about logging the pkg-config requests and printing the status.
@jschlatow: True
@jschlatow: 17db994 searches for modules in var/abi.
@jschlatow: adc537d features the lsearch
approach while I opted for an exact pattern.
Thanks. I merged your changes as 4b583dc and 2fd5e9b to staging.
Some projects we ported or want to port have migrated to the Meson build system (e.g., Mesa, Qemu, media driver, scrcpy). Therefore, it makes sense to enable Meson support in Goa.