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

Jan Steffens heftig at archlinux.org
Thu May 27 17:31:37 UTC 2021


    Date: Thursday, May 27, 2021 @ 17:31:37
  Author: heftig
Revision: 416591

archrelease: copy trunk to extra-x86_64

Added:
  pangomm/repos/extra-x86_64/PKGBUILD
    (from rev 416589, pangomm/trunk/PKGBUILD)
Deleted:
  pangomm/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 54 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 17:31:36 UTC (rev 416590)
+++ PKGBUILD	2021-05-27 17:31:37 UTC (rev 416591)
@@ -1,50 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=pangomm
-pkgname=(pangomm pangomm-docs)
-pkgver=2.46.1
-pkgrel=1
-pkgdesc="C++ bindings for Pango"
-url="https://www.gtkmm.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(pango glibmm cairomm)
-makedepends=(git mm-common glibmm-docs cairomm-docs meson)
-options=(!emptydirs)
-_commit=2ed5891a274b65e0ab1cf2effe556d3963870040  # tags/2.46.1^0
-source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgbase
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgbase
-}
-
-build() {
-  arch-meson $pkgbase build -D maintainer-mode=true
-  meson compile -C build
-}
-
-check() {
-  meson test -C build --print-errorlogs
-}
-
-package_pangomm() {
-  meson install -C build --destdir "$pkgdir"
-
-  mkdir -p docs/usr/share
-  mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
-}
-
-package_pangomm-docs() {
-  pkgdesc+=" (documentation)"
-  depends=()
-  options=(!strip)
-
-  mv docs/* "$pkgdir"
-}

Copied: pangomm/repos/extra-x86_64/PKGBUILD (from rev 416589, pangomm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-27 17:31:37 UTC (rev 416591)
@@ -0,0 +1,54 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=pangomm
+pkgname=(pangomm pangomm-docs)
+pkgver=2.46.1
+pkgrel=2
+pkgdesc="C++ bindings for Pango"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(pango glibmm cairomm)
+makedepends=(git meson mm-common glibmm-docs cairomm-docs)
+options=(!emptydirs)
+_commit=2ed5891a274b65e0ab1cf2effe556d3963870040  # tags/2.46.1^0
+source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd pangomm
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd pangomm
+}
+
+build() {
+  arch-meson pangomm build -D maintainer-mode=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package_pangomm() {
+  depends+=(libsigc-2.0.so libglibmm-2.4.so libcairomm-1.0.so)
+  provides=(libpangomm-1.4.so)
+
+  meson install -C build --destdir "$pkgdir"
+
+  # Split -docs
+  mkdir -p docs/usr/share
+  mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
+}
+
+package_pangomm-docs() {
+  pkgdesc+=" (documentation)"
+  depends=()
+  options=(!strip)
+
+  mv -t "$pkgdir" docs/*
+}



More information about the arch-commits mailing list