summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gnome/gnome-doc-utils.inc
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 01:05:19 (GMT)
committerTudor Florea <tudor.florea@enea.com>2014-10-16 01:05:19 (GMT)
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-gnome/gnome/gnome-doc-utils.inc
downloadpoky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-gnome/gnome/gnome-doc-utils.inc')
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
new file mode 100644
index 0000000..e148ce3
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -0,0 +1,31 @@
1SUMMARY = "A collection of documentation utilities for the Gnome project"
2DESCRIPTION = "The GNOME Documentation Build Utilities (gnome-doc- \
3utils) were created to make it easier for application developers to \
4include and create documentation in their releases. They include the \
5xml2po tool which makes it easier to translate and keep up to date \
6translations of documentation."
7LICENSE = "GPLv2 & LGPLv2.1"
8DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0"
9DEPENDS_class-native = "libxml2-native libxslt-native intltool-native glib-2.0-native"
10
11inherit gnomebase gettext python-dir pythonnative autotools-brokensep
12
13EXTRA_OECONF += "--disable-scrollkeeper"
14
15do_install_append() {
16 mkdir -p ${D}${datadir}/xml/gnome/xslt/
17 cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
18
19 chown -R root:root ${D}
20}
21
22do_install_append_class-native () {
23 sed -i -e 's|^#!.*/usr/bin/env python|#! /usr/bin/env nativepython|' ${D}${bindir}/xml2po
24}
25
26FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*"
27
28RDEPENDS_${PN} = "bash"
29RDEPENDS_${PN}_class-native = ""
30
31BBCLASSEXTEND = "native"