2023-10-24 15:02:10 +00:00

42 lines
1.1 KiB
Plaintext

# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
pkgname=libdex
pkgver=0.4.1
pkgrel=0
pkgdesc="Future-based programming for GLib-based applications"
url="https://gitlab.gnome.org/GNOME/libdex"
# ppc64le: fails tests
arch="all !ppc64le"
license="LGPL-2.1-or-later AND BSD-3-Clause"
makedepends="
glib-dev
gobject-introspection-dev
libucontext-dev
meson
vala
"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libdex/${pkgver%.*}/libdex-$pkgver.tar.xz
ucontext.patch
"
build() {
abuild-meson \
-Db_lto=true \
-Dtests="$(want_check && echo true || echo false)" \
. output
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
80a80c6fcf936da903a64339dff1d6f802f028bfd6e2815bf3b2a3ac6bd0e9fafe3f81b66dd1ee0a6bbd6303cc31fc73b528829e587142a7d269b1b98377ca25 libdex-0.4.1.tar.xz
c64dad8be4999efd66bdc82c919023306a96d437b99d18d948fe61b8d48686bedbe8260f6230e834bd2770c40a83ca9f40e0a04f4936f5097c9c791b984df8ec ucontext.patch
"