diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-12-17 14:09:48 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-21 09:29:11 +0000 |
commit | a09fbe3c680b67ea55d218cf3f469f2798cd4037 (patch) | |
tree | 4b8cce1d5d6ada64552032fc07217d9ea31c5491 | |
parent | 3b5461535f714af16159a081ba5c7556c9c15b3c (diff) | |
download | poky-a09fbe3c680b67ea55d218cf3f469f2798cd4037.tar.gz |
gnome-doc-utils: ensure a native variant exists for document generation
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@linux.intel.com>
-rw-r--r-- | meta/recipes-gnome/gnome/gnome-doc-utils-native_0.20.2.bb | 7 | ||||
-rw-r--r-- | meta/recipes-gnome/gnome/gnome-doc-utils.inc | 4 |
2 files changed, 8 insertions, 3 deletions
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 0000000000..30d5a5b5b1 --- /dev/null +++ b/meta/recipes-gnome/gnome/gnome-doc-utils-native_0.20.2.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require gnome-doc-utils_${PV}.bb | ||
2 | |||
3 | inherit native | ||
4 | |||
5 | DEPENDS = "libxml2-native libxslt-native" | ||
6 | |||
7 | PR = "r0" | ||
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc index 00a64e2582..0cd8203ae1 100644 --- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc +++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc | |||
@@ -1,7 +1,5 @@ | |||
1 | LICENSE = "GPL LGPL" | 1 | LICENSE = "GPL LGPL" |
2 | DEPENDS = "libxml2 libxslt libxslt-native" | 2 | DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native" |
3 | |||
4 | PR = "r1" | ||
5 | 3 | ||
6 | inherit gnome | 4 | inherit gnome |
7 | 5 | ||