summaryrefslogtreecommitdiff
path: root/user/libpeas/APKBUILD
blob: 9fc1333a4db7858e5646c6324fd6f9ed82a30f12 (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: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=libpeas
pkgver=1.28.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="43f8bc426238f519d7a3b26409af2f7578e921893c085d00fab74699a45649d8343e5646658003980e6639f51e74f3b25519c3bbc248d5161b11c999f7dd0374  libpeas-1.28.0.tar.xz
307f198078d3d1b0f8d914011ecffaae500e4d8f71cbc876fef36b5f25c49858fe1c929c572e2c75146097068771524cc50fbb4638cbbbf90cbb3eab29c0964b  use-locale.h.patch"