mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 18:42:12 +01:00
main/pixman: use abuild-meson & meson compile/test/install
This commit is contained in:
parent
b8fa29fa07
commit
45efca103e
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user