diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-10-25 05:18:59 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-23 15:23:56 +0100 |
commit | 82a8738213d2716993aba2b3122ef2b430652620 (patch) | |
tree | 146fa50d69c04c38b158333b4b5c45e6f4dd906f /meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb | |
parent | b393e73446b7abbc836d03a4d921911bca3bfa1c (diff) | |
download | meta-openembedded-82a8738213d2716993aba2b3122ef2b430652620.tar.gz |
libxklavier: upgrade 5.4
The gnome does not support 5.4 any more,
get 5.4 from fedora to upgrade.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb')
-rw-r--r-- | meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb b/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb new file mode 100644 index 000000000..ff9853d7b --- /dev/null +++ b/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Helper lib for keyboard management" | ||
2 | LICENSE = "LGPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=6e29c688d912da12b66b73e32b03d812" | ||
4 | |||
5 | DEPENDS = "xkbcomp gtk+ iso-codes libxi libxml2" | ||
6 | |||
7 | inherit autotools pkgconfig gettext gobject-introspection | ||
8 | |||
9 | RDEPENDS_${PN} += "iso-codes xkbcomp" | ||
10 | |||
11 | SRC_URI = " \ | ||
12 | http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-${PV}.tar.bz2/13af74dcb6011ecedf1e3ed122bd31fa/${BPN}-${PV}.tar.bz2 \ | ||
13 | file://fix-do_installe-failure.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "13af74dcb6011ecedf1e3ed122bd31fa" | ||
16 | SRC_URI[sha256sum] = "17a34194df5cbcd3b7bfd0f561d95d1f723aa1c87fca56bc2c209514460a9320" | ||
17 | |||
18 | FILES_${PN} += "${datadir}/*" | ||
19 | |||
20 | EXTRA_OECONF = "--with-xkb-bin-base=${bindir}" | ||
21 | |||
22 | do_configure_append() { | ||
23 | find ${B} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g | ||
24 | find ${B} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g | ||
25 | } | ||
26 | |||
27 | do_compile_append() { | ||
28 | sed -i -e s:${STAGING_DIR_TARGET}::g \ | ||
29 | -e s:/${TARGET_SYS}::g \ | ||
30 | libxklavier.pc | ||
31 | } | ||
32 | |||
33 | |||