mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 20:55:19 +03:00
53 lines
1.2 KiB
Text
53 lines
1.2 KiB
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: fossdd <fossdd@pwned.life>
|
|
pkgname=gtk-layer-shell
|
|
pkgver=0.9.2
|
|
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="LGPL-3.0-or-later AND MIT"
|
|
makedepends="
|
|
gobject-introspection-dev
|
|
gtk+3.0-dev
|
|
meson
|
|
vala
|
|
wayland-dev
|
|
"
|
|
checkdepends="
|
|
font-dejavu
|
|
xvfb-run
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-demo"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz"
|
|
options="!check" # tests fail
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dexamples=true \
|
|
-Ddocs=false \
|
|
-Dtests=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
XDG_RUNTIME_DIR="$(mktemp -d -p "$builddir")" \
|
|
xvfb-run -a \
|
|
meson test --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="
|
|
7ecbefca73f3bcba709f2b5f4153203592cb345ebce8aee27e75365d615e9a8f66ec28f9d42bae8828da9427082b0df190e820593301a80ac8b730c61a75b708 gtk-layer-shell-0.9.2.tar.gz
|
|
"
|