main/pixman: use abuild-meson & meson compile/test/install

This commit is contained in:
Rasmus Thomsen 2020-09-01 00:18:51 +02:00
parent b8fa29fa07
commit 45efca103e
No known key found for this signature in database
GPG Key ID: 1115241518154EA6

View File

@ -18,15 +18,10 @@ esac
build() {
# We need to increase the stacksize here: https://gitlab.gnome.org/GNOME/librsvg/-/issues/595
LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152" meson \
LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152" abuild-meson \
-Ddefault_library=both \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
. output
ninja -C output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
@ -34,7 +29,7 @@ check() {
}
package() {
DESTDIR="$pkgdir" ninja -C output install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="18774e22add5c5442edede5467fa07234c2b9e57a79d88110f25424e4253c6ab0c2921e951c5686cefebf4724ff19ad053d0c28f4d2f8d642bbcf6fc71764ef6 pixman-pixman-0.40.0.tar.gz"