[poky] [PATCH 3/3] gnome-doc-utils: ensure a native variant exists for document generation

Joshua Lock josh at linux.intel.com
Fri Dec 17 06:09:48 PST 2010


gnome-doc-utils-native must be available to do the build time generation of
documentation however most gnome projects will do a pkgconfig check for the
host version of gnome-doc-utils.

This patch adds gnome-doc-utils-native and makes gnome-doc-utils depend on it
so that recipe writers can just add gnome-doc-utils to their DEPENDS and the
system will do the right thing.

Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
 .../gnome/gnome-doc-utils-native_0.20.2.bb         |    7 +++++++
 meta/recipes-gnome/gnome/gnome-doc-utils.inc       |    4 +---
 2 files changed, 8 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-gnome/gnome/gnome-doc-utils-native_0.20.2.bb

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils-native_0.20.2.bb b/meta/recipes-gnome/gnome/gnome-doc-utils-native_0.20.2.bb
new file mode 100644
index 0000000..30d5a5b
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils-native_0.20.2.bb
@@ -0,0 +1,7 @@
+require gnome-doc-utils_${PV}.bb
+
+inherit native
+
+DEPENDS = "libxml2-native libxslt-native"
+
+PR = "r0"
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 00a64e2..0cd8203 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -1,7 +1,5 @@
 LICENSE = "GPL LGPL"
-DEPENDS = "libxml2 libxslt libxslt-native"
-
-PR = "r1"
+DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native"
 
 inherit gnome
 
-- 
1.7.3.3




More information about the poky mailing list