summaryrefslogtreecommitdiff
path: root/recipes/gnome
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 /recipes/gnome
parent3cf083349c96eea98bf91a0cf9e362ed5b342aa3 (diff)
libxklavier: add 4.0
Diffstat (limited to 'recipes/gnome')
-rw-r--r--recipes/gnome/libxklavier_4.0.bb26
1 files changed, 26 insertions, 0 deletions
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
+}
+