[oe-commits] Martin Jansa : efl.bbclass: improve packaging a bit

git version control git at git.openembedded.org
Wed Oct 27 21:16:51 UTC 2010


Module: openembedded.git
Branch: master
Commit: 2e2ec545f067882638acc71950808e98c37df323
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2e2ec545f067882638acc71950808e98c37df323

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Wed Oct 27 11:16:13 2010 +0200

efl.bbclass: improve packaging a bit

* include dbus service config if available
* include plugins from //plugins/ (ie from ethumb)
* include edje modules (ie from emotion)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 classes/efl.bbclass        |   14 +++++++++++---
 recipes/efl1/ethumb_svn.bb |    2 --
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index 1433457..f148e9c 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -29,10 +29,16 @@ do_install_prepend () {
 # This construction is stupid, someone with more E knowledge should change it to =+ or something
 PACKAGES = "${PN}-dbg ${PN} ${PN}-themes ${PN}-dev ${PN}-doc ${PN}-tests ${PN}-static"
 
-FILES_${PN} = "${libdir}/*.so.*"
+FILES_${PN} = "${libdir}/*.so.* \
+               ${libdir}/edje/modules/${PN}/*/module.so \
+               ${libdir}/${PN}/plugins/*.so \
+               ${datadir}/dbus-1/services/* \
+"
+
 
 FILES_${PN}-themes = "${datadir}/${PN}/themes \
                       ${datadir}/${PN}/data \
+                      ${libdir}/${PN}/plugins/data/*.edj \
                       ${datadir}/${PN}/fonts \
                       ${datadir}/${PN}/pointers \
                       ${datadir}/${PN}/images \
@@ -47,6 +53,7 @@ FILES_${PN}-dev   += "${bindir}/${PN}-config \
                       ${libdir}/${PN}/*.la \
                       ${libdir}/${PN}/*/*.la \
                       ${datadir}/${PN}/edje_externals \
+                      ${libdir}/edje/modules/${PN}/*/module.la \
 "
 
 FILES_${PN}-static += "${libdir}/${PN}/*.a \
@@ -54,9 +61,10 @@ FILES_${PN}-static += "${libdir}/${PN}/*.a \
 "
 
 FILES_${PN}-dbg +=   "${libdir}/${PN}/.debug \
-                      ${libdir}/${PN}/*/.debug"
+                      ${libdir}/${PN}/*/.debug \
+                      ${libdir}/edje/modules/${PN}/*/.debug/module.so \
+"
 
 FILES_${PN}-tests  = "${bindir}/${PN} \
                       ${bindir}/*_* \
                       ${datadir}"
-
diff --git a/recipes/efl1/ethumb_svn.bb b/recipes/efl1/ethumb_svn.bb
index f958bd4..9d3e65b 100644
--- a/recipes/efl1/ethumb_svn.bb
+++ b/recipes/efl1/ethumb_svn.bb
@@ -20,6 +20,4 @@ AUTO_LIBNAME_PKGS = ""
 FILES_${PN} += "\
     ${bindir}/ethumbd \
     ${libexecdir}/ethumbd_slave \
-    ${libdir}/plugins/*.so \
-    ${libdir}/plugins/data/*.edj \
 "





More information about the Openembedded-commits mailing list