summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorq234rty2023-09-20 20:37:41 +0800
committerq234rty2023-09-20 20:37:41 +0800
commit12db87618454b18f4ba4de7a04e8f83ef348b3a6 (patch)
tree89243f55270c37247e4ad07b962c01a5b84780c8
parent8b4a3fc48541c5e8ae2fb53d807e768185dba46c (diff)
downloadaur-12db87618454b18f4ba4de7a04e8f83ef348b3a6.tar.gz
Update to 2.42.0
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
2 files changed, 24 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97ed996dd5fc..29e036b8a948 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = webkit2gtk-4.1-imgpaste
pkgdesc = Web content engine for GTK (with patches for pasting images from clipboard)
- pkgver = 2.40.5
- pkgrel = 2
+ pkgver = 2.42.0
+ 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
@@ -40,6 +42,7 @@ pkgbase = webkit2gtk-4.1-imgpaste
depends = libgl
depends = libgles
depends = libjpeg
+ depends = libjxl
depends = libmanette
depends = libpng
depends = libseccomp
@@ -64,13 +67,13 @@ pkgbase = webkit2gtk-4.1-imgpaste
depends = zlib
provides = webkit2gtk-4.1
conflicts = webkit2gtk-4.1
- source = https://webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz
- source = https://webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.asc
+ source = https://webkitgtk.org/releases/webkitgtk-2.42.0.tar.xz
+ source = https://webkitgtk.org/releases/webkitgtk-2.42.0.tar.xz.asc
source = EnlargeObjectSize.patch
source = PasteBoardGtk.patch
validpgpkeys = D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3
validpgpkeys = 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
- sha256sums = 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f
+ sha256sums = 828f95935861fae583fb8f2ae58cf64c63c178ae2b7c2d6f73070813ad64ed1b
sha256sums = SKIP
sha256sums = 71b8a59c78d549fed0cd895207f49c7b3be40b236e96f4d7b9907a26521499bf
sha256sums = 20ebac2caf15fa546e6da00cb0fa90d5d37fcf7bfa883014d7d15eb4963d12d2
@@ -100,6 +103,7 @@ pkgname = webkit2gtk-4.1-imgpaste
depends = libgl
depends = libgles
depends = libjpeg
+ depends = libjxl
depends = libmanette
depends = libpng
depends = libseccomp
diff --git a/PKGBUILD b/PKGBUILD
index 073307e4c0f7..e65b7ddbfc12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: Eric Bélanger <eric@archlinux.org>
pkgname=webkit2gtk-4.1-imgpaste
-pkgver=2.40.5
-pkgrel=2
+pkgver=2.42.0
+pkgrel=1
pkgdesc="Web content engine for GTK (with patches for pasting images from clipboard)"
url="https://webkitgtk.org"
arch=(x86_64)
@@ -34,6 +34,7 @@ depends=(
libgl
libgles
libjpeg
+ libjxl
libmanette
libpng
libseccomp
@@ -58,11 +59,13 @@ depends=(
zlib
)
makedepends=(
+ clang
cmake
gi-docgen
gobject-introspection
gperf
gst-plugins-bad
+ lld
ninja
python
ruby
@@ -77,7 +80,7 @@ source=(
EnlargeObjectSize.patch
PasteBoardGtk.patch
)
-sha256sums=('7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f'
+sha256sums=('828f95935861fae583fb8f2ae58cf64c63c178ae2b7c2d6f73070813ad64ed1b'
'SKIP'
'71b8a59c78d549fed0cd895207f49c7b3be40b236e96f4d7b9907a26521499bf'
'20ebac2caf15fa546e6da00cb0fa90d5d37fcf7bfa883014d7d15eb4963d12d2')
@@ -106,6 +109,15 @@ build() {
-DENABLE_MINIBROWSER=ON
)
+ # GCC with LTO fails to link libjavascriptcoregtk
+ # /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'