summaryrefslogtreecommitdiff
path: root/user/cairomm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/cairomm/APKBUILD')
-rw-r--r--user/cairomm/APKBUILD36
1 files changed, 21 insertions, 15 deletions
diff --git a/user/cairomm/APKBUILD b/user/cairomm/APKBUILD
index 33abf8249..f06e312d9 100644
--- a/user/cairomm/APKBUILD
+++ b/user/cairomm/APKBUILD
@@ -1,34 +1,40 @@
-# Contributor: Sheila Aman <sheila@vulpine.house>
-# Maintainer: Sheila Aman <sheila@vulpine.house>
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=cairomm
-pkgver=1.12.2
+pkgver=1.14.3
pkgrel=0
pkgdesc="C++ interfaces to Cairo"
url="https://gnome.org"
arch="all"
+options="!check" # broken test
license="LGPL-2.1+"
depends=""
-makedepends="glibmm-dev libsigc++-dev cairo-dev"
+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.gz"
+source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz"
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
+ meson \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
- make
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ -Dbuild-documentation=true \
+ -Dbuild-examples=false \
+ -Dbuild-tests=true \
+ -Dboost-shared=true \
+ . output
+ ninja -C output
}
check() {
- make check
+ ninja -C output test
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C output install
}
-
-sha512sums="df2749e3865dfddf04c40b671453e057e7e76c5052bfc38d5b986c544b7ec43de40b1ef5b4d0e34f58781230d4b220c4176ddef773cd6a316c73641c4aec77c0 cairomm-1.12.2.tar.gz"
+sha512sums="8dc8a0de733904742c54d4935b596d4103f2e498c6735894bc6a5a81eb4962c6ea944bad94102b18b25850f78e948d38f117c566b197bc76da23a4e88b62ee4e cairomm-1.14.3.tar.xz"