mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/wpewebkit to 2.46.1-4
This commit is contained in:
parent
ae9825bfa5
commit
d82cc843d9
2 changed files with 15 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = wpewebkit
|
||||
pkgdesc = Embeddable web content engine
|
||||
pkgver = 2.46.1
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://wpewebkit.org
|
||||
arch = x86_64
|
||||
license = AFL-2.0 OR GPL-2.0-or-later
|
||||
|
@ -28,12 +28,14 @@ pkgbase = wpewebkit
|
|||
license = OFL-1.1
|
||||
license = SunPro
|
||||
license = Unicode-TOU
|
||||
makedepends = clang
|
||||
makedepends = cmake
|
||||
makedepends = gi-docgen
|
||||
makedepends = glib2-devel
|
||||
makedepends = gobject-introspection
|
||||
makedepends = gperf
|
||||
makedepends = gst-plugins-bad
|
||||
makedepends = lld
|
||||
makedepends = ninja
|
||||
makedepends = python
|
||||
makedepends = ruby
|
||||
|
|
|
@ -9,7 +9,7 @@ pkgname=(
|
|||
wpewebkit-docs
|
||||
)
|
||||
pkgver=2.46.1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Embeddable web content engine"
|
||||
url="https://wpewebkit.org"
|
||||
arch=(x86_64)
|
||||
|
@ -84,12 +84,14 @@ depends=(
|
|||
zlib
|
||||
)
|
||||
makedepends=(
|
||||
clang
|
||||
cmake
|
||||
gi-docgen
|
||||
glib2-devel
|
||||
gobject-introspection
|
||||
gperf
|
||||
gst-plugins-bad
|
||||
lld
|
||||
ninja
|
||||
python
|
||||
ruby
|
||||
|
@ -128,15 +130,19 @@ build() {
|
|||
-DENABLE_MINIBROWSER=ON
|
||||
)
|
||||
|
||||
# Upstream prefers Clang
|
||||
# https://gitlab.archlinux.org/archlinux/packaging/packages/webkitgtk-6.0/-/issues/4
|
||||
export CC=clang CXX=clang++
|
||||
LDFLAGS+=" -fuse-ld=lld"
|
||||
|
||||
# Skia uses malloc_usable_size
|
||||
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
|
||||
|
||||
# JITted code crashes when CET is used
|
||||
#CFLAGS+=' -fcf-protection=none'
|
||||
#CXXFLAGS+=' -fcf-protection=none'
|
||||
|
||||
# Produce minimal debug info: 4.3 GB of debug data makes the
|
||||
# build too slow and is too much to package for debuginfod
|
||||
CFLAGS+=' -g0'
|
||||
CXXFLAGS+=' -g0'
|
||||
|
||||
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon/vfpv3/'` && CXXFLAGS="$CFLAGS"
|
||||
|
||||
cmake -S wpewebkit-$pkgver -B build -G Ninja "${cmake_options[@]}"
|
||||
|
|
Loading…
Reference in a new issue