# Description: freedesktop.org backend for WPE WebKit
# URL: https://wpewebkit.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: glib libepoxy libwpe wayland-protocols

name=wpebackend-fdo
version=1.14.2
release=1
source=(https://wpewebkit.org/releases/$name-$version.tar.xz)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --buildtype=plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true
  meson compile -C build
  DESTDIR=$PKG meson install -C build
}
