summaryrefslogblamecommitdiff
path: root/user/glibmm/APKBUILD
blob: 1f43d222393797a450ef9c8714be94a02653b4ca (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           
              
             



                                 
                

                                

                                                                        



                                                                                     
               


                                         





                                            


         
                            


           
                                                 

 
                                                                                                                                                                   
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=glibmm
pkgver=2.66.5
pkgrel=0
pkgdesc="C++ interfaces for glib"
url="https://gnome.org"
arch="all"
options="!check"
license="GPL-2.0+ AND LGPL-2.1+"
depends="glib-networking"
makedepends="doxygen glib-dev>=2.60.0 graphviz libsigc++-dev meson ninja
	cmd:xsltproc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/glibmm/${pkgver%.*}/glibmm-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		-Dbuild-documentation=true \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="3c1f91a1d91c23c5975254f5bf499f6752b6e3f1b056511133722cdfc853ffd2a94c375c0441dbb3f0933e7a257449ca4e365355ed580bd72d88c08d99a76684  glibmm-2.66.5.tar.xz"