extra/webkit2gtk-5.0 to 2.36.0-2

This commit is contained in:
Kevin Mihelich 2022-04-01 22:20:27 +00:00
parent f5fc629f91
commit 74afaa4151

View file

@ -8,7 +8,7 @@ highmem=1
pkgname=webkit2gtk-5.0
pkgver=2.36.0
pkgrel=1
pkgrel=2
pkgdesc="Web content engine for GTK"
url="https://webkitgtk.org"
arch=(x86_64)
@ -25,7 +25,7 @@ optdepends=('geoclue: Geolocation support'
'gst-plugins-good: media decoding'
'gst-plugins-bad: media decoding'
'gst-libav: nonfree media decoding')
options=(!lto)
options=(debug)
source=($url/releases/webkitgtk-$pkgver.tar.xz{,.asc})
sha256sums=('b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d'
'SKIP')
@ -37,6 +37,11 @@ prepare() {
}
build() {
# 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'
CXXFLAGS+=' -g1'
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon/vfpv3/'` && CXXFLAGS="$CFLAGS"
cmake -S webkitgtk-$pkgver -B build -G Ninja \