extra/webkit2gtk-4.1 to 2.42.1-1

This commit is contained in:
Kevin Mihelich 2023-09-28 02:26:23 +00:00
parent 4040ef0716
commit e5bd780c3c
2 changed files with 151 additions and 7 deletions

View file

@ -0,0 +1,139 @@
pkgbase = webkit2gtk-4.1
pkgdesc = Web content engine for GTK
pkgver = 2.42.1
pkgrel = 1
url = https://webkitgtk.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 = enchant
depends = fontconfig
depends = freetype2
depends = glib2
depends = gst-plugins-bad-libs
depends = gst-plugins-base-libs
depends = gstreamer
depends = gtk3
depends = harfbuzz
depends = harfbuzz-icu
depends = hyphen
depends = icu
depends = libavif
depends = libdrm
depends = libegl
depends = libepoxy
depends = libgcrypt
depends = libgl
depends = libgles
depends = libjpeg
depends = libjxl
depends = libmanette
depends = libpng
depends = libseccomp
depends = libsecret
depends = libsoup3
depends = libsystemd
depends = libtasn1
depends = libwebp
depends = libwpe
depends = libx11
depends = libxcomposite
depends = libxml2
depends = libxslt
depends = libxt
depends = mesa
depends = openjpeg2
depends = sqlite
depends = wayland
depends = woff2
depends = wpebackend-fdo
depends = xdg-dbus-proxy
depends = zlib
source = https://webkitgtk.org/releases/webkitgtk-2.42.1.tar.xz
source = https://webkitgtk.org/releases/webkitgtk-2.42.1.tar.xz.asc
source = webkitgtk-MiniBrowser-fullscreen.patch::https://github.com/WebKit/WebKit/commit/e07345343415dd2496edc721daa61a3b42703131.patch
validpgpkeys = D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3
validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
sha256sums = 6f41fac9989d3ee51c08c48de1d439cdeddecbc757e34b6180987d99b16d2499
sha256sums = SKIP
sha256sums = a921d6be1303e9f23474971f381886fd291ec5bb1a7ff1e85acede8cfb88bef2
b2sums = c6453cf2d15661507df66c5478e7675217b62d9579cf9b9408cb3e4fa1a8405c5c2608edf0960baed62aafa766e6cdbe2f0c07e8fb728d86c111f12d5a816492
b2sums = SKIP
b2sums = d440d82c769f1b35caf5464dc850cdf1c896224205c90c17d8b0a44aee62e4b1383e11306936aaca067fde8836770d346d5122d7b05c91a5c7c1741c89c65e2f
pkgname = webkit2gtk-4.1
depends = at-spi2-core
depends = atk
depends = bubblewrap
depends = cairo
depends = enchant
depends = fontconfig
depends = freetype2
depends = glib2
depends = gst-plugins-bad-libs
depends = gst-plugins-base-libs
depends = gstreamer
depends = gtk3
depends = harfbuzz
depends = harfbuzz-icu
depends = hyphen
depends = icu
depends = libavif
depends = libdrm
depends = libegl
depends = libepoxy
depends = libgcrypt
depends = libgl
depends = libgles
depends = libjpeg
depends = libjxl
depends = libmanette
depends = libpng
depends = libseccomp
depends = libsecret
depends = libsoup3
depends = libsystemd
depends = libtasn1
depends = libwebp
depends = libwpe
depends = libx11
depends = libxcomposite
depends = libxml2
depends = libxslt
depends = libxt
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 = libjavascriptcoregtk-4.1.so
provides = libwebkit2gtk-4.1.so
pkgname = webkit2gtk-4.1-docs
pkgdesc = Web content engine for GTK (documentation)
depends =

View file

@ -11,7 +11,7 @@ pkgname=(
webkit2gtk-4.1
webkit2gtk-4.1-docs
)
pkgver=2.42.0
pkgver=2.42.1
pkgrel=1
pkgdesc="Web content engine for GTK"
url="https://webkitgtk.org"
@ -83,11 +83,14 @@ makedepends=(
)
source=(
$url/releases/webkitgtk-$pkgver.tar.xz{,.asc}
webkitgtk-MiniBrowser-fullscreen.patch::https://github.com/WebKit/WebKit/commit/e07345343415dd2496edc721daa61a3b42703131.patch
)
sha256sums=('828f95935861fae583fb8f2ae58cf64c63c178ae2b7c2d6f73070813ad64ed1b'
'SKIP')
b2sums=('afaaef8482fe81645eee55be86a80fb51eff83dc000ac0dc5981d41810b5c72c59428d8e92a02c04718c0367ac19689501c81764f9603b767d7271ad9cd66075'
'SKIP')
sha256sums=('6f41fac9989d3ee51c08c48de1d439cdeddecbc757e34b6180987d99b16d2499'
'SKIP'
'a921d6be1303e9f23474971f381886fd291ec5bb1a7ff1e85acede8cfb88bef2')
b2sums=('c6453cf2d15661507df66c5478e7675217b62d9579cf9b9408cb3e4fa1a8405c5c2608edf0960baed62aafa766e6cdbe2f0c07e8fb728d86c111f12d5a816492'
'SKIP'
'd440d82c769f1b35caf5464dc850cdf1c896224205c90c17d8b0a44aee62e4b1383e11306936aaca067fde8836770d346d5122d7b05c91a5c7c1741c89c65e2f')
validpgpkeys=(
'D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3' # Carlos Garcia Campos <cgarcia@igalia.com>
'5AA3BC334FD7E3369E7C77B291C559DBE4C9123B' # Adrián Pérez de Castro <aperez@igalia.com>
@ -95,6 +98,8 @@ validpgpkeys=(
prepare() {
cd webkitgtk-$pkgver
patch -Np1 < ../webkitgtk-MiniBrowser-fullscreen.patch
}
build() {
@ -117,8 +122,8 @@ build() {
# /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"
#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