Skip to content
Snippets Groups Projects
Commit a6f8ffc2 authored by J0WI's avatar J0WI Committed by Leo
Browse files

main/fribidi: build with meson

parent 1e4f7c26
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fribidi pkgname=fribidi
pkgver=1.0.11 pkgver=1.0.11
pkgrel=0 pkgrel=1
pkgdesc="Free Implementation of the Unicode Bidirectional Algorithm" pkgdesc="Free Implementation of the Unicode Bidirectional Algorithm"
url="https://github.com/fribidi/fribidi" url="https://github.com/fribidi/fribidi"
arch="all" arch="all"
license="LGPL-2.0-or-later" license="LGPL-2.0-or-later"
makedepends="meson"
subpackages="$pkgname-doc $pkgname-static $pkgname-dev" subpackages="$pkgname-doc $pkgname-static $pkgname-dev"
source="https://github.com/fribidi/fribidi/releases/download/v$pkgver/fribidi-$pkgver.tar.xz" source="https://github.com/fribidi/fribidi/releases/download/v$pkgver/fribidi-$pkgver.tar.xz"
...@@ -14,20 +15,18 @@ source="https://github.com/fribidi/fribidi/releases/download/v$pkgver/fribidi-$p ...@@ -14,20 +15,18 @@ source="https://github.com/fribidi/fribidi/releases/download/v$pkgver/fribidi-$p
# - CVE-2019-18397 # - CVE-2019-18397
build() { build() {
./configure \ abuild-meson \
--build=$CBUILD \ -Ddefault_library=both \
--host=$CHOST \ . output
--prefix=/usr \ meson compile ${JOBS:+-j ${JOBS}} -C output
--enable-static
make
} }
check() { check() {
make check meson test --no-rebuild -v -C output
} }
package() { package() {
make DESTDIR="$pkgdir" install DESTDIR="$pkgdir" meson install --no-rebuild -C output
} }
sha512sums=" sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment