aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-09-09 01:34:24 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-09-09 01:29:22 +0100
commit5a037566aac9f8857488fa99d3f4af7c6c8eed0d (patch)
treed574608f9b3467e18c9b48c18dc2480629178771 /recipes-opie
parent23db0388bd9d2d3840bac7a07d5cfb11eabf6fba (diff)
downloadmeta-opie-5a037566aac9f8857488fa99d3f4af7c6c8eed0d.tar.gz
meta-opie-5a037566aac9f8857488fa99d3f4af7c6c8eed0d.tar.bz2
meta-opie-5a037566aac9f8857488fa99d3f4af7c6c8eed0d.zip
libdbus-qt2: add new recipe for git version
This is a new D-Bus bindings library for Opie (1.2.6+) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie')
-rw-r--r--recipes-opie/libdbus-qt2/libdbus-qt2.inc23
-rw-r--r--recipes-opie/libdbus-qt2/libdbus-qt2_git.bb5
2 files changed, 28 insertions, 0 deletions
diff --git a/recipes-opie/libdbus-qt2/libdbus-qt2.inc b/recipes-opie/libdbus-qt2/libdbus-qt2.inc
new file mode 100644
index 0000000..9ca4a2b
--- /dev/null
+++ b/recipes-opie/libdbus-qt2/libdbus-qt2.inc
@@ -0,0 +1,23 @@
+DESCRIPTION = "Qt/Embedded 2.x D-Bus bindings"
+SECTION = "opie/libs"
+DEPENDS = "virtual/libqte2 dbus"
+LICENSE = "AFL-2 | GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e87638276ebede5c3fd39c39e09df2db \
+ file://COPYING.AFL;md5=ff3ca8d67fd7be53acb2a88e1e8a99ba \
+ file://COPYING.GPL;md5=5c213a7de3f013310bd272cdb6eb7a24"
+
+S = "${WORKDIR}/${PN}"
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST += "DESTDIR= "
+
+do_configure_prepend() {
+ sed -i 's!.*$(OPIEDIR)/include.pro.*!!' libdbus-qt2.pro
+}
+
+do_install() {
+ oe_libinstall -so libdbus-qt2 ${D}${libdir}
+ install -d ${D}${includedir}/dbus/
+ install -m 0644 dbus/*.h ${D}${includedir}/dbus/
+}
diff --git a/recipes-opie/libdbus-qt2/libdbus-qt2_git.bb b/recipes-opie/libdbus-qt2/libdbus-qt2_git.bb
new file mode 100644
index 0000000..10aa123
--- /dev/null
+++ b/recipes-opie/libdbus-qt2/libdbus-qt2_git.bb
@@ -0,0 +1,5 @@
+SRC_URI = "${OPIE_GIT};protocol=git;subpath=libdbus-qt2"
+PV = "${OPIE_GIT_PV}"
+PR = "r0"
+
+require libdbus-qt2.inc