Commit e6934dc1 authored by David Demelier's avatar David Demelier
Browse files

testing/wpewebkit: new aport

https://wpewebkit.org
WebKit port optimized for embedded devices
parent 09e9c92b
Pipeline #86231 failed with stages
in 61 minutes and 15 seconds
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=wpewebkit
pkgver=2.33.2
pkgrel=0
pkgdesc="WebKit port optimized for embedded devices"
url="https://wpewebkit.org"
arch="all"
license="other"
makedepends="
at-spi2-atk-dev
atk-dev
bubblewrap
cairo-dev
cmake
gperf
gst-plugins-base-dev
gtk-doc
harfbuzz-dev
lcms2-dev
libepoxy-dev
libgcrypt-dev
libseccomp-dev
libsoup-dev
libtasn1-dev
libwpe-dev
libwpebackend-fdo-dev
libxkbcommon-dev
libxslt-dev
ninja
openjpeg-dev
perl
ruby-dev
ruby-json
wayland-dev
wayland-protocols
woff2-dev
xdg-dbus-proxy
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://wpewebkit.org/releases/wpewebkit-$pkgver.tar.xz
patch-gettext.patch
"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
-DPORT=WPE \
-DENABLE_MINIBROWSER=On \
-DENABLE_GTKDOC=On \
-DUSE_SOUP2=On \
-DUSE_SYSTEMD=Off \
-GNinja \
$CMAKE_CROSSOPTS .
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
223d6ab767acf2f9f9a3225f04f51df1071851544168149ebe7bcaa0e49468dbe418a19158e5fc5dcdfb340541432bb90da6042ff8fd1fde91a81690cdfc60c3 wpewebkit-2.33.2.tar.xz
4316330f0c42fcfe800210bdbeabbb6bdcf532b71e2761550b8a753499d801fd0405cc961a516dfddfc28c3a6cf0c17b6db461ff51158238b8d874bf75b799f2 patch-gettext.patch
"
Add -lintl since it's not default in musl.
Upstream: not yet.
--- a/Source/WebKit/CMakeLists.txt 2021-07-02 17:40:14.028879924 +0200
+++ b/Source/WebKit/CMakeLists.txt 2021-07-02 17:41:31.015503465 +0200
@@ -360,6 +360,8 @@
list(APPEND WebKit_PRIVATE_LIBRARIES atomic)
endif ()
+list(APPEND WebKit_PRIVATE_LIBRARIES intl)
+
if (UNIX)
check_function_exists(shm_open SHM_OPEN_EXISTS)
if (NOT SHM_OPEN_EXISTS)
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