Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [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." |
| 4 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" |
| 5 | LICENSE = "AFL-2 | GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \ |
| 7 | file://dbus/dbus-glib.h;beginline=7;endline=21;md5=7755c9d7abccd5dbd25a6a974538bb3c" |
| 8 | SECTION = "base" |
| 9 | |
| 10 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" |
| 11 | DEPENDS_class-native = "glib-2.0-native dbus-native" |
| 12 | |
| 13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ |
| 14 | file://no-examples.patch \ |
| 15 | file://test-install-makefile.patch \ |
| 16 | " |
| 17 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 18 | inherit autotools pkgconfig gettext bash-completion |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
| 20 | #default disable regression tests, some unit test code in non testing code |
| 21 | #PACKAGECONFIG_pn-${PN} = "tests" enable regression tests local.conf |
| 22 | PACKAGECONFIG ??= "" |
| 23 | PACKAGECONFIG[tests] = "--enable-tests,,," |
| 24 | |
| 25 | EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \ |
| 26 | --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" |
| 27 | EXTRA_OECONF_class-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" |
| 28 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 29 | PACKAGES += "${PN}-tests" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | |
| 31 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 32 | FILES_${PN}-bash-completion += "${libexecdir}/dbus-bash-completion-helper" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 33 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" |
| 34 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" |
| 35 | |
| 36 | RDEPENDS_${PN}-tests += "dbus-x11" |
| 37 | FILES_${PN}-tests = "${datadir}/${BPN}/tests" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 38 | |
| 39 | BBCLASSEXTEND = "native" |