Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "High level language (GLib) binding for D-Bus" |
| 2 | DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \ |
| 3 | the D-Bus library with the GLib thread abstraction and main loop." |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 4 | HOMEPAGE = "https://www.freedesktop.org/Software/dbus" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 5 | LICENSE = "AFL-2.1 | GPLv2+" |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c31c73c1d8f5d06784b2ccd22e42d641 \ |
| 7 | file://dbus/dbus-glib.h;beginline=7;endline=21;md5=c374833bd817988323f3a8fda0dc7f48" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 8 | SECTION = "base" |
| 9 | |
| 10 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | DEPENDS:class-native = "glib-2.0-native dbus-native" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 12 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | SRC_URI = "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | file://no-examples.patch \ |
| 15 | file://test-install-makefile.patch \ |
| 16 | " |
Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 17 | SRC_URI[md5sum] = "021e6c8a288df02c227e4aafbf7e7527" |
| 18 | SRC_URI[sha256sum] = "7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | |
| 20 | inherit autotools pkgconfig gettext bash-completion gtk-doc |
| 21 | |
| 22 | #default disable regression tests, some unit test code in non testing code |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 23 | #PACKAGECONFIG:pn-${PN} = "tests" enable regression tests local.conf |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 24 | PACKAGECONFIG ??= "" |
| 25 | PACKAGECONFIG[tests] = "--enable-tests,,," |
| 26 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 27 | EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 28 | |
| 29 | PACKAGES += "${PN}-tests" |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | FILES:${PN} = "${libdir}/lib*${SOLIBS}" |
| 32 | FILES:${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" |
| 33 | FILES:${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" |
| 34 | FILES:${PN}-dev += "${bindir}/dbus-binding-tool" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 35 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 36 | RDEPENDS:${PN}-tests += "dbus-x11" |
| 37 | FILES:${PN}-tests = "${datadir}/${BPN}/tests" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 38 | |
| 39 | BBCLASSEXTEND = "native" |