aports/testing/libraqm/APKBUILD
Díaz Urbaneja Víctor Diego Alejandro (Sodomon) 2e3006dfd1 testing/libraqm: new aport
A library that encapsulates the logic for complex text layout.
https://github.com/HOST-Oman/libraqm/
2024-10-13 17:08:13 +00:00

33 lines
1,006 B
Text

# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=libraqm
pkgver=0.10.2
pkgrel=0
pkgdesc="A library that encapsulates the logic for complex text layout"
url="https://github.com/HOST-Oman/libraqm/"
arch="all"
license="MIT"
makedepends="freetype-dev fribidi-dev gtk-doc harfbuzz-dev meson"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.xz::https://github.com/HOST-Oman/libraqm/releases/download/v0.10.2/raqm-$pkgver.tar.xz"
builddir="$srcdir/raqm-$pkgver"
build() {
abuild-meson \
-Ddocs=true \
output .
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
5dfec231f3a0f9f64d4ff0e3f233d9348c954f77cdf5f0db445c80b5dc26d330d6ebd206432a8fe4d256da7a43a0c1f33e13851dc6d5ec8353687876146eae99 libraqm-0.10.2.tar.xz
"