summaryrefslogtreecommitdiff
path: root/user/libpeas/APKBUILD
blob: 74e405157dbf47b9bc1ffa8d84a74dccb41ddc92 (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
32
33
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=libpeas
pkgver=1.26.0
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
	use-locale.h.patch"

build() {
	meson -Dprefix=/usr build
	ninja -C build
}

check() {
	DISPLAY= ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="86157da14d17c16df2ef3f44ab48822ea1a8be8aec8f5419bc421bd475113f686cd16f9616ac53cbf3dc6f31f521384ac63eb8e9f1a46ea21b5cda8ba21e855f  libpeas-1.26.0.tar.xz
307f198078d3d1b0f8d914011ecffaae500e4d8f71cbc876fef36b5f25c49858fe1c929c572e2c75146097068771524cc50fbb4638cbbbf90cbb3eab29c0964b  use-locale.h.patch"