forked from ports/contrib
25 lines
706 B
Plaintext
25 lines
706 B
Plaintext
# Description: A library that encapsulates the logic for complex text layout
|
|
# URL: https://github.com/HOST-Oman/libraqm/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: fribidi harfbuzz
|
|
|
|
name=libraqm
|
|
version=0.7.2
|
|
release=1
|
|
source=(https://github.com/HOST-Oman/libraqm/releases/download/v$version/raqm-$version.tar.xz
|
|
https://github.com/HOST-Oman/libraqm/commit/819a3e9c.patch)
|
|
|
|
build() {
|
|
patch -d raqm-$version -p1 -i $SRC/819a3e9c.patch # Fix meson library version
|
|
|
|
meson setup raqm-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D docs=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|