From 167d24a27bcbb3af62cef1843469a3191f4eb45e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 15 Jan 2019 01:04:23 +0000 Subject: user/libgxps: new package --- user/libgxps/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/libgxps/APKBUILD (limited to 'user/libgxps') diff --git a/user/libgxps/APKBUILD b/user/libgxps/APKBUILD new file mode 100644 index 000000000..5deb16d48 --- /dev/null +++ b/user/libgxps/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2