mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
44 lines
1.3 KiB
Bash
44 lines
1.3 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.40.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=('8a60edb113d68791b41bd90b761ff7b3934260cb3dada3234c9351416f61394e4157353bc4d61b8f6c2c619de470f6feefffb4935bfcf79d291ece6285de7270')
|
|
#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
|
|
}
|