extra/webkit2gtk: v7 fix

This commit is contained in:
Kevin Mihelich 2022-03-23 00:58:17 +00:00
parent 37551bba22
commit 023d24a7ee

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 \
@ -49,8 +48,7 @@ build() {
-DCMAKE_SKIP_RPATH=ON \
-DUSE_SOUP2=ON \
-DENABLE_GTKDOC=OFF \
-DENABLE_MINIBROWSER=ON \
$CONFIG
-DENABLE_MINIBROWSER=ON
cmake --build build
}