aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgxps/APKBUILD
blob: dadba94cf5ceed662011a0f63bb345a98e44367e (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
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=libgxps
pkgver=0.3.1
pkgrel=2
pkgdesc="XPS documents library & conversion utilities"
url="https://wiki.gnome.org/action/show/Projects/libgxps"
arch="all"
license="LGPL-2.1-or-later"
makedepends="gobject-introspection-dev glib-dev gtk+3.0-dev libarchive-dev libjpeg-turbo-dev tiff-dev lcms2-dev meson"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/GNOME/$pkgname/archive/$pkgver.tar.gz"

build() {
	abuild-meson . build
	ninja -v -C build/
}

check() {
	meson test --no-rebuild -v -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="09646e390cbfa667ad9aef52466c24f6a2499ac02d1296e73919574d4670be6a8880e4e491f875719d6946998d2cf1d98fadbb7102f614e839f986fbc38fca65  libgxps-0.3.1.tar.gz"