diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-05 17:21:56 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-05 17:21:56 +0000 |
commit | f0b6ce84826e63cd9c95e0427ee7890c454bc364 (patch) | |
tree | 2ec818ec1f9218f94accafb86c560a69fb809291 /meta | |
parent | 0d8a8c893226ec11bdfb51466199e1d748875338 (diff) | |
download | poky-f0b6ce84826e63cd9c95e0427ee7890c454bc364.tar.gz |
dbus-glib: Factor into a common .inc file and cleanup the recipe using autotools staging
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/dbus/dbus-glib-0.76/run-with-tmp-session-bus.patch (renamed from meta/packages/dbus/dbus-glib-native-0.76/run-with-tmp-session-bus.patch) | 0 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-glib-native_0.76.bb | 18 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-glib.inc | 17 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-glib_0.76.bb | 24 |
4 files changed, 25 insertions, 34 deletions
diff --git a/meta/packages/dbus/dbus-glib-native-0.76/run-with-tmp-session-bus.patch b/meta/packages/dbus/dbus-glib-0.76/run-with-tmp-session-bus.patch index a04f404f75..a04f404f75 100644 --- a/meta/packages/dbus/dbus-glib-native-0.76/run-with-tmp-session-bus.patch +++ b/meta/packages/dbus/dbus-glib-0.76/run-with-tmp-session-bus.patch | |||
diff --git a/meta/packages/dbus/dbus-glib-native_0.76.bb b/meta/packages/dbus/dbus-glib-native_0.76.bb index 9486a3ed37..f3bd5ab13d 100644 --- a/meta/packages/dbus/dbus-glib-native_0.76.bb +++ b/meta/packages/dbus/dbus-glib-native_0.76.bb | |||
@@ -1,20 +1,14 @@ | |||
1 | SECTION = "base" | 1 | require dbus-glib.inc |
2 | PR = "r1" | 2 | inherit native |
3 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" | ||
4 | DESCRIPTION = "message bus system for applications to talk to one another" | ||
5 | LICENSE = "GPL" | ||
6 | |||
7 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ | ||
8 | file://run-with-tmp-session-bus.patch;patch=1" | ||
9 | |||
10 | inherit autotools pkgconfig gettext native | ||
11 | 3 | ||
12 | DEPENDS = "glib-2.0-native dbus-native" | 4 | DEPENDS = "glib-2.0-native dbus-native" |
13 | 5 | ||
14 | EXTRA_OECONF = "--with-introspect=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" | 6 | PR = "r2" |
7 | |||
8 | SRC_URI += "file://run-with-tmp-session-bus.patch;patch=1" | ||
15 | 9 | ||
16 | do_stage() { | 10 | do_stage() { |
17 | oe_runmake install | 11 | autotools_stage_all |
18 | install -d ${STAGING_DATADIR}/dbus | 12 | install -d ${STAGING_DATADIR}/dbus |
19 | install -m 0644 tools/dbus-glib-bindings.h ${STAGING_DATADIR}/dbus | 13 | install -m 0644 tools/dbus-glib-bindings.h ${STAGING_DATADIR}/dbus |
20 | } | 14 | } |
diff --git a/meta/packages/dbus/dbus-glib.inc b/meta/packages/dbus/dbus-glib.inc new file mode 100644 index 0000000000..30ad99c7c8 --- /dev/null +++ b/meta/packages/dbus/dbus-glib.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | SECTION = "base" | ||
2 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" | ||
3 | DESCRIPTION = "message bus system for applications to talk to one another" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" | ||
6 | |||
7 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ | ||
8 | file://no-examples.patch;patch=1" | ||
9 | |||
10 | inherit autotools_stage pkgconfig gettext | ||
11 | |||
12 | EXTRA_OECONF = "--with-introspect=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" | ||
13 | |||
14 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
15 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | ||
16 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" | ||
17 | |||
diff --git a/meta/packages/dbus/dbus-glib_0.76.bb b/meta/packages/dbus/dbus-glib_0.76.bb index c69420e460..172aad63a9 100644 --- a/meta/packages/dbus/dbus-glib_0.76.bb +++ b/meta/packages/dbus/dbus-glib_0.76.bb | |||
@@ -1,28 +1,8 @@ | |||
1 | SECTION = "base" | 1 | require dbus-glib.inc |
2 | PR = "r1" | ||
3 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" | ||
4 | DESCRIPTION = "message bus system for applications to talk to one another" | ||
5 | LICENSE = "GPL" | ||
6 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" | ||
7 | 2 | ||
8 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz \ | 3 | PR = "r2" |
9 | file://no-examples.patch;patch=1" | ||
10 | |||
11 | inherit autotools pkgconfig gettext | ||
12 | |||
13 | EXTRA_OECONF = "--with-introspect=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" | ||
14 | |||
15 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
16 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" | ||
17 | 4 | ||
18 | do_configure_prepend() { | 5 | do_configure_prepend() { |
19 | install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/ | 6 | install -m 0644 ${STAGING_DATADIR_NATIVE}/dbus/dbus-glib-bindings.h ${S}/tools/ |
20 | } | 7 | } |
21 | 8 | ||
22 | do_stage () { | ||
23 | oe_libinstall -so -C dbus libdbus-glib-1 ${STAGING_LIBDIR} | ||
24 | |||
25 | autotools_stage_includes | ||
26 | } | ||
27 | |||
28 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" | ||