mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-20 01:35:13 +03:00
The cargo vars are now set in abuild.conf by default. Newlines done with: find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \; See also: https://stackoverflow.com/a/4522043
33 lines
869 B
Text
33 lines
869 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=libvirt-glib
|
|
pkgver=4.0.0
|
|
pkgrel=0
|
|
pkgdesc="libvirt glib integration for events"
|
|
url="https://libvirt.org/"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
depends_dev="libvirt-dev"
|
|
makedepends="$depends_dev
|
|
gobject-introspection-dev
|
|
libxml2-dev
|
|
meson
|
|
vala
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
source="https://libvirt.org/sources/glib/libvirt-glib-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="e1b99e80aa671fa5a4d7f7f7a4ea70ce7c5fdaf97574407f79aa11a75dd177e1e3f92027728a83ded62e305852bbda76eb90326aaa1f5f19b77272b008351810 libvirt-glib-4.0.0.tar.xz"
|