# Maintainer: Andreas Radke # Contributor: Jan de Groot # Contributor: Alexander Baldeck # ALARM: Kevin Mihelich # - disable x86 extensions (mmx, sse2, ssse3) pkgname=pixman pkgver=0.43.0 pkgrel=1 pkgdesc="The pixel-manipulation library for X and cairo" arch=(x86_64) url="https://cgit.freedesktop.org/pixman/" license=('custom') depends=('glibc') makedepends=('meson' 'libpng') provides=('libpixman-1.so') source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz) sha512sums=('a90399b8c6aec218abb2f419fb5d6894acf9f4c7acb4fd3893b0b7c805ba47c82ee7efb363be59bb1a15b6997b2dddb7dba062a165503b035e1124fff1b271c9') #validpgpkeys=('') # Maarten Lankhorst build() { arch-meson $pkgbase-$pkgver build \ -D loongson-mmi=disabled \ -D vmx=disabled \ -D arm-simd=disabled \ -D neon=disabled \ -D a64-neon=disabled \ -D iwmmxt=disabled \ -D mmx=disabled \ -D sse2=disabled \ -D ssse3=disabled \ -D mips-dspr2=disabled \ -D gtk=disabled ninja -C build } check() { meson test -C build } package() { DESTDIR="$pkgdir" meson install -C build install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING }