summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-10-25 05:18:59 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:23:56 +0100
commit82a8738213d2716993aba2b3122ef2b430652620 (patch)
tree146fa50d69c04c38b158333b4b5c45e6f4dd906f /meta-gnome/recipes-gnome/libxklavier/libxklavier_5.4.bb
parentb393e73446b7abbc836d03a4d921911bca3bfa1c (diff)
downloadmeta-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.bb33
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 @@
1SUMMARY = "Helper lib for keyboard management"
2LICENSE = "LGPLv2"
3LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=6e29c688d912da12b66b73e32b03d812"
4
5DEPENDS = "xkbcomp gtk+ iso-codes libxi libxml2"
6
7inherit autotools pkgconfig gettext gobject-introspection
8
9RDEPENDS_${PN} += "iso-codes xkbcomp"
10
11SRC_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"
15SRC_URI[md5sum] = "13af74dcb6011ecedf1e3ed122bd31fa"
16SRC_URI[sha256sum] = "17a34194df5cbcd3b7bfd0f561d95d1f723aa1c87fca56bc2c209514460a9320"
17
18FILES_${PN} += "${datadir}/*"
19
20EXTRA_OECONF = "--with-xkb-bin-base=${bindir}"
21
22do_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
27do_compile_append() {
28 sed -i -e s:${STAGING_DIR_TARGET}::g \
29 -e s:/${TARGET_SYS}::g \
30 libxklavier.pc
31}
32
33