blob: bae060a4a0a890af9df87fceb3ead87b2f8e6c1a (
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
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
_android_arch=x86-64
pkgname=android-${_android_arch}-pango
pkgver=1.54.0
pkgrel=2
arch=('any')
pkgdesc="A library for layout and rendering of text (Android ${_android_arch})"
url="https://www.pango.org/"
license=('LGPL-2.1-or-later')
groups=(android-pango)
depends=("android-${_android_arch}-cairo"
"android-${_android_arch}-fribidi"
"android-${_android_arch}-harfbuzz"
"android-${_android_arch}-libthai"
"android-${_android_arch}-libxft")
makedepends=('android-meson'
'gobject-introspection')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://gitlab.gnome.org/GNOME/pango/-/archive/${pkgver}/pango-${pkgver}.tar.bz2")
md5sums=('60f3bb303e1f30a7cd0cfda4a7eaeff6')
build() {
cd "${srcdir}/pango-${pkgver}"
source android-env ${_android_arch}
android-${_android_arch}-meson build
ninja -C build
}
package() {
cd "${srcdir}/pango-${pkgver}"
source android-env ${_android_arch}
DESTDIR="${pkgdir}" ninja install -C build
rm -rf "${pkgdir}/${ANDROID_PREFIX_BIN}"
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a || true
}
|