2019-02-13 14:05:02 +00:00
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
2022-10-21 12:49:29 +00:00
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
2012-02-06 00:18:08 +00:00
|
|
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2019-02-13 14:05:02 +00:00
|
|
|
# - disable x86 extensions (mmx, sse2, ssse3)
|
2012-02-06 00:18:08 +00:00
|
|
|
|
|
|
|
pkgname=pixman
|
2024-03-01 01:27:52 +00:00
|
|
|
pkgver=0.43.4
|
2024-01-28 18:15:40 +00:00
|
|
|
pkgrel=1
|
2012-02-07 13:44:06 +00:00
|
|
|
pkgdesc="The pixel-manipulation library for X and cairo"
|
2018-11-13 19:35:40 +00:00
|
|
|
arch=(x86_64)
|
2019-02-13 14:05:02 +00:00
|
|
|
url="https://cgit.freedesktop.org/pixman/"
|
2024-01-28 00:37:06 +00:00
|
|
|
license=('MIT')
|
2012-02-06 00:18:08 +00:00
|
|
|
depends=('glibc')
|
2019-02-13 14:05:02 +00:00
|
|
|
makedepends=('meson' 'libpng')
|
2020-04-23 12:31:47 +00:00
|
|
|
provides=('libpixman-1.so')
|
2024-01-28 18:15:40 +00:00
|
|
|
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz)
|
2024-03-01 01:27:52 +00:00
|
|
|
sha512sums=('b40fb05bd58dc78f4e4e9b19c86991ab0611b708657c9a7fb42bfe82d57820a0fde01a34b00a0848a41da6c3fb90c2213942a70f435a0e9467631695d3bc7e36')
|
2019-02-13 14:05:02 +00:00
|
|
|
#validpgpkeys=('') # Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
|
2012-02-06 00:18:08 +00:00
|
|
|
|
|
|
|
build() {
|
2024-01-28 00:37:06 +00:00
|
|
|
arch-meson $pkgname-$pkgver build \
|
2019-02-13 14:05:02 +00:00
|
|
|
-D loongson-mmi=disabled \
|
|
|
|
-D vmx=disabled \
|
|
|
|
-D arm-simd=disabled \
|
|
|
|
-D neon=disabled \
|
2022-10-21 12:49:29 +00:00
|
|
|
-D a64-neon=disabled \
|
2019-02-13 14:05:02 +00:00
|
|
|
-D iwmmxt=disabled \
|
|
|
|
-D mmx=disabled \
|
|
|
|
-D sse2=disabled \
|
|
|
|
-D ssse3=disabled \
|
|
|
|
-D mips-dspr2=disabled \
|
|
|
|
-D gtk=disabled
|
|
|
|
ninja -C build
|
2012-02-06 00:18:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-02-13 14:05:02 +00:00
|
|
|
meson test -C build
|
2012-02-06 00:18:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-02-13 14:05:02 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
|
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING
|
2012-02-06 00:18:08 +00:00
|
|
|
}
|