diff options
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.bb | 8 |
1 files changed, 6 insertions, 2 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 3d1cdae385..6af996e359 100644 --- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb +++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.25.bb | |||
| @@ -5,7 +5,7 @@ HOMEPAGE = "http://www.gtk.org/gtk-doc/" | |||
| 5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 7 | 7 | ||
| 8 | inherit gnomebase perlnative | 8 | inherit gnomebase |
| 9 | 9 | ||
| 10 | # Configure the scripts correctly (and build their dependencies) only if they are actually | 10 | # Configure the scripts correctly (and build their dependencies) only if they are actually |
| 11 | # going to be used; otheriwse we need only the m4/makefile includes from the gtk-doc tarball. | 11 | # going to be used; otheriwse we need only the m4/makefile includes from the gtk-doc tarball. |
| @@ -15,10 +15,14 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "api-documentation", | |||
| 15 | # into its scripts. This means that target gtk-doc package is broken; | 15 | # into its scripts. This means that target gtk-doc package is broken; |
| 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. |
| 18 | PACKAGECONFIG[working-scripts] = "--with-highlight=source-highlight,--with-highlight=no,libxslt-native xmlto-native source-highlight-native" | 18 | PACKAGECONFIG[working-scripts] = "--with-highlight=source-highlight,--with-highlight=no,libxslt-native xmlto-native source-highlight-native perl-native" |
| 19 | |||
| 20 | # We cannot use host perl, because it may be too old for gtk-doc | ||
| 21 | EXTRANATIVEPATH += "perl-native" | ||
| 19 | 22 | ||
| 20 | SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \ | 23 | SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \ |
| 21 | file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \ | 24 | 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 \ | ||
| 22 | " | 26 | " |
| 23 | SRC_URI_append_class-native = " file://pkg-config-native.patch" | 27 | SRC_URI_append_class-native = " file://pkg-config-native.patch" |
| 24 | 28 | ||
