Not sure that it is the correct solution, but I sent a v2. Is it better to override --install-data directory in this instance rather than touching up the locations in the do_install_append?
On Mon, Mar 5, 2018 at 7:59 AM, Derek Straka <[email protected]> wrote: > Probably. I didn't even notice that it wasn't. v2 coming once I verify. > > On Mon, Mar 5, 2018 at 7:56 AM, Burton, Ross <[email protected]> > wrote: > >> Shouldn't the .h and .pc be in PN-dev? >> >> On 5 March 2018 at 12:52, Derek Straka <[email protected]> wrote: >> >>> Update to the latest stable release >>> Add the .pc file to the list of FILES >>> >>> Tested in qemux86-64 running core-image-minimal >>> >>> Signed-off-by: Derek Straka <[email protected]> >>> --- >>> .../{python3-pycairo_1.15.6.bb => python3-pycairo_1.16.3.bb} | 9 >>> ++++++--- >>> 1 file changed, 6 insertions(+), 3 deletions(-) >>> rename meta/recipes-devtools/python/{python3-pycairo_1.15.6.bb => >>> python3-pycairo_1.16.3.bb} (78%) >>> >>> diff --git a/meta/recipes-devtools/python/python3-pycairo_1.15.6.bb >>> b/meta/recipes-devtools/python/python3-pycairo_1.16.3.bb >>> similarity index 78% >>> rename from meta/recipes-devtools/python/python3-pycairo_1.15.6.bb >>> rename to meta/recipes-devtools/python/python3-pycairo_1.16.3.bb >>> index 5c3e1e6..b648852 100644 >>> --- a/meta/recipes-devtools/python/python3-pycairo_1.15.6.bb >>> +++ b/meta/recipes-devtools/python/python3-pycairo_1.16.3.bb >>> @@ -13,8 +13,8 @@ DEPENDS = "cairo" >>> SRC_URI = "https://github.com/pygobject/pycairo/releases/download/v${P >>> V}/pycairo-${PV}.tar.gz" >>> UPSTREAM_CHECK_URI = "https://github.com/pygobject/pycairo/releases/" >>> >>> -SRC_URI[md5sum] = "3ff210c34e7b052590e15fd0fb147766" >>> -SRC_URI[sha256sum] = "ad150ea637860836b66705e0513b8 >>> e59494538f0b80497ad3462051368755016" >>> +SRC_URI[md5sum] = "d2a115037ccd128219f43d5ed3df7926" >>> +SRC_URI[sha256sum] = "5bb321e5d4f8b3a51f56fc6a35c14 >>> 3f1b72ce0d748b43d8b623596e8215f01f7" >>> >>> S = "${WORKDIR}/pycairo-${PV}" >>> >>> @@ -28,4 +28,7 @@ do_install_append() { >>> install -d ${D}${includedir}/pycairo/ >>> install -m 0644 ${D}${datadir}/include/pycairo/py3cairo.h >>> ${D}${includedir}/pycairo/ >>> } >>> -FILES_${PN} += "${datadir}/include/pycairo/py3cairo.h" >>> +FILES_${PN} += " \ >>> + ${datadir}/include/pycairo/py3cairo.h \ >>> + ${datadir}/lib/pkgconfig/py3cairo.pc \ >>> +" >>> -- >>> 2.7.4 >>> >>> -- >>> _______________________________________________ >>> Openembedded-core mailing list >>> [email protected] >>> http://lists.openembedded.org/mailman/listinfo/openembedded-core >>> >> >> >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
