[arch-commits] Commit in pango/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Mar 27 19:05:01 UTC 2021
Date: Saturday, March 27, 2021 @ 19:05:01
Author: heftig
Revision: 411123
1.48.4-1
Modified:
pango/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-27 18:10:49 UTC (rev 411122)
+++ PKGBUILD 2021-03-27 19:05:01 UTC (rev 411123)
@@ -1,9 +1,10 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
# Contributor: Jan de Groot <jgc at archlinux.org>
-pkgname=pango
-pkgver=1.48.3
-pkgrel=2
+pkgbase=pango
+pkgname=(pango pango-docs)
+pkgver=1.48.4
+pkgrel=1
epoch=1
pkgdesc="A library for layout and rendering of text"
url="https://www.pango.org/"
@@ -10,10 +11,9 @@
arch=(x86_64)
license=(LGPL)
depends=(libthai cairo libxft harfbuzz fribidi)
-makedepends=(gobject-introspection help2man git meson)
+makedepends=(gobject-introspection help2man git meson gi-docgen)
checkdepends=(ttf-dejavu cantarell-fonts noto-fonts noto-fonts-emoji)
-provides=(libpango{,cairo,ft2,xft}-1.0.so)
-_commit=9d35e956dc7e76cde6cd3ef66f880d33e5624f07 # tags/1.48.3^0
+_commit=386639c3b118cc973f714eb485877f480391f31f # tags/1.48.4^0
source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
sha256sums=('SKIP')
@@ -27,7 +27,7 @@
}
build() {
- arch-meson pango build
+ arch-meson pango build -D gtk_doc=true
meson compile -C build
}
@@ -35,8 +35,20 @@
meson test -C build --print-errorlogs
}
-package() {
+package_pango() {
+ provides=(libpango{,cairo,ft2,xft}-1.0.so)
+
DESTDIR="$pkgdir" meson install -C build
+
+ mkdir -p doc/usr/share
+ mv {"$pkgdir",doc}/usr/share/doc
}
+package_pango-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ mv doc/* "$pkgdir"
+}
+
# vim:set sw=2 et:
More information about the arch-commits
mailing list