summaryrefslogblamecommitdiff
path: root/user/gtkmm+3.0/APKBUILD
blob: 66014ee210ce2978e64f3dba515cbc42a3b861d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                           
                 
             






                                   

                                                                          




                                                                                   
               


                                         








                                            


         
                            


           
                                                 
 
                                                                                                                                                                  
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=gtkmm+3.0
pkgver=3.24.6
pkgrel=0
pkgdesc="C++ interfaces for GTK+ 3"
url="https://gnome.org"
arch="all"
options="!check" # Tests require X
license="GPL-2.0+ AND LGPL-2.1+"
depends=""
makedepends="atkmm-dev cairomm-dev doxygen glibmm-dev graphviz gtk+3.0-dev
	meson ninja pangomm-dev cmd:xsltproc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz"
builddir="$srcdir/gtkmm-$pkgver"

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

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="d6fc2d0689baca2b968820d1af86cc0b175b6f38f720d315bc50663d30bd0a841da57ac4336abec236542fb2893b28b2de84087419b73aba58b41f07568d4d93  gtkmm-3.24.6.tar.xz"