blob: 5deb16d48783b9ae98b17c6e148f25d9a4f15c40 (
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
34
35
36
37
38
39
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libgxps
pkgver=0.3.1
pkgrel=0
pkgdesc="GObject-based library for manipulating and rendering XPS documents"
url="https://wiki.gnome.org/Projects/libgxps"
arch="all"
license="LGPL-2.1+"
depends=""
depends_dev="glib-dev"
makedepends="$depends_dev meson cairo-dev freetype-dev gobject-introspection-dev
gtk+3.0-dev lcms2-dev libarchive-dev libjpeg-turbo-dev ninja tiff-dev"
subpackages="$pkgname-dev"
source="https://ftp.gnome.org/pub/gnome/sources/libgxps/0.3/libgxps-$pkgver.tar.xz"
build() {
cd "$builddir"
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. output
ninja -C output
}
check() {
cd "$builddir"
ninja -C output test
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="80401bd3c9753c74e425c5c08510cac314ad255ebeda9676bd5396a217770c7f5d8733c64b649cc6fdaa43423bb1a4ad21e1e0e3f7903f486e75a1d678850239 libgxps-0.3.1.tar.xz"
|