On Fri, 21 Jan 2022 at 00:41, Markus Volk <[email protected]> wrote:
> +EXTRA_OECMAKE += "-DGOBJECT_INTROSPECTION=ON"
>
This needs to be conditionally enabled similar to webkitgtk recipe:
${@bb.utils.contains('GI_DATA_ENABLED', 'True',
'-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
+do_configure:append () {
> + # fix abs path for g-ir-scanner-wrapper
> + sed -i ${B}/build.ninja \
> + -e 's: ${bindir}/g-ir-scanner-wrapper:
> ${STAGING_BINDIR}/g-ir-scanner-wrapper:g'
> +
> + # fix abs path for g-ir-compiler-wrapper
> + sed -i ${B}/build.ninja \
> + -e 's: ${bindir}/g-ir-compiler-wrapper:
> ${STAGING_BINDIR}/g-ir-compiler-wrapper:g'
> +
> + # fix abs path for vapigen
> + sed -i ${B}/build.ninja \
> + -e 's: ${STAGING_BINDIR}/vapigen:
> ${STAGING_BINDIR_NATIVE}/vapigen:g'
> +}
>
This needs to be done with a patch and not by patching generated files with
sed after the fact; the binary names should be provided from calling
pkg-config.
Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160806):
https://lists.openembedded.org/g/openembedded-core/message/160806
Mute This Topic: https://lists.openembedded.org/mt/88572597/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-