summaryrefslogtreecommitdiff
path: root/recipes/gnome/libxklavier_5.0.bb
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2010-04-03 18:50:45 +0200
committerKlaus Kurzmann <mok@fluxnetz.de>2010-04-03 18:50:45 +0200
commit82b51b6abd7b43ae6fa1c7d01b780d0c99d22804 (patch)
treeb1455904c992c92a18dc5f48253d0f37c4ff7590 /recipes/gnome/libxklavier_5.0.bb
parent5eef2a8892b12b3215f52065c2c177f576c41959 (diff)
parentd2bd4a770d2a5b3fd56bd3a8584935240d9012f8 (diff)
Merge branch 'org.openembedded.dev' of git+ssh://git.openembedded.net/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/gnome/libxklavier_5.0.bb')
-rw-r--r--recipes/gnome/libxklavier_5.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/gnome/libxklavier_5.0.bb b/recipes/gnome/libxklavier_5.0.bb
new file mode 100644
index 0000000000..9c70d6f5f9
--- /dev/null
+++ b/recipes/gnome/libxklavier_5.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Helper lib for keyboard management"
+LICENSE = "LGPL"
+
+DEPENDS = "xkbcomp gtk+ iso-codes "
+
+inherit gnome
+
+SRC_URI[archive.md5sum] = "134c7ea177ff901123b909de77394780"
+SRC_URI[archive.sha256sum] = "dfd94b17a752b2839281764f0a16af2b338024c8867c10fba7015f276dec4db0"
+
+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
+}
+
+