mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=gtk-layer-shell
|
|
pkgver=0.8.1
|
|
pkgrel=0
|
|
pkgdesc="Create panels and other desktop components in Wayland using the Layer Shell protocol"
|
|
url="https://github.com/wmww/gtk-layer-shell"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="meson wayland-dev gtk+3.0-dev gobject-introspection-dev vala"
|
|
checkdepends="xvfb-run font-dejavu"
|
|
subpackages="$pkgname-dev $pkgname-demo"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dexamples=true \
|
|
-Ddocs=false \
|
|
-Dtests=true \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
XDG_RUNTIME_DIR="$(mktemp -d -p "$builddir")" \
|
|
xvfb-run -a \
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
demo() {
|
|
pkgdesc="Demo of GTK Layer Shell"
|
|
|
|
amove usr/bin/gtk-layer-demo
|
|
}
|
|
|
|
sha512sums="
|
|
070673a73166c9fd0ea10e6aa98c480318fbf8a6c2dff2a9b4900aea40bb59680d41d9bba9917953fabe4358c0dfa6c3d0221c579ada37cee72ce23433b40329 gtk-layer-shell-0.8.1.tar.gz
|
|
"
|