diff options
author | Andrew Sun | 2018-09-08 12:00:19 -0400 |
---|---|---|
committer | Andrew Sun | 2018-09-08 12:00:19 -0400 |
commit | cee08d39cc3ae2e908dcc56421144b960f049f93 (patch) | |
tree | b23adacd75ea521d0514d45fca26e3a88c85b2e5 | |
parent | dabccdf1ea60d984902da3933cd7d815d80fdee7 (diff) | |
download | aur-cee08d39cc3ae2e908dcc56421144b960f049f93.tar.gz |
mingw-w64-atk: update to 2.30.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 24 insertions, 24 deletions
@@ -1,20 +1,20 @@ pkgbase = mingw-w64-atk pkgdesc = A library providing a set of interfaces for accessibility (mingw-w64) - pkgver = 2.28.1 + pkgver = 2.30.0 pkgrel = 1 url = https://developer.gnome.org/atk/ arch = any license = LGPL2 makedepends = mingw-w64-gcc - makedepends = mingw-w64-configure + makedepends = mingw-w64-meson makedepends = python depends = mingw-w64-crt depends = mingw-w64-glib2 options = !strip options = !buildflags options = staticlibs - source = http://ftp.gnome.org/pub/gnome/sources/atk/2.28/atk-2.28.1.tar.xz - md5sums = dfb5e7474220afa3f4ca7e45af9f3a11 + source = http://ftp.gnome.org/pub/gnome/sources/atk/2.30/atk-2.30.0.tar.xz + md5sums = 769c85005d392ad17ffbc063f2d26454 pkgname = mingw-w64-atk @@ -2,39 +2,39 @@ # Contributor: <nontlikeuname at tuta dot io> pkgname=mingw-w64-atk -pkgver=2.28.1 +pkgver=2.30.0 pkgrel=1 pkgdesc="A library providing a set of interfaces for accessibility (mingw-w64)" arch=('any') url="https://developer.gnome.org/atk/" license=('LGPL2') -makedepends=('mingw-w64-gcc' 'mingw-w64-configure' 'python') +makedepends=('mingw-w64-gcc' 'mingw-w64-meson' 'python') depends=('mingw-w64-crt' 'mingw-w64-glib2') options=('!strip' '!buildflags' 'staticlibs') source=("http://ftp.gnome.org/pub/gnome/sources/atk/${pkgver%.*}/atk-${pkgver}.tar.xz") -md5sums=('dfb5e7474220afa3f4ca7e45af9f3a11') +md5sums=('769c85005d392ad17ffbc063f2d26454') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { - cd "${srcdir}/atk-${pkgver}/" - for _arch in ${_architectures}; do - mkdir -p build-${_arch} && pushd build-${_arch} - ${_arch}-configure \ - --disable-introspection \ - --without-libintl-prefix \ - --without-libiconv-prefix - make - popd - done + cd "${srcdir}/atk-${pkgver}/" + for _arch in ${_architectures}; do + mkdir -p build-${_arch} && pushd build-${_arch} + ${_arch}-meson .. -Ddocs=false -Dintrospection=false + ninja + popd + done } package() { - for _arch in ${_architectures}; do - cd ${srcdir}/atk-${pkgver}/build-${_arch} - make DESTDIR="${pkgdir}" install - ${_arch}-strip --strip-unneeded ${pkgdir}/usr/${_arch}/bin/*.dll - ${_arch}-strip -g ${pkgdir}/usr/${_arch}/lib/*.a - rm -r ${pkgdir}/usr/${_arch}/share - done + for _arch in ${_architectures}; do + DESTDIR="${pkgdir}" meson install -C ${srcdir}/atk-${pkgver}/build-${_arch} + + rm -r ${pkgdir}/usr/${_arch}/share + + #FIXME: Ranlib (isn't meson supposed to do this?) + ${_arch}-ranlib ${pkgdir}/usr/${_arch}/lib/*.a + + ${_arch}-strip -x -g ${pkgdir}/usr/${_arch}/bin/*.dll + done } |