summaryrefslogblamecommitdiff
path: root/user/gtkmm+3.0/APKBUILD
blob: e877b5902339d5070aa3e8a3f613e8afa8543880 (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.7
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="2ede6d77df5cbaa6ea3ee347d8b949e38512db7f5e9b36cb6f531eb259d5986f84ebfc6bb0cdaac1be4dc97e9d611515995184d245e2c0fab2cd8ebcae933a98  gtkmm-3.24.7.tar.xz"