summaryrefslogtreecommitdiff
path: root/gtk-layer-shell/Pkgfile
blob: 8a074a0b08f5774ddfab7bb02687f0f05a2b8b27 (plain)
    1 # Description: Library to create Wayland desktop components using the Layer Shell protocol
    2 # URL: https://github.com/wmww/gtk-layer-shell
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: gtk3 libxkbcommon wayland-protocols
    5 # Optional: vala
    6 
    7 name=gtk-layer-shell
    8 version=0.8.0
    9 release=1
   10 source=(https://github.com/wmww/gtk-layer-shell/archive/v$version/$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   prt-get isinst vala || PKGMK_GLS+=' -D vapi=false'
   16 
   17   meson setup $name-$version build $PKGMK_GLS \
   18     --prefix=/usr \
   19     --buildtype=plain \
   20     --wrap-mode nodownload \
   21     --auto-features disabled \
   22     -D b_lto=true \
   23     -D b_pie=true
   24   meson compile -C build
   25   DESTDIR=$PKG meson install -C build
   26 }

Generated by cgit