Browse Source

[trunk] -> [extra] 'pangomm-2.46.1-2' add

master
Dudemanguy 6 months ago
parent
commit
51a5fffe1c
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 20
      pangomm/trunk/PKGBUILD
  2. 20
      pangomm/x86_64/extra/PKGBUILD

20
pangomm/trunk/PKGBUILD

@ -1,32 +1,32 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=pangomm
pkgname=(pangomm pangomm-docs)
pkgver=2.46.1
pkgrel=1
pkgrel=2
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)
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 $pkgbase
cd pangomm
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
cd pangomm
}
build() {
arch-meson $pkgbase build -D maintainer-mode=true
arch-meson pangomm build -D maintainer-mode=true
meson compile -C build
}
@ -35,10 +35,14 @@ check() {
}
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 "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_pangomm-docs() {
@ -46,5 +50,5 @@ package_pangomm-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

20
pangomm/x86_64/extra/PKGBUILD

@ -1,32 +1,32 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=pangomm
pkgname=(pangomm pangomm-docs)
pkgver=2.46.1
pkgrel=1
pkgrel=2
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)
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 $pkgbase
cd pangomm
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
cd pangomm
}
build() {
arch-meson $pkgbase build -D maintainer-mode=true
arch-meson pangomm build -D maintainer-mode=true
meson compile -C build
}
@ -35,10 +35,14 @@ check() {
}
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 "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_pangomm-docs() {
@ -46,5 +50,5 @@ package_pangomm-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save