summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2009-08-12 12:38:24 -0700
committerKoen Kooi <koen@openembedded.org>2009-08-12 23:09:57 +0200
commitda080f1414e47464884974c6ccde98ebf0e09e0f (patch)
tree6933e582cc2f670d72c89197631f1ea5c7df597b
parent3cf083349c96eea98bf91a0cf9e362ed5b342aa3 (diff)
libxklavier: add 4.0
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/gnome/libxklavier_4.0.bb26
2 files changed, 30 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 2160b5aed3..4621ca733d 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -15362,6 +15362,10 @@ sha256=a69d690af93646be28228553c05b71d9830e3bf2ea301f6ed369a2c1cddf2ddf
md5=ee167645becd11309d64c6ff3a1600ff
sha256=477b72ba4968e9a49c78e08a5335df7f71f71d787222224345f33f0b888f801b
+[http://ftp.gnome.org/pub/GNOME/sources/libxklavier/4.0/libxklavier-4.0.tar.bz2]
+md5=1b714ba04835fb49511f9e1444a5ea4c
+sha256=210ed5803109a8cef3b2ab1195bc73fe3385a97a8749d01673e020642d8e5a71
+
[http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.14/libxml++-2.14.0.tar.bz2]
md5=4f5644788dfd6ba87ce7c9b6cc28890d
sha256=dcb0cc5d1871e91859071a0bfa9de1a66703f0482ef5fc745300aa1a2df04cbf
diff --git a/recipes/gnome/libxklavier_4.0.bb b/recipes/gnome/libxklavier_4.0.bb
new file mode 100644
index 0000000000..fb74980560
--- /dev/null
+++ b/recipes/gnome/libxklavier_4.0.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Helper lib for keyboard management"
+LICENSE = "LGPL"
+
+PR = "r2"
+
+DEPENDS = "xkbcomp gtk+ iso-codes "
+
+inherit gnome
+
+EXTRA_OECONF = "--with-xkb-bin-base=/usr/bin"
+
+do_configure_append() {
+ find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
+ find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g
+}
+
+do_compile_append() {
+ sed -i -e s:${STAGING_DIR_TARGET}::g \
+ -e s:/${TARGET_SYS}::g \
+ libxklavier.pc
+}
+
+do_stage() {
+ autotools_stage_all
+}
+