summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-01-14 14:56:33 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-29 18:14:55 +0000
commit50f84bbf3cf340e0e98abb7994dd4eade4183078 (patch)
treee514dfbd7a2743e5e90426ba7acaf4a008c8aca2
parent4f0716690ff4c7169b07e352df2301e77a3abc03 (diff)
downloadopenembedded-core-contrib-50f84bbf3cf340e0e98abb7994dd4eade4183078.tar.gz
openembedded-core-contrib-50f84bbf3cf340e0e98abb7994dd4eade4183078.tar.bz2
openembedded-core-contrib-50f84bbf3cf340e0e98abb7994dd4eade4183078.zip
glib: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index eff59970d5..15c6688e56 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -22,12 +22,12 @@ DEPENDS_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' dbus', '', d)}"
DEPENDS_class-native = "pkgconfig-native gettext-native libffi-native zlib-native"
DEPENDS_class-nativesdk = "nativesdk-libtool nativesdk-gettext nativesdk-libffi nativesdk-zlib glib-2.0-native"
-PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
+PACKAGES =+ "${PN}-utils ${PN}-codegen"
LEAD_SONAME = "libglib-2.0.*"
FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext"
-inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even
+inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion
S = "${WORKDIR}/glib-${PV}"
@@ -51,8 +51,6 @@ FILES_${PN}-dev += "${libdir}/glib-2.0/include \
${libdir}/gio/modules/*.la"
FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb"
FILES_${PN}-codegen = "${datadir}/glib-2.0/codegen/*.py"
-FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d \
- ${datadir}/bash-completion"
ARM_INSTRUCTION_SET = "arm"
USE_NLS = "yes"