# Maintainer: Brett Cornwall <ainola@archlinux.org>
# Contributor: Adrian Perez de Castro <aperez@igalia.com>
pkgdesc='Library to create Wayland desktop components using the Layer Shell protocol'
pkgname=gtk-layer-shell
pkgver=0.8.2
pkgrel=1
arch=(armv7h 'aarch64')
license=(LGPL3)
url="https://github.com/wmww/gtk-layer-shell"
depends=(
"gtk3"
"wayland"
)
makedepends=(
"gtk-doc"
"gobject-introspection"
"meson"
"ninja"
"valabind"
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz")
sha512sums=('e3b56612dab2527d5242b8305362c88100de3eac76cee32ce51791cbc77df38a5052143bf4bf5781a90fa62e026a758ef9d10dc5b4292b0b334983842fad632c')
build() {
meson --prefix=/usr \
--wrap-mode=nofallback \
--buildtype=plain \
-Dtests=true \
-Ddocs=true \
-Dintrospection=true \
"$pkgname-$pkgver" \
build
ninja -C build
}
check() {
ninja -C build test
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}