PKGBUILDs/extra/pixman/PKGBUILD
2019-02-13 14:05:02 +00:00

45 lines
1.2 KiB
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable x86 extensions (mmx, sse2, ssse3)
pkgname=pixman
pkgver=0.38.0
pkgrel=2
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')
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('06587395f4a3538bafc0845ac225ea4c6472e550')
#validpgpkeys=('') # Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
build() {
arch-meson $pkgbase-$pkgver build \
-D loongson-mmi=disabled \
-D vmx=disabled \
-D arm-simd=disabled \
-D 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
}
# vim:set et sw=2: