diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2016-06-17 11:36:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-23 14:26:15 +0100 |
commit | 1bf1af525af0d9c5335b6d671eeb2891500d6d93 (patch) | |
tree | 1dbff731cc0c9e4f3761b9bed5603cae29b6f126 /meta/recipes-core/dbus/dbus-test_1.10.8.bb | |
parent | 1137709119b38c6c7e69450a251f484d3a218747 (diff) | |
download | poky-1bf1af525af0d9c5335b6d671eeb2891500d6d93.tar.gz |
dbus/dbus-test: upgrade to 1.10.8
0001-configure.ac-support-large-file-for-stat64.patch is removed as it's
a backported patch and is already in the latest codes.
(From OE-Core rev: ba0493391207c5e170548a58c49ca593b4d61e08)
Signed-off-by: Chen Qi <Qi.Chen@windriver.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/dbus/dbus-test_1.10.8.bb')
-rw-r--r-- | meta/recipes-core/dbus/dbus-test_1.10.8.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus-test_1.10.8.bb b/meta/recipes-core/dbus/dbus-test_1.10.8.bb new file mode 100644 index 0000000000..87dcd37ded --- /dev/null +++ b/meta/recipes-core/dbus/dbus-test_1.10.8.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | SUMMARY = "D-Bus test package (for D-bus functionality testing only)" | ||
2 | HOMEPAGE = "http://dbus.freedesktop.org" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "AFL-2 | GPLv2+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ | ||
6 | file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c" | ||
7 | |||
8 | DEPENDS = "dbus glib-2.0" | ||
9 | |||
10 | RDEPENDS_${PN} += "make" | ||
11 | RDEPENDS_${PN}-dev = "" | ||
12 | |||
13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | ||
14 | file://tmpdir.patch \ | ||
15 | file://run-ptest \ | ||
16 | file://python-config.patch \ | ||
17 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[md5sum] = "e912e930f249454752512aa7ac864d43" | ||
21 | SRC_URI[sha256sum] = "baf3d22baa26d3bdd9edc587736cd5562196ce67996d65b82103bedbe1f0c014" | ||
22 | |||
23 | S="${WORKDIR}/dbus-${PV}" | ||
24 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:" | ||
25 | |||
26 | inherit autotools pkgconfig gettext ptest upstream-version-is-even | ||
27 | |||
28 | EXTRA_OECONF_X = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" | ||
29 | EXTRA_OECONF_X_class-native = "--without-x" | ||
30 | |||
31 | EXTRA_OECONF = "--enable-tests \ | ||
32 | --enable-modular-tests \ | ||
33 | --enable-installed-tests \ | ||
34 | --enable-checks \ | ||
35 | --enable-asserts \ | ||
36 | --enable-verbose-mode \ | ||
37 | --disable-xml-docs \ | ||
38 | --disable-doxygen-docs \ | ||
39 | --disable-libaudit \ | ||
40 | --disable-systemd \ | ||
41 | --without-systemdsystemunitdir \ | ||
42 | --with-dbus-test-dir=${PTEST_PATH} \ | ||
43 | ${EXTRA_OECONF_X}" | ||
44 | |||
45 | do_install() { | ||
46 | : | ||
47 | } | ||
48 | |||
49 | do_install_ptest() { | ||
50 | install -d ${D}${PTEST_PATH}/test | ||
51 | l="shell printf refs syslog marshal syntax corrupt dbus-daemon dbus-daemon-eavesdrop loopback relay" | ||
52 | for i in $l; do install ${B}/test/.libs/test-$i ${D}${PTEST_PATH}/test; done | ||
53 | l="bus bus-system bus-launch-helper" | ||
54 | for i in $l; do install ${B}/bus/.libs/test-$i ${D}${PTEST_PATH}/test; done | ||
55 | install ${B}/dbus/.libs/test-dbus ${D}${PTEST_PATH}/test | ||
56 | cp -r ${B}/test/data ${D}${PTEST_PATH}/test | ||
57 | } | ||
58 | RDEPENDS_${PN}-ptest += "bash" | ||