wofi: added fail check for gtk3-wayland

This commit is contained in:
Tim Biermann 2021-10-14 14:17:02 +02:00
parent 6eba2d21a9
commit 0bf9eea0bc
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wYIDqujY2OO7fmgFto+ntyGvXRjFRT74DVnaeglmKZNmChUnNZigbO5Ivz8krrvf/jWd/5BRN/sZNfx+KDjjAc=
SHA256 (Pkgfile) = 889a0ef286bca2546e3edd6bf68834a41dc9ec1cb3b636f6c68a9100ed53726b
RWSagIOpLGJF3+lYXjs68I6aVsRY0GWMXvoa4QNUmYCNStmTuCLCjFNiwltFAYKrLam/XXt+7pY6T0G8j3j5B9ofL9BqDQ6WLwQ=
SHA256 (Pkgfile) = e94bec0f7c9b72c6d184b18a91ad9dcb92212c84c617ffed49c0f620cf8d27e6
SHA256 (.footprint) = e7deab63f78ebebaa825e323a17482149b026954ead5e28a9f43eb2d3c81c0c1
SHA256 (v1.2.4.tar.gz) = b48da42b9750f149704eb6dbd60ab80b28c5b0d7aaf7e9de75dd9aab585e8e9a

View File

@ -9,6 +9,8 @@ release=1
source=(https://hg.sr.ht/~scoopta/wofi/archive/v$version.tar.gz)
build() {
ls /usr/include/gtk-3.0/gdk/gdkwayland.h || (printf '\e[1;31m%-6s\e[m\n' "gtk3 is missing wayland libraries, rebuild mesa, then gtk3 to install $name" ; exit 1)
meson setup $name-v$version build \
--prefix=/usr \
--buildtype=plain \