# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=libwpebackend-fdo pkgver=1.14.2 pkgrel=0 pkgdesc="freedesktop.org backend for WPE WebKit" url="https://wpewebkit.org/" arch="all" license="BSD-2-Clause" depends_dev="$pkgname" makedepends="mesa-dev meson glib-dev wayland-dev libwpe-dev libepoxy-dev" options="!check" # no tests subpackages="$pkgname-dbg $pkgname-dev" source="https://github.com/Igalia/WPEBackend-fdo/releases/download/$pkgver/wpebackend-fdo-$pkgver.tar.xz" builddir="$srcdir/wpebackend-fdo-$pkgver" build() { CFLAGS="${CFLAGS/-g/-g1}" \ CXXFLAGS="${CXXFLAGS/-g/-g1}" \ abuild-meson \ -Db_lto=true \ . output meson compile -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } dev() { default_dev # this .so symlink needs to be in the main package mv "$subpkgdir"/usr/lib/libWPEBackend-fdo-1.0.so "$pkgdir"/usr/lib } sha512sums=" 4edc28221795b325977f9a5a79b7656b4f100129a6d1c15142180bab94cce1a8b06b42a71fbe985ddc1e02772f1cc03a92f73d2176edd16e791db799b831740c wpebackend-fdo-1.14.2.tar.xz "