aboutsummaryrefslogtreecommitdiffstats
path: root/community/fcft/APKBUILD
blob: 2192359dd5ef93b855d68854157e09ac71015429 (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
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=fcft
pkgver=2.3.2
pkgrel=0
pkgdesc="A simple library for font loading and glyph rasterization using FontConfig, FreeType and pixman."
url="https://codeberg.org/dnkl/fcft.git"
arch="all"
license="MIT"
makedepends="meson scdoc fontconfig-dev freetype-dev pixman-dev harfbuzz-dev tllist-dev"
checkdepends="check-dev ttf-dejavu" # tests require a font to be installed
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fcft/archive/$pkgver.tar.gz"
builddir="$srcdir/fcft"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="b582ffb4541c7b906390ff7e43deee75554c790ac76613bb60511bdc8135fe0f1bd4c1f5056f559850aff75449e9f1c03ab6779341c6e4891e7da28c5d3c3341  fcft-2.3.2.tar.gz"