diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-09-28 22:25:42 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-09-28 22:25:49 -0300 |
commit | 1945ffbcc865d285f89bea2421445893b71b7367 (patch) | |
tree | 20f385cc2a61a66593bc946a6e7430657809acb5 | |
parent | 302c769d37889142fffd739afe2af144b5a5cefc (diff) |
community/cairomm: upgrade to 1.14.0
-rw-r--r-- | community/cairomm/APKBUILD | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/community/cairomm/APKBUILD b/community/cairomm/APKBUILD index 8dd7a9e589c..fe9da626af3 100644 --- a/community/cairomm/APKBUILD +++ b/community/cairomm/APKBUILD @@ -1,33 +1,24 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cairomm -pkgver=1.12.2 -pkgrel=3 +pkgver=1.14.0 +pkgrel=0 pkgdesc="C++ bindings to Cairo vector graphics library" url="https://www.cairographics.org" arch="all" license="LGPL-2.0-or-later AND MPL-1.1" -depends_dev="libsigc++-dev" -makedepends="$depends_dev cairo-dev perl" -subpackages="$pkgname-dev $pkgname-doc" -source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz" +makedepends="meson libsigc++-dev cairo-dev perl" +subpackages="$pkgname-dev" +source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz" build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr - make + abuild-meson \ + -Dboost-shared=true \ + . output + meson compile ${JOBS:+-j ${JOBS}} -C output } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install --no-rebuild -C output } -doc() { - default_doc - - mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share - rmdir "$pkgdir"/usr/share -} - -sha512sums="df2749e3865dfddf04c40b671453e057e7e76c5052bfc38d5b986c544b7ec43de40b1ef5b4d0e34f58781230d4b220c4176ddef773cd6a316c73641c4aec77c0 cairomm-1.12.2.tar.gz" +sha512sums="05d2123a53700f3d0092e75c798847883493d3f803b2f6f47511ea0008d42e417688a00f1a0d50bda97a9661da9141185709011859c9390f0bece5b093c0acf6 cairomm-1.14.0.tar.xz" |