diff options
Diffstat (limited to 'meta-oe/recipes-core/dbus')
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker_32.bb | 32 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-broker_36.bb | 38 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb | 5 | ||||
-rw-r--r-- | meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb | 4 |
4 files changed, 45 insertions, 34 deletions
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_32.bb b/meta-oe/recipes-core/dbus/dbus-broker_32.bb deleted file mode 100644 index 900b5e3ac8..0000000000 --- a/meta-oe/recipes-core/dbus/dbus-broker_32.bb +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | SUMMARY = "dbus broker" | ||
2 | DESCRIPTION = "Drop-in replacement for dbus-daemon." | ||
3 | |||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "Apache-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" | ||
8 | |||
9 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz" | ||
10 | SRC_URI[sha256sum] = "bea7f653e7251063c5f427e9e3f93562d38a0d8667ae6d49fb56f113605985de" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases" | ||
13 | |||
14 | inherit meson pkgconfig systemd features_check | ||
15 | |||
16 | DEPENDS = "expat systemd" | ||
17 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)}" | ||
18 | DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)}" | ||
19 | |||
20 | RDEPENDS:${PN} += "dbus-common" | ||
21 | |||
22 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
23 | |||
24 | SYSTEMD_SERVICE:${PN} = "${BPN}.service" | ||
25 | |||
26 | FILES:${PN} += "${systemd_system_unitdir}" | ||
27 | FILES:${PN} += "${systemd_user_unitdir}" | ||
28 | FILES:${PN} += "${nonarch_libdir}/systemd/catalog" | ||
29 | |||
30 | EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
31 | EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
32 | |||
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_36.bb b/meta-oe/recipes-core/dbus/dbus-broker_36.bb new file mode 100644 index 0000000000..8c8f2d2469 --- /dev/null +++ b/meta-oe/recipes-core/dbus/dbus-broker_36.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "dbus broker" | ||
2 | DESCRIPTION = "Drop-in replacement for dbus-daemon." | ||
3 | SECTION = "base" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8" | ||
6 | DEPENDS = "\ | ||
7 | expat \ | ||
8 | systemd \ | ||
9 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)} \ | ||
10 | ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)} \ | ||
11 | " | ||
12 | |||
13 | SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/${BP}.tar.xz" | ||
14 | SRC_URI[sha256sum] = "d333d99bd2688135b6d6961e7ad1360099d186078781c87102230910ea4e162b" | ||
15 | |||
16 | UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases" | ||
17 | UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+)" | ||
18 | |||
19 | SYSTEMD_SERVICE:${PN} = "${BPN}.service" | ||
20 | |||
21 | inherit meson pkgconfig systemd features_check | ||
22 | |||
23 | EXTRA_OEMESON += "-Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
24 | EXTRA_OEMESON += "-Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}" | ||
25 | |||
26 | REQUIRED_DISTRO_FEATURES = "systemd" | ||
27 | |||
28 | do_install:append() { | ||
29 | install -d ${D}${sysconfdir}/systemd/user | ||
30 | ln -s ${systemd_user_unitdir}/dbus-broker.service ${D}${sysconfdir}/systemd/user/dbus.service | ||
31 | } | ||
32 | |||
33 | RCONFLICTS:${PN} = "dbus" | ||
34 | RDEPENDS:${PN} += "dbus-common" | ||
35 | |||
36 | FILES:${PN} += "${nonarch_libdir}/systemd/catalog" | ||
37 | FILES:${PN} += "${systemd_system_unitdir}" | ||
38 | FILES:${PN} += "${systemd_user_unitdir}" | ||
diff --git a/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb b/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb index cbe82d42e7..e99bf28ce5 100644 --- a/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb +++ b/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb | |||
@@ -8,7 +8,10 @@ PV = "0.0.0+git" | |||
8 | SRC_URI = "git://github.com/alban/dbus-daemon-proxy;branch=master;protocol=https \ | 8 | SRC_URI = "git://github.com/alban/dbus-daemon-proxy;branch=master;protocol=https \ |
9 | file://0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch \ | 9 | file://0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch \ |
10 | " | 10 | " |
11 | S = "${WORKDIR}/git" | 11 | |
12 | # Upstream repo does not tag | ||
13 | UPSTREAM_CHECK_COMMITS = "1" | ||
14 | |||
12 | 15 | ||
13 | inherit pkgconfig | 16 | inherit pkgconfig |
14 | 17 | ||
diff --git a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb index 8e8f544e8e..e24ebe447a 100644 --- a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb +++ b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb | |||
@@ -15,9 +15,11 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/dbus-cplusplus/dbus-c++/${PV}/${BP}.tar | |||
15 | file://0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch \ | 15 | file://0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch \ |
16 | file://0001-pipe.c-Use-a-string-instead-of-char.patch \ | 16 | file://0001-pipe.c-Use-a-string-instead-of-char.patch \ |
17 | " | 17 | " |
18 | SRC_URI[md5sum] = "e752116f523fa88ef041e63d3dee4de2" | ||
19 | SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61" | 18 | SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61" |
20 | 19 | ||
20 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dbus-cplusplus/files" | ||
21 | UPSTREAM_CHECK_REGEX = "libdbus-c---(?P<pver>\d+(\.\d+)+)" | ||
22 | |||
21 | inherit autotools pkgconfig | 23 | inherit autotools pkgconfig |
22 | 24 | ||
23 | EXTRA_OECONF = "--disable-ecore --disable-examples --disable-tests" | 25 | EXTRA_OECONF = "--disable-ecore --disable-examples --disable-tests" |