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 | |
| 18 | inherit autotools pkgconfig gettext |
| 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 | |
| 29 | PACKAGES += "${PN}-bash-completion ${PN}-tests-dbg ${PN}-tests" |
| 30 | |
| 31 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" |
| 32 | FILES_${PN}-bash-completion = "${sysconfdir}/bash_completion.d/dbus-bash-completion.sh \ |
| 33 | ${libexecdir}/dbus-bash-completion-helper" |
| 34 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" |
| 35 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" |
| 36 | |
| 37 | RDEPENDS_${PN}-tests += "dbus-x11" |
| 38 | FILES_${PN}-tests = "${datadir}/${BPN}/tests" |
| 39 | FILES_${PN}-tests-dbg = "${datadir}/${BPN}/tests/.debug/* \ |
| 40 | ${datadir}/${BPN}/tests/core/.debug/* \ |
| 41 | ${datadir}/${BPN}/tests/interfaces/.debug/*" |
| 42 | |
| 43 | BBCLASSEXTEND = "native" |