2012-02-06 00:18:08 +00:00
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable arm extensions that aren't supported, autodetection fails
|
|
|
|
|
|
|
|
pkgname=pixman
|
2018-11-27 19:46:10 +00:00
|
|
|
pkgver=0.36.0
|
|
|
|
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)
|
2012-02-06 00:18:08 +00:00
|
|
|
url="http://xorg.freedesktop.org"
|
|
|
|
license=('custom')
|
|
|
|
depends=('glibc')
|
2018-11-13 19:35:40 +00:00
|
|
|
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
|
2018-11-27 19:46:10 +00:00
|
|
|
sha1sums=('10d85590beee287a508a148297808a66d1ce11cd')
|
2012-02-06 00:18:08 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
[[ $CARCH = "arm" ]] && CONFIG="--disable-arm-simd --disable-arm-neon --disable-arm-iwmmxt"
|
2012-07-29 19:22:04 +00:00
|
|
|
[[ $CARCH = "armv6h" ]] && CONFIG="--disable-arm-simd --disable-arm-neon --disable-arm-iwmmxt"
|
2012-02-06 00:18:08 +00:00
|
|
|
[[ $CARCH = "armv7h" ]] && CONFIG="--disable-arm-neon --disable-arm-iwmmxt"
|
|
|
|
./configure --prefix=/usr --disable-static $CONFIG
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2012-11-12 13:43:21 +00:00
|
|
|
#make check
|
2012-02-06 00:18:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
|
|
}
|