mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
gtk-doc: bump to 1.28. (#2473)
This commit is contained in:
95
dev-util/gtk_doc/gtk_doc-1.28.recipe
Normal file
95
dev-util/gtk_doc/gtk_doc-1.28.recipe
Normal file
@@ -0,0 +1,95 @@
|
||||
SUMMARY="Generate documentation from C sources"
|
||||
DESCRIPTION="GTK-Doc is a project which was started to generate API \
|
||||
documentation from comments added to C code. It is typically used to \
|
||||
document the public API of GTK+ and GNOME libraries, but it can also \
|
||||
be used to document application code."
|
||||
HOMEPAGE="https://www.gtk.org/gtk-doc/"
|
||||
COPYRIGHT="2002-2018 Damon Chaplin and Owen Taylor"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.gnome.org/sources/gtk-doc/$portVersion/gtk-doc-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="911e29e302252c96128965ee1f4067d5431a88e00ad1023a8bc1d6b922af5715"
|
||||
SOURCE_DIR="gtk-doc-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
gtk_doc = $portVersion
|
||||
cmd:gtkdoc_check
|
||||
cmd:gtkdoc_depscan
|
||||
cmd:gtkdoc_fixxref
|
||||
cmd:gtkdoc_mkdb
|
||||
cmd:gtkdoc_mkhtml
|
||||
cmd:gtkdoc_mkhtml2
|
||||
cmd:gtkdoc_mkman
|
||||
cmd:gtkdoc_mkpdf
|
||||
cmd:gtkdoc_rebase
|
||||
cmd:gtkdoc_scan
|
||||
cmd:gtkdoc_scangobj
|
||||
cmd:gtkdocize
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:perl
|
||||
cmd:python2
|
||||
six_python
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
docbook_xml_dtd
|
||||
docbook_xsl_stylesheets
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:itstool
|
||||
cmd:make
|
||||
cmd:msgfmt
|
||||
cmd:perl
|
||||
cmd:pkg_config
|
||||
cmd:python2
|
||||
cmd:xsltproc
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
six_python
|
||||
devel:libglib_2.0
|
||||
cmd:bc
|
||||
cmd:xmllint
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# Generate an XML catalog that includes both the Docbook-XML and Docbook-XSL
|
||||
# ones. Linux distros populate a global catalog file using post-install
|
||||
# scripts in the docbook packages, but we don't have that yet.
|
||||
echo "<!DOCTYPE catalog
|
||||
PUBLIC \"-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN\"
|
||||
\"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd\">
|
||||
<catalog xmlns=\"urn:oasis:names:tc:entity:xmlns:xml:catalog\"
|
||||
prefer=\"public\">
|
||||
" > xmlcat
|
||||
|
||||
for i in /system/data/xml/catalog/*
|
||||
do
|
||||
echo " <nextCatalog catalog=\"file://$i\"/>" >> xmlcat
|
||||
done
|
||||
|
||||
echo "</catalog>" >> xmlcat
|
||||
|
||||
runConfigure ./configure --with-highlight=auto --with-xml-catalog=`pwd`/xmlcat
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
PATH="$sourceDir:$PATH" make check
|
||||
}
|
||||
Reference in New Issue
Block a user