extra/wpewebkit to 2.44.3-2

This commit is contained in:
Kevin Mihelich 2024-08-14 17:44:47 +00:00
parent 9b631c6c31
commit 83d7e439a0
2 changed files with 68 additions and 17 deletions

View file

@ -1,18 +1,39 @@
pkgbase = wpewebkit pkgbase = wpewebkit
pkgdesc = Embeddable web content engine pkgdesc = Embeddable web content engine
pkgver = 2.44.3 pkgver = 2.44.3
pkgrel = 1 pkgrel = 2
url = https://wpewebkit.org url = https://wpewebkit.org
arch = x86_64 arch = x86_64
license = custom license = AFL-2.0 OR GPL-2.0-or-later
makedepends = clang license = Apache-2.0
license = Apache-2.0 WITH LLVM-exception
license = BSD-2-Clause
license = BSD-2-Clause-Views
license = BSD-3-Clause
license = BSD-Source-Code
license = BSL-1.0
license = bzip2-1.0.6
license = GPL-2.0-only
license = GPL-3.0-only WITH Autoconf-exception-3.0
license = GPL-3.0-or-later WITH Bison-exception-2.2
license = ICU
license = ISC
license = LGPL-2.1-only
license = LGPL-2.1-or-later
license = MIT
license = MPL-1.1
license = MPL-2.0
license = NCSA
license = NCSA OR MIT
license = OFL-1.1
license = SunPro
license = Unicode-TOU
makedepends = cmake makedepends = cmake
makedepends = gi-docgen makedepends = gi-docgen
makedepends = glib2-devel makedepends = glib2-devel
makedepends = gobject-introspection makedepends = gobject-introspection
makedepends = gperf makedepends = gperf
makedepends = gst-plugins-bad makedepends = gst-plugins-bad
makedepends = lld
makedepends = ninja makedepends = ninja
makedepends = python makedepends = python
makedepends = ruby makedepends = ruby
@ -26,13 +47,16 @@ pkgbase = wpewebkit
depends = cairo depends = cairo
depends = fontconfig depends = fontconfig
depends = freetype2 depends = freetype2
depends = gcc-libs
depends = glib2 depends = glib2
depends = glibc
depends = gst-plugins-bad-libs depends = gst-plugins-bad-libs
depends = gst-plugins-base-libs depends = gst-plugins-base-libs
depends = gstreamer depends = gstreamer
depends = harfbuzz depends = harfbuzz
depends = harfbuzz-icu depends = harfbuzz-icu
depends = icu depends = icu
depends = lcms2
depends = libavif depends = libavif
depends = libdrm depends = libdrm
depends = libepoxy depends = libepoxy
@ -57,6 +81,7 @@ pkgbase = wpewebkit
depends = wpebackend-fdo depends = wpebackend-fdo
depends = xdg-dbus-proxy depends = xdg-dbus-proxy
depends = zlib depends = zlib
options = !lto
source = https://wpewebkit.org/releases/wpewebkit-2.44.3.tar.xz source = https://wpewebkit.org/releases/wpewebkit-2.44.3.tar.xz
source = https://wpewebkit.org/releases/wpewebkit-2.44.3.tar.xz.asc source = https://wpewebkit.org/releases/wpewebkit-2.44.3.tar.xz.asc
validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
@ -73,13 +98,16 @@ pkgname = wpewebkit
depends = cairo depends = cairo
depends = fontconfig depends = fontconfig
depends = freetype2 depends = freetype2
depends = gcc-libs
depends = glib2 depends = glib2
depends = glibc
depends = gst-plugins-bad-libs depends = gst-plugins-bad-libs
depends = gst-plugins-base-libs depends = gst-plugins-base-libs
depends = gstreamer depends = gstreamer
depends = harfbuzz depends = harfbuzz
depends = harfbuzz-icu depends = harfbuzz-icu
depends = icu depends = icu
depends = lcms2
depends = libavif depends = libavif
depends = libdrm depends = libdrm
depends = libepoxy depends = libepoxy

View file

@ -9,11 +9,37 @@ pkgname=(
wpewebkit-docs wpewebkit-docs
) )
pkgver=2.44.3 pkgver=2.44.3
pkgrel=1 pkgrel=2
pkgdesc="Embeddable web content engine" pkgdesc="Embeddable web content engine"
url="https://wpewebkit.org" url="https://wpewebkit.org"
arch=(x86_64) arch=(x86_64)
license=(custom) license=(
# :sort ui /\v^\s*['"]?/
'AFL-2.0 OR GPL-2.0-or-later'
Apache-2.0
'Apache-2.0 WITH LLVM-exception'
BSD-2-Clause
BSD-2-Clause-Views
BSD-3-Clause
BSD-Source-Code
BSL-1.0
bzip2-1.0.6
GPL-2.0-only
'GPL-3.0-only WITH Autoconf-exception-3.0'
'GPL-3.0-or-later WITH Bison-exception-2.2'
ICU
ISC
LGPL-2.1-only
LGPL-2.1-or-later
MIT
MPL-1.1
MPL-2.0
NCSA
'NCSA OR MIT'
OFL-1.1
SunPro
Unicode-TOU
)
depends=( depends=(
at-spi2-core at-spi2-core
atk atk
@ -21,13 +47,16 @@ depends=(
cairo cairo
fontconfig fontconfig
freetype2 freetype2
gcc-libs
glib2 glib2
glibc
gst-plugins-bad-libs gst-plugins-bad-libs
gst-plugins-base-libs gst-plugins-base-libs
gstreamer gstreamer
harfbuzz harfbuzz
harfbuzz-icu harfbuzz-icu
icu icu
lcms2
libavif libavif
libdrm libdrm
libepoxy libepoxy
@ -54,14 +83,12 @@ depends=(
zlib zlib
) )
makedepends=( makedepends=(
clang
cmake cmake
gi-docgen gi-docgen
glib2-devel glib2-devel
gobject-introspection gobject-introspection
gperf gperf
gst-plugins-bad gst-plugins-bad
lld
ninja ninja
python python
ruby ruby
@ -70,6 +97,11 @@ makedepends=(
unifdef unifdef
wayland-protocols wayland-protocols
) )
options=(
# https://gitlab.archlinux.org/archlinux/packaging/packages/webkit2gtk-4.1/-/issues/1
# https://bugs.webkit.org/show_bug.cgi?id=278090
!lto
)
source=( source=(
$url/releases/wpewebkit-$pkgver.tar.xz{,.asc} $url/releases/wpewebkit-$pkgver.tar.xz{,.asc}
) )
@ -100,15 +132,6 @@ build() {
-DENABLE_MINIBROWSER=ON -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"
# JITted code crashes when CET is used # JITted code crashes when CET is used
#CFLAGS+=' -fcf-protection=none' #CFLAGS+=' -fcf-protection=none'
#CXXFLAGS+=' -fcf-protection=none' #CXXFLAGS+=' -fcf-protection=none'