Date: Monday, February 20, 2023 @ 19:19:12
Author: heftig
Revision: 469296
archrelease: copy trunk to testing-x86_64
Added:
pango/repos/testing-x86_64/
pango/repos/testing-x86_64/PKGBUILD
(from rev 469295, pango/trunk/PKGBUILD)
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
Copied: pango/repos/testing-x86_64/PKGBUILD (from rev 469295,
pango/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-02-20 19:19:12 UTC (rev 469296)
@@ -0,0 +1,71 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgbase=pango
+pkgname=(
+ pango
+ pango-docs
+)
+pkgver=1.50.13
+pkgrel=1
+epoch=1
+pkgdesc="A library for layout and rendering of text"
+url="https://www.pango.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(
+ cairo
+ fribidi
+ harfbuzz
+ libthai
+ libxft
+)
+makedepends=(
+ gi-docgen
+ git
+ gobject-introspection
+ help2man
+ meson
+)
+_commit=5e912b951efe4976adaf328a561f2a26ec794095 # tags/1.50.13^0
+source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd pango
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd pango
+}
+
+build() {
+ local meson_options=(
+ -D gtk_doc=true
+ )
+
+ arch-meson pango build "${meson_options[@]}"
+ meson compile -C build
+}
+
+# not running checks: validation breaks when deps
+# (especially harfbuzz) don't match upstream CI
+
+package_pango() {
+ provides=(libpango{,cairo,ft2,xft}-1.0.so)
+
+ meson install -C build --destdir "$pkgdir"
+
+ mkdir -p doc/usr/share
+ mv {"$pkgdir",doc}/usr/share/doc
+}
+
+package_pango-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+
+ mv doc/* "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: