[oe] [meta-oe PATCH v2 6/6] geos: Fix -dev installation and upgrade path

Otavio Salvador otavio at ossystems.com.br
Tue Dec 17 00:31:01 UTC 2013


Using 'lib_package' renames the binaries and we need a transitional
package to be used as upgrade path. This is done using an empty 'geos'
package which installs the new ones as runtime dependency.

This same package is used to satisfy -dev dependency of geos package
allowing for its inclusion into SDK.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
Changes in v2:
- new patch

 meta-oe/recipes-navigation/geos/geos.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-navigation/geos/geos.inc b/meta-oe/recipes-navigation/geos/geos.inc
index 5fae12e..2e308b4 100644
--- a/meta-oe/recipes-navigation/geos/geos.inc
+++ b/meta-oe/recipes-navigation/geos/geos.inc
@@ -16,3 +16,6 @@ FILES_${PN}lib += "${libdir}/libgeos-${PV}.so"
 
 DESCRIPTION_${PN}-c1 = "Geometry engine for Geographic Information Systems - C Library"
 FILES_${PN}-c1 += "${libdir}/libgeos_c.so.*"
+
+ALLOW_EMPTY_${PN} = "1"
+RDEPENDS_${PN} += "geoslib ${PN}-c1"
-- 
1.8.4.3




More information about the Openembedded-devel mailing list