blob: 769cd79f1688f88bc2c81d1b978dddd58eb944c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: drakkan <nicola.murino at gmail dot com>
_android_arch=x86-64
pkgname=android-${_android_arch}-pixman
pkgver=0.43.4
pkgrel=2
pkgdesc="The pixel-manipulation library for X and cairo (Android, ${_android_arch})"
arch=('any')
url="http://xorg.freedesktop.org"
license=("custom")
depends=('android-ndk')
makedepends=("android-meson"
"android-${_android_arch}-libpng")
options=(!strip !buildflags staticlibs !emptydirs)
source=("http://xorg.freedesktop.org/releases/individual/lib/pixman-${pkgver}.tar.xz")
md5sums=('ca6767b8056637d690cd17970daf4b18')
build() {
cd "${srcdir}/pixman-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-meson build \
-D loongson-mmi=disabled \
-D vmx=disabled \
-D arm-simd=disabled \
-D neon=disabled \
-D a64-neon=disabled \
-D iwmmxt=disabled \
-D mips-dspr2=disabled \
-D b_lto=false \
-D gtk=disabled \
-D strip=false \
--default-library both
ninja -C build
}
package() {
cd "${srcdir}/pixman-${pkgver}"
source android-env ${_android_arch}
DESTDIR="${pkgdir}" ninja -C build install
${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so
}
|