blob: dac60530849fc4eb6a746971cb4b9542fbc1b711 (
plain) (
tree)
|
|
# 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() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. output
ninja -C output
}
check() {
ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="80401bd3c9753c74e425c5c08510cac314ad255ebeda9676bd5396a217770c7f5d8733c64b649cc6fdaa43423bb1a4ad21e1e0e3f7903f486e75a1d678850239 libgxps-0.3.1.tar.xz"
|