core/glib2: update

This commit is contained in:
Kevin Mihelich 2020-12-15 01:41:12 +00:00
parent 42e3e37b36
commit fa30eac1a5

View file

@ -1,8 +1,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org> # Contributor: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # remove when bumped upstream
# - disable docs
pkgbase=glib2 pkgbase=glib2
pkgname=(glib2 glib2-docs) pkgname=(glib2 glib2-docs)
@ -43,7 +42,7 @@ build() {
-D selinux=disabled \ -D selinux=disabled \
-D sysprof=enabled \ -D sysprof=enabled \
-D man=true \ -D man=true \
-D gtk_doc=false -D gtk_doc=true
meson compile -C build meson compile -C build
} }
@ -71,7 +70,7 @@ package_glib2() {
"$pkgdir/usr/share/glib-2.0/codegen" "$pkgdir/usr/share/glib-2.0/codegen"
# Split docs # Split docs
#mv "$pkgdir/usr/share/gtk-doc" "$srcdir" mv "$pkgdir/usr/share/gtk-doc" "$srcdir"
} }
package_glib2-docs() { package_glib2-docs() {
@ -80,7 +79,7 @@ package_glib2-docs() {
license+=(custom) license+=(custom)
mkdir -p "$pkgdir/usr/share" mkdir -p "$pkgdir/usr/share"
#mv gtk-doc "$pkgdir/usr/share" mv gtk-doc "$pkgdir/usr/share"
install -Dt "$pkgdir/usr/share/licenses/glib2-docs" -m644 glib/docs/reference/COPYING install -Dt "$pkgdir/usr/share/licenses/glib2-docs" -m644 glib/docs/reference/COPYING
} }