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