Commit 0366fded authored by David Demelier's avatar David Demelier
Browse files

community/libwpebackend-fdo: upgrade to 1.10.0

While here, change its build system to meson and pet apkbuild-lint.
parent a1df2504
Pipeline #86587 passed with stages
in 1 minute and 34 seconds
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libwpebackend-fdo
pkgver=1.8.3
pkgver=1.10.0
pkgrel=0
pkgdesc="freedesktop.org backend for WPE WebKit"
url="https://wpewebkit.org/"
arch="all"
license="BSD-2-Clause"
makedepends="cmake mesa-dev glib-dev wayland-dev libwpe-dev libepoxy-dev"
makedepends="mesa-dev meson glib-dev wayland-dev libwpe-dev libepoxy-dev"
options="!check" # no tests
subpackages="$pkgname-dev $pkgname-dbg"
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() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
$CMAKE_CROSSOPTS .
make
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="5b53604d192d78d92644dd9d266f06ac149fc404850e2c68ad0cef04b98931bd8417791450d96d60bdf8f02fae6c486c2d53c61dbf3da5d556bc4daba0b7b528 wpebackend-fdo-1.8.3.tar.xz"
sha512sums="
50e65d1560b943ec85b80449c838b61d7ab3baf96844542cce06028bd934b1145319f3fa07a3dc629d2a7896b95ab388edbe853b7e377cf0ff02fb66291e1ce0 wpebackend-fdo-1.10.0.tar.xz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment