aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dbus/dbus-glib.inc
blob: 54997c38452a7ababbf67d244ebc9b974b927d4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DESCRIPTION = "GLib bindings for the dbus message bus system"
HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
SECTION = "libs"
LICENSE = "GPL"
DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus"
INC_PR = "r1"

SRC_URI = "\
  http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz;name=archive \
  file://no-introspect.patch \
  file://no-examples.patch \
"

inherit autotools pkgconfig gettext

do_configure_prepend() {
	install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml ${S}/tools/
	install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/
}

PACKAGES += "${PN}-bash-completion"
FILES_${PN}-bash-completion = "\
  ${sysconfdir}/bash_completion.d \
  ${prefix}/libexec/dbus-bash-completion-helper \
"
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev += "\
  ${libdir}/dbus-1.0/include \
  ${bindir}/dbus-glib-tool \
  ${bindir}/dbus-binding-tool \
"