summaryrefslogblamecommitdiff
path: root/user/cairomm/APKBUILD
blob: 6d318988fcec20e71c5adee9d8ea0bf9d4e61668 (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=cairomm
pkgver=1.14.4
pkgrel=0
pkgdesc="C++ interfaces to Cairo"
url="https://gnome.org"
arch="all"
options="!check" # broken test
license="LGPL-2.1+"
depends=""
makedepends="boost-dev cairo-dev doxygen fontconfig-dev glibmm-dev graphviz
	libsigc++-dev meson ninja cmd:xsltproc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz"

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

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="9e2692837f55a2e66cd7e9d0a8033a35524df1c3186a53a9be75d71e899240dbc8959c914471e61e311812dabaf815e732142686b42fbdc75a71c05b41013d33  cairomm-1.14.4.tar.xz"