summaryrefslogtreecommitdiff
path: root/user/pango/APKBUILD
blob: 049175aaf777c15fd8dc61cfc7861fcc7b3f2739 (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: 
pkgname=pango
pkgver=1.48.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="e5680d628f531bea7633945bd74dc51a93c4c881dec58fcf9f6271043e77b82a4805e311355cb4d9f8cdfcdf52785a5a6391517a264b62416c26e82dff4aca39  pango-1.48.7.tar.xz"