summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-01-14 14:56:32 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 11:37:02 +0000
commit0e5b0bfefd61101559d6d2e8c918e7dc45e40a17 (patch)
tree1e3694676b14204961e8ba742a1556da39c27480 /meta/recipes-core
parent9cddc0a7a20e15d61beb190ae10fb77a8f6b7041 (diff)
downloadpoky-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.inc7
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
18inherit autotools pkgconfig gettext 18inherit 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"
27EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" 27EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml"
28 28
29PACKAGES += "${PN}-bash-completion ${PN}-tests" 29PACKAGES += "${PN}-tests"
30 30
31FILES_${PN} = "${libdir}/lib*${SOLIBS}" 31FILES_${PN} = "${libdir}/lib*${SOLIBS}"
32FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-completion.sh \ 32FILES_${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper"
33 ${libexecdir}/dbus-bash-completion-helper"
34FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" 33FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
35FILES_${PN}-dev += "${bindir}/dbus-binding-tool" 34FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
36 35