summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus-glib.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dbus/dbus-glib.inc')
-rw-r--r--meta/recipes-core/dbus/dbus-glib.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib.inc b/meta/recipes-core/dbus/dbus-glib.inc
index f554ce82b1..a8e6d420f7 100644
--- a/meta/recipes-core/dbus/dbus-glib.inc
+++ b/meta/recipes-core/dbus/dbus-glib.inc
@@ -13,15 +13,21 @@ DEPENDS_virtclass-native = "glib-2.0-native dbus-native"
13SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ 13SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \
14 file://no-examples.patch \ 14 file://no-examples.patch \
15 file://test-service-glib-include-glib-only.patch \ 15 file://test-service-glib-include-glib-only.patch \
16 file://test-install-makefile.patch \
16" 17"
17 18
18inherit autotools pkgconfig gettext 19inherit autotools pkgconfig gettext
19 20
21#default disable regression tests, some unit test code in non testing code
22#PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf
23PACKAGECONFIG ??= ""
24PACKAGECONFIG[tests] = "--enable-tests,,,"
25
20EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \ 26EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \
21 --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" 27 --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
22EXTRA_OECONF_virtclass-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" 28EXTRA_OECONF_virtclass-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml"
23 29
24PACKAGES += "${PN}-bash-completion" 30PACKAGES += "${PN}-bash-completion ${PN}-tests-dbg ${PN}-tests"
25 31
26FILES_${PN} = "${libdir}/lib*${SOLIBS}" 32FILES_${PN} = "${libdir}/lib*${SOLIBS}"
27FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-completion.sh \ 33FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-completion.sh \
@@ -29,4 +35,10 @@ FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-complet
29FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" 35FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
30FILES_${PN}-dev += "${bindir}/dbus-binding-tool" 36FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
31 37
38RDEPENDS_${PN}-tests += "dbus-x11"
39FILES_${PN}-tests = "${datadir}/${PN}/tests"
40FILES_${PN}-tests-dbg = "${datadir}/${PN}/tests/.debug/* \
41 ${datadir}/${PN}/tests/core/.debug/* \
42 ${datadir}/${PN}/tests/interfaces/.debug/*"
43
32BBCLASSEXTEND = "native" 44BBCLASSEXTEND = "native"