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