Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "A collection of documentation utilities for the Gnome project" |
| 2 | DESCRIPTION = "The GNOME Documentation Build Utilities (gnome-doc- \ |
| 3 | utils) were created to make it easier for application developers to \ |
| 4 | include and create documentation in their releases. They include the \ |
| 5 | xml2po tool which makes it easier to translate and keep up to date \ |
| 6 | translations of documentation." |
| 7 | LICENSE = "GPLv2 & LGPLv2.1" |
| 8 | DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0" |
| 9 | DEPENDS_class-native = "libxml2-native libxslt-native intltool-native glib-2.0-native" |
| 10 | |
| 11 | inherit gnomebase gettext python-dir pythonnative autotools-brokensep |
| 12 | |
| 13 | CLEANBROKEN = "1" |
| 14 | |
| 15 | EXTRA_OECONF += "--disable-scrollkeeper" |
| 16 | |
| 17 | do_install_append() { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | chown -R root:root ${D} |
| 19 | } |
| 20 | |
| 21 | do_install_append_class-native () { |
| 22 | sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/xml2po |
| 23 | } |
| 24 | |
| 25 | FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*" |
| 26 | |
| 27 | RDEPENDS_${PN} = "bash" |
| 28 | RDEPENDS_${PN}_class-native = "" |
| 29 | |
| 30 | BBCLASSEXTEND = "native" |