* add pangomm-2.48

This commit is contained in:
Alexander Baldeck 2024-07-09 23:11:08 +02:00
parent 3ea4175611
commit aa8f19b891
2 changed files with 110 additions and 0 deletions

32
pangomm-2.48/.SRCINFO Normal file
View File

@ -0,0 +1,32 @@
pkgbase = pangomm-2.48
pkgdesc = C++ bindings for Pango
pkgver = 2.52.0
pkgrel = 1
url = https://www.gtkmm.org/
arch = x86_64
license = LGPL-2.1-or-later
makedepends = cairomm-1.16-docs
makedepends = git
makedepends = glibmm-2.68-docs
makedepends = meson
makedepends = mm-common
depends = cairomm-1.16
depends = glibmm-2.68
depends = pango
options = !emptydirs
source = git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=a767b1b98003ae3d7defa838af789616395d2602
b2sums = SKIP
pkgname = pangomm-2.48
depends = cairomm-1.16
depends = glibmm-2.68
depends = pango
depends = libcairomm-1.16.so
depends = libglibmm-2.68.so
depends = libsigc-3.0.so
provides = libpangomm-2.48.so
pkgname = pangomm-2.48-docs
pkgdesc = C++ bindings for Pango (documentation)
depends =
options = !strip

78
pangomm-2.48/PKGBUILD Normal file
View File

@ -0,0 +1,78 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=pangomm-2.48
pkgname=(
pangomm-2.48
pangomm-2.48-docs
)
pkgver=2.52.0
pkgrel=1
pkgdesc="C++ bindings for Pango"
url="https://www.gtkmm.org/"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=(LGPL-2.1-or-later)
depends=(
cairomm-1.16
glibmm-2.68
pango
)
makedepends=(
cairomm-1.16-docs
git
glibmm-2.68-docs
meson
mm-common
)
options=(!emptydirs)
_commit=a767b1b98003ae3d7defa838af789616395d2602 # tags/2.52.0^0
source=("git+https://gitlab.gnome.org/GNOME/pangomm.git#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd pangomm
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd pangomm
}
build() {
local meson_options=(
-D maintainer-mode=true
)
arch-meson pangomm build "${meson_options[@]}"
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package_pangomm-2.48() {
depends+=(
libcairomm-1.16.so
libglibmm-2.68.so
libsigc-3.0.so
)
provides=(libpangomm-2.48.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-2.48-docs() {
pkgdesc+=" (documentation)"
depends=()
options=(!strip)
mv -t "$pkgdir" docs/*
}
# vim:set sw=2 sts=-1 et: