summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-27 21:00:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-28 15:21:34 +0100
commit0df29783f9f2b0ae70d37b75380b9146132e6970 (patch)
tree0b8c28e928289b180aaca0791f75de0d8a99339d /meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb
parent5fbd48695766c478417f92e98bebb6b526634ff8 (diff)
downloadpoky-0df29783f9f2b0ae70d37b75380b9146132e6970.tar.gz
gtk-doc: Handle floating gtk-doc dependency
Allow the tests to be explicitly disabled to avoid floating dependnecy issues. This is not really an issue with RSS but is on previous releases. Currently the tests are enabled/disabled depending on the presence of glib-2.0. (From OE-Core rev: 6c12d0b8a44a91382d3aa064ebef43769d909e73) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb')
-rw-r--r--meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb
index 7de36ae9e5..e0eb994e25 100644
--- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb
+++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb
@@ -16,6 +16,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "api-documentation",
16# hopefully no one minds because its scripts are not used for anything during build 16# hopefully no one minds because its scripts are not used for anything during build
17# and shouldn't be used on targets. 17# and shouldn't be used on targets.
18PACKAGECONFIG[working-scripts] = "--with-highlight=source-highlight,--with-highlight=no,libxslt-native xmlto-native source-highlight-native perl-native" 18PACKAGECONFIG[working-scripts] = "--with-highlight=source-highlight,--with-highlight=no,libxslt-native xmlto-native source-highlight-native perl-native"
19PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0"
19 20
20# We cannot use host perl, because it may be too old for gtk-doc 21# We cannot use host perl, because it may be too old for gtk-doc
21EXTRANATIVEPATH += "perl-native" 22EXTRANATIVEPATH += "perl-native"
@@ -23,6 +24,7 @@ EXTRANATIVEPATH += "perl-native"
23SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \ 24SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \
24 file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \ 25 file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \
25 file://0001-Do-not-error-out-if-perl-is-not-found-or-its-version.patch \ 26 file://0001-Do-not-error-out-if-perl-is-not-found-or-its-version.patch \
27 file://conditionaltests.patch \
26 " 28 "
27SRC_URI_append_class-native = " file://pkg-config-native.patch" 29SRC_URI_append_class-native = " file://pkg-config-native.patch"
28 30