mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/pixman to 0.38.0-2
This commit is contained in:
parent
e1b161786e
commit
bda8b4014f
1 changed files with 25 additions and 17 deletions
|
@ -1,37 +1,45 @@
|
||||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||||
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||||
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
# Contributor: Alexander Baldeck <alexander@archlinux.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - disable arm extensions that aren't supported, autodetection fails
|
# - disable x86 extensions (mmx, sse2, ssse3)
|
||||||
|
|
||||||
pkgname=pixman
|
pkgname=pixman
|
||||||
pkgver=0.36.0
|
pkgver=0.38.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="The pixel-manipulation library for X and cairo"
|
pkgdesc="The pixel-manipulation library for X and cairo"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="http://xorg.freedesktop.org"
|
url="https://cgit.freedesktop.org/pixman/"
|
||||||
license=('custom')
|
license=('custom')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
|
makedepends=('meson' 'libpng')
|
||||||
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
|
source=(https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
|
||||||
sha1sums=('10d85590beee287a508a148297808a66d1ce11cd')
|
sha1sums=('06587395f4a3538bafc0845ac225ea4c6472e550')
|
||||||
|
#validpgpkeys=('') # Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
arch-meson $pkgbase-$pkgver build \
|
||||||
[[ $CARCH = "arm" ]] && CONFIG="--disable-arm-simd --disable-arm-neon --disable-arm-iwmmxt"
|
-D loongson-mmi=disabled \
|
||||||
[[ $CARCH = "armv6h" ]] && CONFIG="--disable-arm-simd --disable-arm-neon --disable-arm-iwmmxt"
|
-D vmx=disabled \
|
||||||
[[ $CARCH = "armv7h" ]] && CONFIG="--disable-arm-neon --disable-arm-iwmmxt"
|
-D arm-simd=disabled \
|
||||||
./configure --prefix=/usr --disable-static $CONFIG
|
-D neon=disabled \
|
||||||
make
|
-D iwmmxt=disabled \
|
||||||
|
-D mmx=disabled \
|
||||||
|
-D sse2=disabled \
|
||||||
|
-D ssse3=disabled \
|
||||||
|
-D mips-dspr2=disabled \
|
||||||
|
-D gtk=disabled
|
||||||
|
ninja -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
meson test -C build
|
||||||
#make check
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
make DESTDIR="${pkgdir}" install
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname-$pkgver/COPYING
|
||||||
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
||||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:set et sw=2:
|
||||||
|
|
Loading…
Reference in a new issue