summaryrefslogtreecommitdiff
path: root/recipes/gnome/libxklavier_4.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gnome/libxklavier_4.0.bb')
-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
+}
+