[arch-commits] Commit in gtk4/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Mar 30 21:18:27 UTC 2021
Date: Tuesday, March 30, 2021 @ 21:18:26
Author: heftig
Revision: 411295
4.2.0-1
Modified:
gtk4/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-30 21:16:48 UTC (rev 411294)
+++ PKGBUILD 2021-03-30 21:18:26 UTC (rev 411295)
@@ -1,8 +1,8 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
pkgbase=gtk4
-pkgname=(gtk4 gtk-update-icon-cache)
-pkgver=4.0.3+61+gcb05be0aa5
+pkgname=(gtk4 gtk-update-icon-cache gtk4-docs)
+pkgver=4.2.0
pkgrel=1
epoch=1
pkgdesc="GObject-based multi-platform GUI toolkit"
@@ -15,10 +15,10 @@
vulkan-icd-loader vulkan-headers libcloudproviders libcups rest
json-glib ffmpeg gst-plugins-bad-libs librsvg dconf shared-mime-info
desktop-file-utils adwaita-icon-theme cantarell-fonts)
-makedepends=(git meson gtk-doc glib2-docs python shaderc sassc
- gobject-introspection pandoc)
+makedepends=(git meson gi-docgen shaderc sassc gobject-introspection
+ docbook-xsl)
license=(LGPL)
-_commit=cb05be0aa5e954f6e1a5bd76c37c610614f719c0 # gtk-4.0
+_commit=ccbbc2f2babcfaee88d8d8040938ca6bf39d05b6 # tags/4.2.0^0
source=("git+https://gitlab.gnome.org/GNOME/gtk.git#commit=$_commit"
gtk-update-icon-cache.{hook,script} gtk4-querymodules.hook)
sha256sums=('SKIP'
@@ -36,7 +36,9 @@
}
build() {
- CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
+ # https://gitlab.gnome.org/GNOME/gtk/-/commit/df4b564d69cc7d2e751537eff61259b36f37e9e5
+ CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
+
arch-meson gtk build \
-D broadway_backend=true \
-D cloudproviders=enabled \
@@ -45,7 +47,6 @@
-D gtk_doc=true \
-D man-pages=true
meson compile -C build
- ninja -C build g{d,s,t}k4-doc
}
package_gtk4() {
@@ -67,6 +68,10 @@
mkdir -p guic/usr/{bin,share/man/man1}
mv {"$pkgdir",guic}/usr/bin/gtk4-update-icon-cache
mv {"$pkgdir",guic}/usr/share/man/man1/gtk4-update-icon-cache.1
+
+ # split docs
+ mkdir -p doc/usr/share
+ mv {"$pkgdir",doc}/usr/share/doc
}
package_gtk-update-icon-cache() {
@@ -81,4 +86,10 @@
install -D gtk-update-icon-cache.script "$pkgdir/usr/share/libalpm/scripts/gtk-update-icon-cache"
}
+package_gtk4-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+ mv -t "$pkgdir" doc/*
+}
+
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list