mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 17:55:15 +03:00
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=glibmm
|
|
pkgver=2.66.5
|
|
pkgrel=0
|
|
pkgdesc="C++ wrapper for the GLib toolkit"
|
|
url="https://www.gtkmm.org/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="glib-dev libsigc++-dev perl meson m4 doxygen graphviz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://download.gnome.org/sources/glibmm/${pkgver%.*}/glibmm-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dbuild-documentation=true \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
dev() {
|
|
mkdir -p "$subpkgdir"/usr/lib/
|
|
mv "$pkgdir"/usr/lib/glibmm-2.4 "$subpkgdir"/usr/lib/
|
|
default_dev
|
|
}
|
|
|
|
doc() {
|
|
default_doc
|
|
mkdir -p "$subpkgdir"/usr/share/
|
|
mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share/
|
|
}
|
|
|
|
sha512sums="
|
|
3c1f91a1d91c23c5975254f5bf499f6752b6e3f1b056511133722cdfc853ffd2a94c375c0441dbb3f0933e7a257449ca4e365355ed580bd72d88c08d99a76684 glibmm-2.66.5.tar.xz
|
|
"
|