diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-05 17:04:39 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-05 17:04:39 +0000 |
commit | 0d8a8c893226ec11bdfb51466199e1d748875338 (patch) | |
tree | a68fba4ce96cb15879041dd8e096ecb3b73db937 /meta/packages/dbus/dbus-native_1.2.4.bb | |
parent | eae7eb5bd559c1f4ae843820f2d4105066b3cc45 (diff) | |
download | poky-0d8a8c893226ec11bdfb51466199e1d748875338.tar.gz |
dbus-native: Generate the dbus-bus-introspect.xml so dbus-glib recipes don't have to find the dbus source. Pass the location of the file to dbus-glib* with the --with-introspect and drop the now unneeded patch
Diffstat (limited to 'meta/packages/dbus/dbus-native_1.2.4.bb')
-rw-r--r-- | meta/packages/dbus/dbus-native_1.2.4.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/packages/dbus/dbus-native_1.2.4.bb b/meta/packages/dbus/dbus-native_1.2.4.bb index 29fd5a2cb9..617a8f95bc 100644 --- a/meta/packages/dbus/dbus-native_1.2.4.bb +++ b/meta/packages/dbus/dbus-native_1.2.4.bb | |||
@@ -3,6 +3,8 @@ inherit native | |||
3 | 3 | ||
4 | DEPENDS = "glib-2.0-native libxml2-native expat-native" | 4 | DEPENDS = "glib-2.0-native libxml2-native expat-native" |
5 | 5 | ||
6 | PR = "r1" | ||
7 | |||
6 | do_stage() { | 8 | do_stage() { |
7 | oe_runmake install | 9 | oe_runmake install |
8 | autotools_stage_all | 10 | autotools_stage_all |
@@ -10,6 +12,11 @@ do_stage() { | |||
10 | # for dbus-glib-native introspection generation | 12 | # for dbus-glib-native introspection generation |
11 | install -d ${STAGING_DATADIR}/dbus | 13 | install -d ${STAGING_DATADIR}/dbus |
12 | install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf | 14 | install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf |
15 | |||
16 | # dbus-glib-native and dbus-glib need this xml file | ||
17 | install -d ${STAGING_DATADIR_NATIVE}/dbus/ | ||
18 | cd ${S} | ||
19 | ./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml | ||
13 | } | 20 | } |
14 | 21 | ||
15 | do_install() { | 22 | do_install() { |