Patchwork [meta-opie,5/6] libopie2: make libopie2-dev package installable

login
register
mail settings
Submitter lumag
Date Dec. 13, 2011, 4:44 p.m.
Message ID <1323794683-24233-6-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/16845/
State Accepted
Headers show

Comments

lumag - Dec. 13, 2011, 4:44 p.m.
For now libopie2-dev package depends on libopie2 package which doesn't
exist: libraries are split into the individual packages. Fix that by
making libopie2-dev depend on all generated library packages.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 recipes-opie/libopie/libopie2.inc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-opie/libopie/libopie2.inc b/recipes-opie/libopie/libopie2.inc
index fbe2fd6..af4385f 100644
--- a/recipes-opie/libopie/libopie2.inc
+++ b/recipes-opie/libopie/libopie2.inc
@@ -8,7 +8,7 @@  I18N_FILES = "libopiecore2.ts libopiesecurity2.ts"
 DEPENDS = "libqpe-opie libpcap sqlite3 bluez4"
 PROVIDES = "libopiecore2 libopiedb2 libopiemm2 libopiesecurity2 libopienet2 libopiepim2 libopieui2"
 
-INC_PR = "r16"
+INC_PR = "r17"
 
 S = "${WORKDIR}/libopie2"
 
@@ -98,7 +98,9 @@  do_install() {
 
 FILES_${PN}-dev += "${palmtopdir}/include.pro"
 
-PACKAGES_prepend = " libopiecore2 libopiedb2 libopiesecurity2 libopiemm2 libopienet2 libopiepim2 libopieui2 libopiebluez2 "
+OPIE_LIBS = " libopiecore2 libopiedb2 libopiesecurity2 libopiemm2 libopienet2 libopiepim2 libopieui2 libopiebluez2 "
+PACKAGES_prepend = "${OPIE_LIBS}"
+RDEPENDS_${PN}-dev = "${OPIE_LIBS}"
 
 DESCRIPTION_libopiecore2 = "Opie Development Platform 1.x Core Library"
 FILES_libopiecore2 = "${libdir}/libopiecore2.so.*"