[arch-commits] Commit in pango/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Mar 27 19:05:46 UTC 2021


    Date: Saturday, March 27, 2021 @ 19:05:45
  Author: heftig
Revision: 411124

archrelease: copy trunk to extra-x86_64

Added:
  pango/repos/extra-x86_64/PKGBUILD
    (from rev 411123, pango/trunk/PKGBUILD)
Deleted:
  pango/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 54 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-27 19:05:01 UTC (rev 411123)
+++ PKGBUILD	2021-03-27 19:05:45 UTC (rev 411124)
@@ -1,42 +0,0 @@
-# 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
-epoch=1
-pkgdesc="A library for layout and rendering of text"
-url="https://www.pango.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(libthai cairo libxft harfbuzz fribidi)
-makedepends=(gobject-introspection help2man git meson)
-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
-source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd pango
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd pango
-}
-
-build() {
-  arch-meson pango build
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-}
-
-# vim:set sw=2 et:

Copied: pango/repos/extra-x86_64/PKGBUILD (from rev 411123, pango/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-27 19:05:45 UTC (rev 411124)
@@ -0,0 +1,54 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+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/"
+arch=(x86_64)
+license=(LGPL)
+depends=(libthai cairo libxft harfbuzz fribidi)
+makedepends=(gobject-introspection help2man git meson gi-docgen)
+checkdepends=(ttf-dejavu cantarell-fonts noto-fonts noto-fonts-emoji)
+_commit=386639c3b118cc973f714eb485877f480391f31f  # tags/1.48.4^0
+source=("git+https://gitlab.gnome.org/GNOME/pango.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd pango
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd pango
+}
+
+build() {
+  arch-meson pango build -D gtk_doc=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+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