diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:31:25 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:26 +0000 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /import-layers/yocto-poky/meta/recipes-gnome/gnome/gnome-doc-utils.inc | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.gz blackbird-openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.zip |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-gnome/gnome/gnome-doc-utils.inc')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-gnome/gnome/gnome-doc-utils.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/import-layers/yocto-poky/meta/recipes-gnome/gnome/gnome-doc-utils.inc new file mode 100644 index 000000000..8adfac7d7 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-gnome/gnome/gnome-doc-utils.inc @@ -0,0 +1,30 @@ +SUMMARY = "A collection of documentation utilities for the Gnome project" +DESCRIPTION = "The GNOME Documentation Build Utilities (gnome-doc- \ +utils) were created to make it easier for application developers to \ +include and create documentation in their releases. They include the \ +xml2po tool which makes it easier to translate and keep up to date \ +translations of documentation." +LICENSE = "GPLv2 & LGPLv2.1" +DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0" +DEPENDS_class-native = "libxml2-native libxslt-native intltool-native glib-2.0-native" + +inherit gnomebase gettext python-dir pythonnative autotools-brokensep + +CLEANBROKEN = "1" + +EXTRA_OECONF += "--disable-scrollkeeper" + +do_install_append() { + chown -R root:root ${D} +} + +do_install_append_class-native () { + sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/xml2po +} + +FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*" + +RDEPENDS_${PN} = "bash" +RDEPENDS_${PN}_class-native = "" + +BBCLASSEXTEND = "native" |