Skip to contentSkip to conversation

gattlib: remove includedir from base package

PATCH New Steve Sakoman 1 participant 2 messages Oct 13, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/2 gattlib: remove includedir from base package

From: Konrad Weihmann <[email protected]>

as it's already packaged to ${PN}-dev, so the setting was without any effect anyway

(cherry picked from commit 1d26b2656b87a95b72d674954283ac014da8793b)
---
 meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/gattlib/gattlib_git.bb +1 -1
index 6b4decce5..d79dbed87 100644
@@ -28,5 +28,5 @@ EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF"
 
 inherit pkgconfig cmake
 
-FILES_${PN} = "${libdir}/* ${includedir}/*"
+FILES_${PN} = "${libdir}/*"
 FILES_${PN}-dev = "${includedir}/*"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 gattlib: Place pkgconfig file in correct package

In reply to a message not in the archive

From: Richard Purdie <[email protected]>

Fixes in OE-Core added some pkgconfig dependencies back and this flagged that the .pc file was in ${PN}, not ${PN}-dev. Fix that.

(cherry picked from commit e9b3476ad9964210d5cdbce4d11b31b50738a4b6)
---
 meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/gattlib/gattlib_git.bb +1 -1
index d79dbed87..f2da88aa2 100644
@@ -29,4 +29,4 @@ EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF"
 inherit pkgconfig cmake
 
 FILES_${PN} = "${libdir}/*"
-FILES_${PN}-dev = "${includedir}/*"
+FILES_${PN}-dev = "${includedir}/* ${libdir}/pkgconfig"
Signature · 1 line
2.25.1