extra/wpewebkit to 2.42.0-1

This commit is contained in:
Kevin Mihelich 2023-09-27 18:51:35 +00:00
parent 9552cb66dd
commit 4040ef0716
2 changed files with 132 additions and 5 deletions

115
extra/wpewebkit/.SRCINFO Normal file
View file

@ -0,0 +1,115 @@
pkgbase = wpewebkit
pkgdesc = Embeddable web content engine
pkgver = 2.42.0
pkgrel = 1
url = https://wpewebkit.org
arch = x86_64
license = custom
makedepends = clang
makedepends = cmake
makedepends = gi-docgen
makedepends = gobject-introspection
makedepends = gperf
makedepends = gst-plugins-bad
makedepends = lld
makedepends = ninja
makedepends = python
makedepends = ruby
makedepends = systemd
makedepends = unifdef
makedepends = wayland-protocols
depends = at-spi2-core
depends = atk
depends = bubblewrap
depends = cairo
depends = fontconfig
depends = freetype2
depends = glib2
depends = gst-plugins-bad-libs
depends = gst-plugins-base-libs
depends = gstreamer
depends = harfbuzz
depends = harfbuzz-icu
depends = icu
depends = libavif
depends = libdrm
depends = libepoxy
depends = libgcrypt
depends = libjpeg
depends = libjxl
depends = libpng
depends = libseccomp
depends = libsoup3
depends = libsystemd
depends = libtasn1
depends = libwebp
depends = libwpe
depends = libxkbcommon
depends = libxml2
depends = libxslt
depends = mesa
depends = openjpeg2
depends = sqlite
depends = wayland
depends = woff2
depends = wpebackend-fdo
depends = xdg-dbus-proxy
depends = zlib
source = https://wpewebkit.org/releases/wpewebkit-2.42.0.tar.xz
source = https://wpewebkit.org/releases/wpewebkit-2.42.0.tar.xz.asc
validpgpkeys = D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3
validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
sha256sums = acda4be341c6021e092b36612c88d596dae4dd7f41e6ac47425d645dffdfe5ed
sha256sums = SKIP
b2sums = 0958b38ac1095f9ff1ab1d200295b12b21d209c6333ce757d30db8e72ab7a9d70d97d7dfad1af20b89dc35530b4911296e05f5d38cbea27e7220c5cf32d670f0
b2sums = SKIP
pkgname = wpewebkit
depends = at-spi2-core
depends = atk
depends = bubblewrap
depends = cairo
depends = fontconfig
depends = freetype2
depends = glib2
depends = gst-plugins-bad-libs
depends = gst-plugins-base-libs
depends = gstreamer
depends = harfbuzz
depends = harfbuzz-icu
depends = icu
depends = libavif
depends = libdrm
depends = libepoxy
depends = libgcrypt
depends = libjpeg
depends = libjxl
depends = libpng
depends = libseccomp
depends = libsoup3
depends = libsystemd
depends = libtasn1
depends = libwebp
depends = libwpe
depends = libxkbcommon
depends = libxml2
depends = libxslt
depends = mesa
depends = openjpeg2
depends = sqlite
depends = wayland
depends = woff2
depends = wpebackend-fdo
depends = xdg-dbus-proxy
depends = zlib
depends = libWPEBackend-fdo-1.0.so
depends = libwpe-1.0.so
optdepends = geoclue: Geolocation support
optdepends = gst-libav: nonfree media decoding
optdepends = gst-plugins-bad: media decoding
optdepends = gst-plugins-good: media decoding
provides = libWPEWebKit-1.1.so
pkgname = wpewebkit-docs
pkgdesc = Embeddable web content engine (documentation)
depends =

View file

@ -8,14 +8,14 @@ pkgname=(
wpewebkit
wpewebkit-docs
)
pkgver=2.40.5
pkgrel=2
pkgver=2.42.0
pkgrel=1
pkgdesc="Embeddable web content engine"
url="https://wpewebkit.org"
arch=(x86_64)
license=(custom)
depends=(
at-spi2-atk
at-spi2-core
atk
bubblewrap
cairo
@ -33,6 +33,7 @@ depends=(
libepoxy
libgcrypt
libjpeg
libjxl
libpng
libseccomp
libsoup3
@ -53,11 +54,13 @@ depends=(
zlib
)
makedepends=(
clang
cmake
gi-docgen
gobject-introspection
gperf
gst-plugins-bad
lld
ninja
python
ruby
@ -68,9 +71,9 @@ makedepends=(
source=(
$url/releases/wpewebkit-$pkgver.tar.xz{,.asc}
)
sha256sums=('4c658d3049c50e98b12fd6623ec42772f25a99cc1c05b5347a10a8633c266733'
sha256sums=('acda4be341c6021e092b36612c88d596dae4dd7f41e6ac47425d645dffdfe5ed'
'SKIP')
b2sums=('289212bdc2fb1c9890a84266642eb4665d8896319bafb7e5cb98ccb93064d027778562f0fce05136af312112e2e616c8c1e3e36753db677dcfd0e2acf53bf514'
b2sums=('0958b38ac1095f9ff1ab1d200295b12b21d209c6333ce757d30db8e72ab7a9d70d97d7dfad1af20b89dc35530b4911296e05f5d38cbea27e7220c5cf32d670f0'
'SKIP')
validpgpkeys=(
'D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3' # Carlos Garcia Campos <cgarcia@igalia.com>
@ -95,6 +98,15 @@ build() {
-DENABLE_MINIBROWSER=ON
)
# GCC with LTO fails to link jsc
# /usr/bin/ld: /tmp/ccXxyWZV.ltrans0.ltrans.o: in function `ipint_table_size_validate':
# <artificial>:(.text+0x49f0f): undefined reference to `ipint_extern_table_size'
# /usr/bin/ld: /tmp/ccXxyWZV.ltrans0.ltrans.o: in function `ipint_table_fill_validate':
# <artificial>:(.text+0x4a019): undefined reference to `ipint_extern_table_fill'
# collect2: error: ld returned 1 exit status
#export CC=clang CXX=clang++
#LDFLAGS+=" -fuse-ld=lld"
# Produce minimal debug info: 4.3 GB of debug data makes the
# build too slow and is too much to package for debuginfod
CFLAGS+=' -g1'