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>
This commit is contained in:
Joshua Lock 2010-12-17 14:09:48 +00:00 committed by Richard Purdie
parent 3b5461535f
commit a09fbe3c68
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,7 @@
require gnome-doc-utils_${PV}.bb
inherit native
DEPENDS = "libxml2-native libxslt-native"
PR = "r0"

View File

@ -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