summaryrefslogtreecommitdiff
path: root/extra/pixman/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pixman/PKGBUILD')
-rw-r--r--extra/pixman/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/pixman/PKGBUILD b/extra/pixman/PKGBUILD
index f02a11779..77f6ab156 100644
--- a/extra/pixman/PKGBUILD
+++ b/extra/pixman/PKGBUILD
@@ -6,16 +6,22 @@ pkgname=pixman
pkgver=0.22.2
pkgrel=1
pkgdesc="Pixman library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org"
license=('custom')
depends=('glibc')
options=('!libtool')
-source=(http://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('ad2b828ce4280472f5933d8bb5f0f4d583aed7f3')
+source=(http://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2
+ pixman-loongson2f.patch)
+sha1sums=('ad2b828ce4280472f5933d8bb5f0f4d583aed7f3'
+ 'ce4d69ea341f21fdc30f6d401ee479cd3571dab3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+# [ "$CARCH" = "mips64el" ] && {
+# patch -Np1 -i $srcdir/pixman-loongson2f.patch
+# autoreconf -i
+# }
./configure --prefix=/usr --disable-static
make
}