mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libaccounts-glib
|
|
pkgver=1.25
|
|
pkgrel=1
|
|
arch="all"
|
|
url="https://gitlab.com/accounts-sso/libaccounts-glib"
|
|
pkgdesc="GLib-based client library for the accounts database"
|
|
license="LGPL-2.1-or-later"
|
|
depends_dev="libxml2-dev sqlite-dev check-dev py3-gobject3 gobject-introspection-dev"
|
|
makedepends="$depends_dev meson ninja vala python3 gtk-doc glib-dev"
|
|
source="https://gitlab.com/accounts-sso/libaccounts-glib/-/archive/VERSION_$pkgver/libaccounts-glib-VERSION_$pkgver.tar.gz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
options="!check" # Requires a systemd feature
|
|
builddir="$srcdir/$pkgname-VERSION_$pkgver"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="cc8b493d246f99300ee614fed93258378ecdbe9c518a958a59827ee8f74559b1ee3683acfb85f59aa91390275497fb35041da2be47f27f24f96e1efd5d6d2e20 libaccounts-glib-VERSION_1.25.tar.gz"
|