gtk-doc: adopted port

This commit is contained in:
Tim Biermann 2023-08-18 19:43:22 +02:00
parent fdf5160244
commit fcc0f59d37
2 changed files with 15 additions and 10 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF378o0N+w058CM/14M9CWypj0SwCy8bLTJQPze850cKFlms51f5E2CJpduZbQaQbqu3SegKZqvMgSuNpbjBG7Egw=
SHA256 (Pkgfile) = bcea5cf55fbdbc8cb1f89c763e73688c53845b4f613a92f558681a8bfa226296
RWSagIOpLGJF301brKmjUEMYcqrKPN+3qKji0n6h/4NJseLwSj6YuaxKe4h2WLL7H5gE7HBkw8ttTnbWgGxHQ12aE6oKjTP63wc=
SHA256 (Pkgfile) = 19b9f44a714b21df435f4ee451cd0401f6ebd7df924f994533e2efd0184bed1c
SHA256 (.footprint) = 9d314f5e0f30729d5eb3f8a0ed1c45ed4568412f945c12c2b79242ebd034a1f6
SHA256 (gtk-doc-1.33.2.tar.xz) = cc1b709a20eb030a278a1f9842a362e00402b7f834ae1df4c1998a723152bf43

View File

@ -1,20 +1,25 @@
# Description: GTK+ Documentation Generator
# URL: https://wiki.gnome.org/DocumentationProject/GtkDoc
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: docbook-xsl glib itstool python3-pygments
name=gtk-doc
version=1.33.2
release=1
release=2
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
build() {
meson setup build $name-$version ${PKGMK_GTK_DOC} \
--prefix=/usr \
--buildtype=plain
meson setup gtk-doc-$version build \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D tests=false \
-D yelp_manual=false
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
meson compile -C build
DESTDIR=$PKG meson install -C build
rm -r $PKG/usr/share/help
#rm -r $PKG/usr/share/help
}