aports/community/libdex/APKBUILD
2025-05-13 06:38:50 +00:00

40 lines
1 KiB
Text

# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
pkgname=libdex
pkgver=0.10.0
pkgrel=1
pkgdesc="Future-based programming for GLib-based applications"
url="https://gitlab.gnome.org/GNOME/libdex"
arch="all"
license="LGPL-2.1-or-later AND BSD-3-Clause"
makedepends="
glib-dev
gobject-introspection-dev
libucontext-dev
meson
vala
"
subpackages="$pkgname-dev $pkgname-dbg"
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 --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
bfdeddd3659a4f51c2b171333f35dc3a12d82c00f4c3f5817e085d1a304c6821f5c005c0fa5cca0d816a94eecdb1aaffaf8aa2355e5fe1aa3fbfe2bd76eba634 libdex-0.10.0.tar.xz
c64dad8be4999efd66bdc82c919023306a96d437b99d18d948fe61b8d48686bedbe8260f6230e834bd2770c40a83ca9f40e0a04f4936f5097c9c791b984df8ec ucontext.patch
"