aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2022-01-14 23:36:25 +0100
committerLeo <thinkabit.ukim@gmail.com>2022-01-14 23:00:04 +0000
commita6f8ffc23b21a65e38686a27faab9ebca384a964 (patch)
tree64cdf09e067b2e073677f08c9d74a6e0f2faad35
parent1e4f7c26a96f0c34f2409f76625f3d7f538babfa (diff)
downloadaports-a6f8ffc23b21a65e38686a27faab9ebca384a964.tar.gz
aports-a6f8ffc23b21a65e38686a27faab9ebca384a964.tar.bz2
aports-a6f8ffc23b21a65e38686a27faab9ebca384a964.tar.xz
main/fribidi: build with meson
-rw-r--r--main/fribidi/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/main/fribidi/APKBUILD b/main/fribidi/APKBUILD
index 96b36a9446..8323819071 100644
--- a/main/fribidi/APKBUILD
+++ b/main/fribidi/APKBUILD
@@ -1,11 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fribidi
pkgver=1.0.11
-pkgrel=0
+pkgrel=1
pkgdesc="Free Implementation of the Unicode Bidirectional Algorithm"
url="https://github.com/fribidi/fribidi"
arch="all"
license="LGPL-2.0-or-later"
+makedepends="meson"
subpackages="$pkgname-doc $pkgname-static $pkgname-dev"
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
# - CVE-2019-18397
build() {
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --enable-static
- make
+ abuild-meson \
+ -Ddefault_library=both \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
- make check
+ meson test --no-rebuild -v -C output
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="