summaryrefslogtreecommitdiff
path: root/user/libpeas/APKBUILD
blob: 9c517e05f267f196092280e8357e94292079fc75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
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"