summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2019-02-01 10:07:20 +0200
committerKhem Raj <raj.khem@gmail.com>2019-02-01 06:57:14 -0800
commit7b48bd2be97408107c0dd3c74b1e28f042268457 (patch)
treedd7322b2b95bd696287f8e0753153b6d06dd8aba /meta-oe/recipes-support
parente49842903b64ada99bd3a428c20e8f31a206f37c (diff)
downloadmeta-openembedded-7b48bd2be97408107c0dd3c74b1e28f042268457.tar.gz
vim: Enable GUI support for x11 DISTRO_FEATURES
Adding vim to a sato image will produce a non-working Gvim desktop entry because GUI support is not compiled in: # vim -g E25: GUI cannot be used: Not enabled at compile time Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/vim/vim_8.1.0347.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/vim/vim_8.1.0347.bb b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
index a561ad272..070583158 100644
--- a/meta-oe/recipes-support/vim/vim_8.1.0347.bb
+++ b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
@@ -36,7 +36,10 @@ do_configure () {
36 36
37#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny 37#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
38PACKAGECONFIG ??= "" 38PACKAGECONFIG ??= ""
39PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" 39PACKAGECONFIG += " \
40 ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \
41 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \
42"
40 43
41PACKAGECONFIG[gtkgui] = "--enable-gui=gtk2,--enable-gui=no,gtk+," 44PACKAGECONFIG[gtkgui] = "--enable-gui=gtk2,--enable-gui=no,gtk+,"
42PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," 45PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"