extra/webkit2gtk to 2.22.5-1

This commit is contained in:
Kevin Mihelich 2018-12-14 13:58:20 +00:00
parent b38777ec32
commit 7481527e8b

View file

@ -7,7 +7,7 @@
highmem=1
pkgname=webkit2gtk
pkgver=2.22.4
pkgver=2.22.5
pkgrel=1
pkgdesc="GTK+ Web content engine library"
arch=(x86_64)
@ -21,24 +21,21 @@ optdepends=('gtk2: Netscape plugin support'
'gst-plugins-good: media decoding'
'gst-libav: nonfree media decoding')
source=(https://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz{,.asc})
sha256sums=('fab5be2883802352ae0e735dd1eff4bc18abaff7ac78689cec72eb2f611943b8'
sha256sums=('99d3863f418a7c3a3e37e5062950dbf2d91fb106ec1633459b0ef6f2d5f6cb13'
'SKIP')
validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3'
'5AA3BC334FD7E3369E7C77B291C559DBE4C9123B')
prepare() {
mkdir build
cd webkitgtk-$pkgver
sed -i '1s/python$/&2/' Tools/gtk/generate-gtkdoc
}
build() {
cd build
# do not use LLINT assembly for v5/v6
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && CONFIG="-DENABLE_JIT=OFF"
cmake ../webkitgtk-$pkgver -G Ninja \
cmake -Hwebkitgtk-$pkgver -Bbuild -GNinja \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -48,7 +45,7 @@ build() {
-DLIB_INSTALL_DIR=/usr/lib \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
$CONFIG
cmake --build .
cmake --build build
}
check() {