extra/webkit2gtk to 2.30.1-1

This commit is contained in:
Kevin Mihelich 2020-09-26 00:16:02 +00:00
parent 57051393f5
commit 860fdf828f

View file

@ -7,7 +7,7 @@
highmem=1
pkgname=webkit2gtk
pkgver=2.28.4
pkgver=2.30.1
pkgrel=1
pkgdesc="GTK+ Web content engine library"
arch=(x86_64)
@ -23,7 +23,7 @@ optdepends=('geoclue: Geolocation support'
'gst-plugins-bad: media decoding'
'gst-libav: nonfree media decoding')
source=(https://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz{,.asc})
sha256sums=('821952e8c9303ed752f1fb1d4283f612c25249d00d705d2b79c2db1bc49c9464'
sha256sums=('17c59dfdadb7377192e9b59bc56c8a029c9fad4f38ed732b652bf33d0bd5d6b1'
'SKIP')
validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3'
'5AA3BC334FD7E3369E7C77B291C559DBE4C9123B')
@ -38,7 +38,7 @@ build() {
CFLAGS+=" $CPPFLAGS"
CXXFLAGS+=" $CPPFLAGS"
cmake -Hwebkitgtk-$pkgver -Bbuild -G Ninja \
cmake -S webkitgtk-$pkgver -B build -G Ninja \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@ -59,7 +59,7 @@ package() {
depends+=(libwpe-1.0.so libWPEBackend-fdo-1.0.so)
provides+=(libjavascriptcoregtk-4.0.so libwebkit2gtk-4.0.so)
DESTDIR="$pkgdir" cmake --build build --target install
DESTDIR="$pkgdir" cmake --install build
cd webkitgtk-$pkgver
find Source -name 'COPYING*' -or -name 'LICENSE*' -print0 | sort -z |