extra/webkit2gtk-4.1: v7 fix

This commit is contained in:
Kevin Mihelich 2022-03-23 00:58:54 +00:00
parent 023d24a7ee
commit f50652b0d3

View file

@ -2,7 +2,7 @@
# Contributor: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - do not use LLINT assembly for v5/v6
# - build v7 with vfpv3, neon is broken
highmem=1
@ -37,8 +37,7 @@ prepare() {
}
build() {
# do not use LLINT assembly for v5/v6
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && CONFIG="-DENABLE_JIT=OFF"
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon/vfpv3/'` && CXXFLAGS="$CFLAGS"
cmake -S webkitgtk-$pkgver -B build -G Ninja \
-DPORT=GTK \
@ -48,8 +47,7 @@ build() {
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DCMAKE_SKIP_RPATH=ON \
-DENABLE_GTKDOC=ON \
-DENABLE_MINIBROWSER=ON \
$CONFIG
-DENABLE_MINIBROWSER=ON
cmake --build build
}