Commit 7842f046 authored by Paul Bredbury's avatar Paul Bredbury Committed by Leonardo Arena

testing/libgxps: new aport

https://wiki.gnome.org/action/show/Projects/libgxps
XPS documents library & conversion utilities.
parent b6ff74fd
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=libgxps
pkgver=0.3.1
pkgrel=0
pkgdesc="XPS documents library & conversion utilities"
url="https://wiki.gnome.org/action/show/Projects/libgxps"
arch="all"
license="LGPL-2.1-or-later"
depends=""
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"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
meson --prefix=/usr --libdir=lib --buildtype=release build/
ninja -v -C build/
}
check() {
cd "$builddir/build"
ninja test
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C build/ install
}
sha512sums="09646e390cbfa667ad9aef52466c24f6a2499ac02d1296e73919574d4670be6a8880e4e491f875719d6946998d2cf1d98fadbb7102f614e839f986fbc38fca65 libgxps-0.3.1.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment