|
Lines 43-63
python_prepare_all() {
Link Here
|
| 43 |
do_xsltproc_command() { |
43 |
do_xsltproc_command() { |
| 44 |
# Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils) |
44 |
# Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils) |
| 45 |
xsltproc \ |
45 |
xsltproc \ |
| 46 |
--nonet \ |
46 |
--nonet \ |
| 47 |
--stringparam man.output.quietly 1 \ |
47 |
--stringparam man.output.quietly 1 \ |
| 48 |
--stringparam funcsynopsis.style ansi \ |
48 |
--stringparam funcsynopsis.style ansi \ |
| 49 |
--stringparam man.th.extra1.suppress 1 \ |
49 |
--stringparam man.th.extra1.suppress 1 \ |
| 50 |
--stringparam man.authors.section.enabled 0 \ |
50 |
--stringparam man.authors.section.enabled 0 \ |
| 51 |
--stringparam man.copyright.section.enabled 0 \ |
51 |
--stringparam man.copyright.section.enabled 0 \ |
| 52 |
-o "${2}" \ |
52 |
-o "${2}" \ |
| 53 |
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ |
53 |
/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl \ |
| 54 |
"${1}" || die "manpage generation failed" |
54 |
"${1}" || die "manpage generation failed" |
| 55 |
} |
55 |
} |
| 56 |
|
56 |
|
| 57 |
src_compile() { |
57 |
src_compile() { |
| 58 |
distutils-r1_src_compile |
58 |
distutils-r1_src_compile |
| 59 |
do_xsltproc_command "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.xml" "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" |
59 |
do_xsltproc_command "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.xml" "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" |
| 60 |
} |
60 |
} |
| 61 |
|
61 |
|
| 62 |
src_test() { |
62 |
src_test() { |
| 63 |
einfo "Skipping tests. This package is tested by dev-libs/glib" |
63 |
einfo "Skipping tests. This package is tested by dev-libs/glib" |