diff options
Diffstat (limited to 'main/pixman/APKBUILD')
-rw-r--r-- | main/pixman/APKBUILD | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD index 694f27e0488..d8e6936e092 100644 --- a/main/pixman/APKBUILD +++ b/main/pixman/APKBUILD @@ -1,36 +1,43 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pixman -pkgver=0.40.0 -pkgrel=3 +pkgver=0.43.2 +pkgrel=0 pkgdesc="Low-level pixel manipulation library" url="https://gitlab.freedesktop.org/pixman" arch="all" license="MIT" makedepends="meson libpng-dev linux-headers" subpackages="$pkgname-static $pkgname-dev $pkgname-dbg" -source="https://gitlab.freedesktop.org/pixman/pixman/-/archive/pixman-$pkgver/pixman-pixman-$pkgver.tar.gz - https://gitlab.freedesktop.org/pixman/pixman/-/commit/04f662a3ee0dbab1b4755a6faf491751f6f29627.patch +source="https://www.x.org/releases/individual/lib/pixman-$pkgver.tar.xz + scaling-test.patch " -builddir="$srcdir/pixman-pixman-$pkgver" case "$CARCH" in # broken test (likely due to endianness assumptions) s390x) options="!check" ;; - aarch64) simd="-Da64-neon=enabled" ;; esac - build() { + case "$CARCH" in + armhf) + # target-specific builtin not available + local lto=false + ;; + *) + local lto=true + ;; + esac # We need to increase the stacksize here: https://gitlab.gnome.org/GNOME/librsvg/-/issues/595 - LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152" abuild-meson \ + LDFLAGS="$LDFLAGS -Wl,-z,stack-size=2097152" \ + abuild-meson \ + -Db_lto=$lto \ -Ddefault_library=both \ - $simd \ . output - meson compile ${JOBS:+-j ${JOBS}} -C output + meson compile -C output } check() { - meson test -C output -t 10 + meson test --no-rebuild --print-errorlogs -C output -t 10 } package() { @@ -38,6 +45,6 @@ package() { } sha512sums=" -18774e22add5c5442edede5467fa07234c2b9e57a79d88110f25424e4253c6ab0c2921e951c5686cefebf4724ff19ad053d0c28f4d2f8d642bbcf6fc71764ef6 pixman-pixman-0.40.0.tar.gz -4c383bd629dfab9dc3b491a9b06c4192b0f4fb417d62dba494b0efa622fc557ab570d24ac1ef4a9cc0a8104d383dde4f687978c5456f39290a591e34e41e31a2 04f662a3ee0dbab1b4755a6faf491751f6f29627.patch +1a1d21b86b3c6784c4c2606b7069723b4dbb747eac9fce95bca86516787840379ffd49abc42d11e7143e85c32c85496f33c2562c7a910ca6f963599affdc3224 pixman-0.43.2.tar.xz +78837937b59bd1b6d2a916bf73152908186fbedebf2be4fe2a89e978ac787b7827a3858970c9b69445d737545f786732394b62ac54751f5996cbedc492aefd59 scaling-test.patch " |