libmypaint: Add m4 dir to autoconf macro search paths

autotools bblass do not search for the .m4 files in srctree anymore [1]

[1] https://git.yoctoproject.org/poky/commit/?id=a4b1fa2b22794d59fee716afe6e269dae7f87ace

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-03-01 13:20:10 -08:00
parent cd57f730d6
commit fd067de110
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -16,11 +16,14 @@ SRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypa
file://0001-make-build-compatible-w.-autoconf-2.7.patch \ file://0001-make-build-compatible-w.-autoconf-2.7.patch \
" "
SRCREV = "2768251dacce3939136c839aeca413f4aa4241d0" SRCREV = "2768251dacce3939136c839aeca413f4aa4241d0"
PV = "1.6.1" PV = "1.6.1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
EXTRA_AUTORECONF += "-I m4"
do_configure:append() { do_configure:append() {
# autogen uses python2 so generate headers ourselves # autogen uses python2 so generate headers ourselves
cd ${S} (cd ${S} && python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h)
python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
} }