summaryrefslogtreecommitdiff
path: root/recipes/gnome/libxklavier_5.0.bb
blob: 9c70d6f5f98ed46cdff109ec8722aaf47a2d1b42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
}