diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-01-14 14:56:32 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:02 +0000 |
commit | 0e5b0bfefd61101559d6d2e8c918e7dc45e40a17 (patch) | |
tree | 1e3694676b14204961e8ba742a1556da39c27480 /meta/recipes-core | |
parent | 9cddc0a7a20e15d61beb190ae10fb77a8f6b7041 (diff) | |
download | poky-0e5b0bfefd61101559d6d2e8c918e7dc45e40a17.tar.gz |
dbus-glib: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions.
(From OE-Core rev: a88ec53670a311d30d90a919e11a181f5fa77529)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/dbus/dbus-glib.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib.inc b/meta/recipes-core/dbus/dbus-glib.inc index f8c0ebe804..4661e3af53 100644 --- a/meta/recipes-core/dbus/dbus-glib.inc +++ b/meta/recipes-core/dbus/dbus-glib.inc | |||
@@ -15,7 +15,7 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz | |||
15 | file://test-install-makefile.patch \ | 15 | file://test-install-makefile.patch \ |
16 | " | 16 | " |
17 | 17 | ||
18 | inherit autotools pkgconfig gettext | 18 | inherit autotools pkgconfig gettext bash-completion |
19 | 19 | ||
20 | #default disable regression tests, some unit test code in non testing code | 20 | #default disable regression tests, some unit test code in non testing code |
21 | #PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf | 21 | #PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf |
@@ -26,11 +26,10 @@ EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-in | |||
26 | --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" | 26 | --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" |
27 | EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" | 27 | EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" |
28 | 28 | ||
29 | PACKAGES += "${PN}-bash-completion ${PN}-tests" | 29 | PACKAGES += "${PN}-tests" |
30 | 30 | ||
31 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | 31 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" |
32 | FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-completion.sh \ | 32 | FILES_${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" |
33 | ${libexecdir}/dbus-bash-completion-helper" | ||
34 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | 33 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" |
35 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" | 34 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" |
36 | 35 | ||