testing/libdazzle: new aport

This commit is contained in:
Rasmus Thomsen 2019-05-24 01:19:04 +02:00 committed by Leo
parent c4b6509013
commit 6e41cd72bc

View File

@ -0,0 +1,32 @@
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libdazzle
pkgver=3.32.1
pkgrel=0
pkgdesc="Library to delight your users with fancy features"
url="https://gitlab.gnome.org/GNOME/libdazzle"
arch="all"
license="GPL-3.0-or-later"
makedepends="gtk+3.0-dev vala gobject-introspection-dev gtk-doc meson"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libdazzle/${pkgver%.*}/libdazzle-$pkgver.tar.xz"
build() {
meson \
--prefix=/usr \
--buildtype=release \
-Denable_gtk_doc=true \
. output
ninja -C output
}
check() {
xvfb-run ninja -C output test
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="44aa00e10395a178ca04f4a34ee47e602cc49b443951822a93f15d8a56212dcbc05daff25415732cec211c600d8926a62021cafe34f347659a56b5da4057d7d0 libdazzle-3.32.1.tar.xz"