summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus_1.12.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dbus/dbus_1.12.22.bb')
-rw-r--r--meta/recipes-core/dbus/dbus_1.12.22.bb11
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.12.22.bb b/meta/recipes-core/dbus/dbus_1.12.22.bb
index 48947209d9..e611e7d98a 100644
--- a/meta/recipes-core/dbus/dbus_1.12.22.bb
+++ b/meta/recipes-core/dbus/dbus_1.12.22.bb
@@ -5,10 +5,7 @@ SECTION = "base"
5 5
6require dbus.inc 6require dbus.inc
7 7
8DEPENDS = "expat virtual/libintl autoconf-archive" 8DEPENDS = "expat virtual/libintl autoconf-archive glib-2.0"
9PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
10ALLOW_EMPTY:dbus-ptest = "1"
11RDEPENDS:dbus-ptest:class-target = "dbus-test-ptest"
12RDEPENDS:${PN} += "${PN}-common ${PN}-tools" 9RDEPENDS:${PN} += "${PN}-common ${PN}-tools"
13RDEPENDS:${PN}:class-native = "" 10RDEPENDS:${PN}:class-native = ""
14 11
@@ -73,6 +70,8 @@ FILES:${PN}-lib = "${libdir}/lib*.so.*"
73RRECOMMENDS:${PN}-lib = "${PN}" 70RRECOMMENDS:${PN}-lib = "${PN}"
74FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool ${datadir}/xml/dbus-1" 71FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool ${datadir}/xml/dbus-1"
75 72
73RDEPENDS:${PN}-ptest += "bash make dbus"
74
76PACKAGE_WRITE_DEPS += "${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}" 75PACKAGE_WRITE_DEPS += "${@bb.utils.contains('DISTRO_FEATURES','systemd sysvinit','systemd-systemctl-native','',d)}"
77pkg_postinst:dbus() { 76pkg_postinst:dbus() {
78 # If both systemd and sysvinit are enabled, mask the dbus-1 init script 77 # If both systemd and sysvinit are enabled, mask the dbus-1 init script
@@ -89,8 +88,6 @@ pkg_postinst:dbus() {
89} 88}
90 89
91 90
92EXTRA_OECONF += "--disable-tests"
93
94do_install() { 91do_install() {
95 autotools_do_install 92 autotools_do_install
96 93
@@ -149,5 +146,3 @@ do_install:class-nativesdk() {
149 rm -rf ${D}${localstatedir}/run 146 rm -rf ${D}${localstatedir}/run
150} 147}
151BBCLASSEXTEND = "native nativesdk" 148BBCLASSEXTEND = "native nativesdk"
152
153INSANE_SKIP:${PN}-ptest += "build-deps"