# Contributor: Kiyoshi Aman # Maintainer: Kiyoshi Aman pkgname=libpeas pkgver=1.24.1 pkgrel=0 pkgdesc="GObject-based plugin framework" url="https://gnome.org" arch="all" options="!check" # With Meson, you can't disable individual tests. # Three require X11. Complain to Meson, not me. license="LGPL-2.1+" depends="" makedepends="glib-dev gobject-introspection-dev gtk+3.0-dev meson ninja py3-pygobject py3-pygobject-dev python3-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$pkgver.tar.xz" build() { meson -Dprefix=/usr build ninja -C build } check() { DISPLAY= ninja -C build test } package() { DESTDIR="$pkgdir" ninja -C build install } sha512sums="9e2f2f3e7208baa7e72f6b963ad2bca7bf2789ffb2656151bd913be10d45f3e0d40379d69513d2ecf597cc6d211d157c273cc841dfd445829d0cb57d24275e1b libpeas-1.24.1.tar.xz"