blob: 3221d3f2c70761d8977ff4a8a3f549dc3b7d07a0 (
plain)
1 # Description: rofi like application launcher written for wayland
2 # URL: https://hg.sr.ht/~scoopta/wofi
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: gtk3 wayland-protocols
5
6 name=wofi
7 version=1.2.4
8 release=1
9 source=(https://hg.sr.ht/~scoopta/wofi/archive/v$version.tar.gz)
10
11 build() {
12 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)
13
14 meson setup $name-v$version build \
15 --prefix=/usr \
16 --buildtype=plain \
17 --wrap-mode nodownload \
18 -D b_lto=true \
19 -D b_pie=true
20 meson compile -C build
21 DESTDIR=$PKG meson install -C build
22 }
|