mm-common: package the files from ${PN} in ${PN}-dev and use allarch

* based on this bbappend from 2012:
  f474511243
  time to finally get rid of it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa 2022-05-23 11:44:14 +02:00 committed by Khem Raj
parent 5216a2eef4
commit 70778df3d9

View File

@ -6,7 +6,23 @@ GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase
# All the recipe does is stage python and shell script, some autotools files; nothing is compiled.
inherit allarch
SRC_URI[archive.sha256sum] = "e954c09b4309a7ef93e13b69260acdc5738c907477eb381b78bb1e414ee6dbd8"
SRC_URI += "file://0001-meson.build-do-not-ask-for-python-installation-versi.patch"
BBCLASSEXTEND = "native"
# These files aren't very usefull on target image, package them all in nnPN-dev
FILES:${PN} = ""
FILES:${PN}-dev += " \
${datadir}/${BPN}/build \
${datadir}/${BPN}/doctags \
${datadir}/${BPN}/doctool \
${bindir}/mm-common-get \
${bindir}/mm-common-prepare \
"
# ${PN} package is empty, remove the default dependency on it
RDEPENDS:${PN}-dev = ""