summaryrefslogtreecommitdiff
path: root/user/pango/APKBUILD
blob: 43b8630fbeb347099a59fc08186aee5fd33cc4fd (plain) (blame)
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
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=pango
pkgver=1.50.7
pkgrel=0
pkgdesc="Library for laying out and rendering text"
url="https://www.pango.org/"
arch="all"
options="!check"  # no tests available
license="LGPL-2.1+"
depends=""
makedepends="$depends_dev cairo-dev expat-dev fontconfig-dev freetype-dev
	fribidi-dev glib-dev gobject-introspection-dev harfbuzz-dev libxft-dev
	meson ninja"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger=/usr/lib/pango/*/modules"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

# secfixes:
#   1.42.4-r1:
#     - CVE-2019-1010238

build () {
	meson \
                --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --localstatedir=/var \
                --buildtype=release \
		. output
	ninja -C output
}

package() {
	mkdir -p "$pkgdir"/etc/pango
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="4d754ed753fc34074c2a8751459406af7eb1eccb227c6158287f7e2921614d918cae47d078d4a2b4c098b641e40274e81bf1ec6b6a1b147efd550626665767d3  pango-1.50.7.tar.xz"