PKGBUILDs/extra/pixman/PKGBUILD

46 lines
1.2 KiB
Bash
Raw Normal View History

2012-02-06 00:18:08 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
2019-02-13 14:05:02 +00:00
# Maintainer: Andreas Radke <andyrtr@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
2019-04-10 19:33:29 +00:00
pkgver=0.38.4
2019-04-08 12:59:48 +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/"
2012-02-06 00:18:08 +00:00
license=('custom')
depends=('glibc')
2019-02-13 14:05:02 +00:00
makedepends=('meson' 'libpng')
2018-11-13 19:35:40 +00:00
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
2019-04-10 19:33:29 +00:00
sha1sums=('87e1abc91ac4e5dfcc275f744f1d0ec3277ee7cd')
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() {
2019-02-13 14:05:02 +00:00
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
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
}
2019-02-13 14:05:02 +00:00
# vim:set et sw=2: