1
0
forked from brl/citadel
citadel/meta-gnome/recipes-support/ibus/ibus-native.bb

35 lines
831 B
BlitzBasic
Raw Normal View History

require ${BPN}.inc
inherit native
DEPENDS += " \
glib-2.0-native \
dbus-native \
iso-codes \
"
PACKAGECONFIG = ""
# for allarch iso-codes
EXTRA_NATIVE_PKGCONFIG_PATH = ":${RECIPE_SYSROOT}${datadir_native}/pkgconfig"
# for allarch unicode-ucd - just to make configure happy
EXTRA_OECONF += "--with-ucd-dir=${RECIPE_SYSROOT}${datadir_native}/unicode/ucd"
do_compile() {
cd src
# seems by moving to src we break dependency tracking so build what's
# necessary step by step
oe_runmake ibusenumtypes.h
oe_runmake ibusmarshalers.h
oe_runmake ibusenumtypes.c
oe_runmake unicode-parser
}
do_install() {
install -d ${D}/${libdir}
install -m 755 ${S}/src/.libs/libibus-*.so* ${D}/${libdir}
install -d ${D}/${bindir}
install -m 755 ${S}/src/.libs/unicode-parser ${D}/${bindir}
}