summaryrefslogtreecommitdiff
path: root/wofi/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-10-14 14:17:02 +0200
committerTim Biermann <tbier@posteo.de>2021-10-14 14:17:02 +0200
commit0bf9eea0bc20f60f36d067813b44b3cf334bdfb2 (patch)
tree3b0b131468015ea458ecbae5a8fcbafd3a7ba6fb /wofi/Pkgfile
parent6eba2d21a9dfea30dca96c43dcf819bf93a70dec (diff)
downloadcontrib-0bf9eea0bc20f60f36d067813b44b3cf334bdfb2.tar.gz
contrib-0bf9eea0bc20f60f36d067813b44b3cf334bdfb2.tar.xz
wofi: added fail check for gtk3-wayland
Diffstat (limited to 'wofi/Pkgfile')
-rw-r--r--wofi/Pkgfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/wofi/Pkgfile b/wofi/Pkgfile
index f79485e08..3221d3f2c 100644
--- a/wofi/Pkgfile
+++ b/wofi/Pkgfile
@@ -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 \

Generated by cgit