Browse Source

[trunk] -> [extra] 'glibmm-2.66.1-2' add

master
Dudemanguy 6 months ago
parent
commit
921b5d22fe
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 19
      glibmm/trunk/PKGBUILD
  2. 19
      glibmm/x86_64/extra/PKGBUILD

19
glibmm/trunk/PKGBUILD

@ -1,16 +1,17 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase=glibmm
pkgname=(glibmm glibmm-docs)
pkgver=2.66.1
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for GLib"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(glib2 libsigc++)
makedepends=(git mm-common perl-xml-parser clang meson)
makedepends=(git meson mm-common perl-xml-parser clang)
checkdepends=(glib-networking)
options=(!emptydirs)
_commit=6900bf628d07f66e32e2321a46922ebdea15bc21 # tags/2.66.1^0
@ -18,16 +19,16 @@ source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgbase
cd glibmm
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
cd glibmm
}
build() {
arch-meson $pkgbase build -D maintainer-mode=true
arch-meson glibmm build -D maintainer-mode=true
meson compile -C build
}
@ -36,10 +37,14 @@ check() {
}
package_glibmm() {
depends+=(libsigc-2.0.so)
provides=(libglibmm-2.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_glibmm-docs() {
@ -47,5 +52,5 @@ package_glibmm-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

19
glibmm/x86_64/extra/PKGBUILD

@ -1,16 +1,17 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase=glibmm
pkgname=(glibmm glibmm-docs)
pkgver=2.66.1
pkgrel=1
pkgrel=2
pkgdesc="C++ bindings for GLib"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(glib2 libsigc++)
makedepends=(git mm-common perl-xml-parser clang meson)
makedepends=(git meson mm-common perl-xml-parser clang)
checkdepends=(glib-networking)
options=(!emptydirs)
_commit=6900bf628d07f66e32e2321a46922ebdea15bc21 # tags/2.66.1^0
@ -18,16 +19,16 @@ source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgbase
cd glibmm
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgbase
cd glibmm
}
build() {
arch-meson $pkgbase build -D maintainer-mode=true
arch-meson glibmm build -D maintainer-mode=true
meson compile -C build
}
@ -36,10 +37,14 @@ check() {
}
package_glibmm() {
depends+=(libsigc-2.0.so)
provides=(libglibmm-2.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_glibmm-docs() {
@ -47,5 +52,5 @@ package_glibmm-docs() {
depends=()
options=(!strip)
mv docs/* "$pkgdir"
mv -t "$pkgdir" docs/*
}

Loading…
Cancel
Save