mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/webkit2gtk-4.1: v7 fix
This commit is contained in:
parent
023d24a7ee
commit
f50652b0d3
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue