projects/aports·blob master · refs

40 lines · 1.0 KiB

1# Contributor: Newbyte <[email protected]>
2maintainer="team/gnome <[email protected]>"
3pkgname=blueprint-compiler
4pkgver=0.22.2
5pkgrel=0
6pkgdesc="Markup language for GTK user interfaces"
7url="https://gnome.pages.gitlab.gnome.org/blueprint-compiler/"
8arch="noarch"
9license="LGPL-3.0-or-later"
10depends="
11 gobject-introspection-dev
12 gtk4.0
13 libadwaita
14 python3
15 py3-gobject3
16 "
17depends_dev="$pkgname=$pkgver-r$pkgrel"
18makedepends="meson"
19checkdepends="cage-run xwayland"
20subpackages="$pkgname-dev $pkgname-pyc"
21source="https://download.gnome.org/sources/blueprint-compiler/${pkgver%.*}/blueprint-compiler-$pkgver.tar.xz"
22
23build() {
24 abuild-meson . output
25 meson compile -C output
26}
27
28check() {
29 # riscv64 is slow
30 cage-run meson test -t 10 --print-errorlogs -C output
31}
32
33package() {
34 DESTDIR="$pkgdir" meson install --no-rebuild -C output
35 python3 -m compileall -fq "$pkgdir"/usr/lib/python*
36}
37
38sha512sums="
39bdc380a3d77b33a71139ee4f0da97effa5c95876251563a904e25762f93b592393fdb9a6c99b294aea8a9a93ba411d17491da95427020860dfd8a696402c0b80 blueprint-compiler-0.22.2.tar.xz
40"