From 9f2c190edefe923afe664e5fc86de5f9ed9486c6 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 8 Jun 2011 17:53:10 +0200 Subject: libxklavier 5.0: import from OE rev d4f0211e2078d5033ae0dee74664de5520d8392d Signed-off-by: Koen Kooi --- .../recipes-gnome/libxklavier/libxklavier_5.0.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-gnome/recipes-gnome/libxklavier/libxklavier_5.0.bb (limited to 'meta-gnome') diff --git a/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.0.bb b/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.0.bb new file mode 100644 index 000000000..df2dde1a1 --- /dev/null +++ b/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.0.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Helper lib for keyboard management" +LICENSE = "LGPLv2" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=6e29c688d912da12b66b73e32b03d812" + +DEPENDS = "xkbcomp gtk+ iso-codes " + +inherit gnome + +SRC_URI[archive.md5sum] = "134c7ea177ff901123b909de77394780" +SRC_URI[archive.sha256sum] = "dfd94b17a752b2839281764f0a16af2b338024c8867c10fba7015f276dec4db0" + +EXTRA_OECONF = "--with-xkb-bin-base=${bindir}" + +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 +} + + -- cgit v1.2.3-54-g00ecf