summaryrefslogtreecommitdiff
path: root/recipes/gnome/libxklavier_3.7.bb
blob: f21f73071ddc5fc74393acdc142a5d8b2b80f36a (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"

PR = "r1"

DEPENDS = "xkbcomp gtk+"

inherit gnome

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
}