diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-06-16 11:00:59 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-23 11:47:19 +0100 |
commit | f3a1bec3363ad7f785a5d24f8cb5f49eb0241b41 (patch) | |
tree | f3c55ecfaf9b887c18a4568944fbce9a622547aa /meta/recipes-core/dbus/dbus-test_1.8.18.bb | |
parent | 955537c523a001d55f0188bf90fda7bac2f05107 (diff) | |
download | poky-f3a1bec3363ad7f785a5d24f8cb5f49eb0241b41.tar.gz |
dbus-test: Upgrade 1.8.10 -> 1.8.18
(From OE-Core rev: 1eaca01b652a9fa51fe3ec1db4edcd48778ad7c8)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dbus/dbus-test_1.8.18.bb')
-rw-r--r-- | meta/recipes-core/dbus/dbus-test_1.8.18.bb | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus-test_1.8.18.bb b/meta/recipes-core/dbus/dbus-test_1.8.18.bb new file mode 100644 index 0000000000..e138f6e594 --- /dev/null +++ b/meta/recipes-core/dbus/dbus-test_1.8.18.bb | |||
@@ -0,0 +1,61 @@ | |||
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 = "python-pygobject dbus dbus-glib" | ||
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://dbus-1.init \ | ||
16 | file://run-ptest \ | ||
17 | file://python-config.patch \ | ||
18 | file://clear-guid_from_server-if-send_negotiate_unix_f.patch \ | ||
19 | " | ||
20 | |||
21 | SRC_URI[md5sum] = "83e607e9ccb1c921d5b6bbea2376a36c" | ||
22 | SRC_URI[sha256sum] = "36f2eb9c777a3c71562573da36a147e900a642afcd44d2b0470d992a4898c4f2" | ||
23 | |||
24 | S="${WORKDIR}/dbus-${PV}" | ||
25 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/dbus:" | ||
26 | |||
27 | inherit autotools pkgconfig gettext ptest | ||
28 | |||
29 | EXTRA_OECONF_X = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}" | ||
30 | EXTRA_OECONF_X_class-native = "--without-x" | ||
31 | |||
32 | EXTRA_OECONF = "--enable-tests \ | ||
33 | --enable-modular-tests \ | ||
34 | --enable-installed-tests \ | ||
35 | --enable-checks \ | ||
36 | --enable-asserts \ | ||
37 | --enable-verbose-mode \ | ||
38 | --disable-xml-docs \ | ||
39 | --disable-doxygen-docs \ | ||
40 | --disable-libaudit \ | ||
41 | --disable-systemd \ | ||
42 | --without-systemdsystemunitdir \ | ||
43 | --with-dbus-test-dir=${PTEST_PATH} \ | ||
44 | ${EXTRA_OECONF_X}" | ||
45 | |||
46 | do_install() { | ||
47 | : | ||
48 | } | ||
49 | |||
50 | do_install_ptest() { | ||
51 | install -d ${D}${PTEST_PATH}/test | ||
52 | case1="shell printf refs syslog" | ||
53 | for i in ${case1}; do install ${B}/test/test-$i ${D}${PTEST_PATH}/test; done | ||
54 | case2="marshal syntax corrupt dbus-daemon dbus-daemon-eavesdrop loopback relay" | ||
55 | for i in ${case2}; do install ${B}/test/.libs/test-$i ${D}${PTEST_PATH}/test; done | ||
56 | case3="bus bus-system bus-launch-helper" | ||
57 | for i in ${case3}; do install ${B}/bus/test-$i ${D}${PTEST_PATH}/test; done | ||
58 | install ${B}/dbus/test-dbus ${D}${PTEST_PATH}/test | ||
59 | cp -r ${B}/test/data ${D}${PTEST_PATH}/test | ||
60 | } | ||
61 | RDEPENDS_${PN}-ptest += "bash" | ||