2013-04-24 16:59:18 +00:00
|
|
|
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."
|
2012-03-12 22:28:56 +00:00
|
|
|
LICENSE = "GPLv2 & LGPLv2.1"
|
2011-10-18 17:24:55 +00:00
|
|
|
DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0"
|
2012-10-27 08:48:17 +00:00
|
|
|
DEPENDS_class-native = "libxml2-native libxslt-native intltool-native glib-2.0-native"
|
2009-06-10 10:07:02 +00:00
|
|
|
|
2012-07-20 16:19:10 +00:00
|
|
|
inherit gnome gettext python-dir pythonnative
|
2009-06-10 10:07:02 +00:00
|
|
|
|
2011-08-09 18:36:32 +00:00
|
|
|
EXTRA_OECONF += "--disable-scrollkeeper"
|
2009-06-10 10:07:02 +00:00
|
|
|
|
2009-11-17 21:38:51 +00:00
|
|
|
do_install_append() {
|
|
|
|
mkdir -p ${D}${datadir}/xml/gnome/xslt/
|
|
|
|
cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
|
2011-06-20 18:24:19 +00:00
|
|
|
|
|
|
|
chown -R root:root ${D}
|
2009-06-10 10:07:02 +00:00
|
|
|
}
|
|
|
|
|
2012-07-20 16:19:10 +00:00
|
|
|
do_install_append_class-native () {
|
2013-06-12 16:42:25 +00:00
|
|
|
sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/xml2po
|
2012-07-20 16:19:10 +00:00
|
|
|
}
|
|
|
|
|
2011-07-18 15:46:35 +00:00
|
|
|
FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*"
|
2010-12-21 10:42:02 +00:00
|
|
|
|
2011-07-07 16:40:42 +00:00
|
|
|
RDEPENDS_${PN} = "bash"
|
2012-10-27 08:48:17 +00:00
|
|
|
RDEPENDS_${PN}_class-native = ""
|
2011-07-07 16:40:42 +00:00
|
|
|
|
2010-12-21 10:42:02 +00:00
|
|
|
BBCLASSEXTEND = "native"
|