blob: c544bbc7ec1e10890a089435f9d455f1be9a7819 (
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 libxkbcommon wayland-protocols
5
6 name=wofi
7 version=1.3
8 release=1
9 source=(https://hg.sr.ht/~scoopta/wofi/archive/v$version.tar.gz)
10 renames=($name-$version.tar.gz)
11
12 build() {
13 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)
14
15 meson setup $name-v$version build \
16 --prefix=/usr \
17 --buildtype=plain \
18 --wrap-mode nodownload \
19 -D b_lto=true \
20 -D b_pie=true
21 meson compile -C build
22 DESTDIR=$PKG meson install -C build
23 }
|