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 /community/cairomm | |
parent | 302c769d37889142fffd739afe2af144b5a5cefc (diff) | |
download | alpine_aports-1945ffbcc865d285f89bea2421445893b71b7367.tar.bz2 alpine_aports-1945ffbcc865d285f89bea2421445893b71b7367.tar.xz alpine_aports-1945ffbcc865d285f89bea2421445893b71b7367.zip |
community/cairomm: upgrade to 1.14.0
Diffstat (limited to 'community/cairomm')
-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 8dd7a9e589..fe9da626af 100644 --- a/community/cairomm/APKBUILD +++ b/community/cairomm/APKBUILD | |||
@@ -1,33 +1,24 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=cairomm | 2 | pkgname=cairomm |
3 | pkgver=1.12.2 | 3 | pkgver=1.14.0 |
4 | pkgrel=3 | 4 | pkgrel=0 |
5 | pkgdesc="C++ bindings to Cairo vector graphics library" | 5 | pkgdesc="C++ bindings to Cairo vector graphics library" |
6 | url="https://www.cairographics.org" | 6 | url="https://www.cairographics.org" |
7 | arch="all" | 7 | arch="all" |
8 | license="LGPL-2.0-or-later AND MPL-1.1" | 8 | license="LGPL-2.0-or-later AND MPL-1.1" |
9 | depends_dev="libsigc++-dev" | 9 | makedepends="meson libsigc++-dev cairo-dev perl" |
10 | makedepends="$depends_dev cairo-dev perl" | 10 | subpackages="$pkgname-dev" |
11 | subpackages="$pkgname-dev $pkgname-doc" | 11 | source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.xz" |
12 | source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz" | ||
13 | 12 | ||
14 | build() { | 13 | build() { |
15 | ./configure \ | 14 | abuild-meson \ |
16 | --build=$CBUILD \ | 15 | -Dboost-shared=true \ |
17 | --host=$CHOST \ | 16 | . output |
18 | --prefix=/usr | 17 | meson compile ${JOBS:+-j ${JOBS}} -C output |
19 | make | ||
20 | } | 18 | } |
21 | 19 | ||
22 | package() { | 20 | package() { |
23 | make DESTDIR="$pkgdir" install | 21 | DESTDIR="$pkgdir" meson install --no-rebuild -C output |
24 | } | 22 | } |
25 | 23 | ||
26 | doc() { | 24 | sha512sums="05d2123a53700f3d0092e75c798847883493d3f803b2f6f47511ea0008d42e417688a00f1a0d50bda97a9661da9141185709011859c9390f0bece5b093c0acf6 cairomm-1.14.0.tar.xz" |
27 | default_doc | ||
28 | |||
29 | mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share | ||
30 | rmdir "$pkgdir"/usr/share | ||
31 | } | ||
32 | |||
33 | sha512sums="df2749e3865dfddf04c40b671453e057e7e76c5052bfc38d5b986c544b7ec43de40b1ef5b4d0e34f58781230d4b220c4176ddef773cd6a316c73641c4aec77c0 cairomm-1.12.2.tar.gz" | ||