mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/webkit2gtk to 2.38.0-2
This commit is contained in:
parent
65010949f7
commit
2e80acdd64
1 changed files with 79 additions and 19 deletions
|
@ -6,28 +6,74 @@
|
|||
|
||||
highmem=1
|
||||
|
||||
pkgname=webkit2gtk
|
||||
pkgver=2.36.7
|
||||
pkgrel=1
|
||||
pkgbase=webkit2gtk
|
||||
pkgname=(webkit2gtk webkit2gtk-docs)
|
||||
pkgver=2.38.0
|
||||
pkgrel=2
|
||||
pkgdesc="Web content engine for GTK"
|
||||
url="https://webkitgtk.org"
|
||||
arch=(x86_64)
|
||||
license=(custom)
|
||||
depends=(cairo fontconfig freetype2 libgcrypt glib2 gtk3 harfbuzz harfbuzz-icu
|
||||
icu libjpeg libsoup libxml2 zlib libpng sqlite atk libwebp at-spi2-core
|
||||
libegl libgl libgles libwpe wpebackend-fdo libxslt libsecret libtasn1
|
||||
enchant libx11 libxext libice libxt wayland libnotify hyphen openjpeg2
|
||||
woff2 libsystemd bubblewrap libseccomp xdg-dbus-proxy gstreamer
|
||||
gst-plugins-base-libs libmanette)
|
||||
makedepends=(cmake ninja gtk-doc python ruby gobject-introspection
|
||||
wayland-protocols systemd gst-plugins-bad gperf)
|
||||
optdepends=('geoclue: Geolocation support'
|
||||
'gst-plugins-good: media decoding'
|
||||
'gst-plugins-bad: media decoding'
|
||||
'gst-libav: nonfree media decoding')
|
||||
depends=(
|
||||
at-spi2-core
|
||||
atk
|
||||
bubblewrap
|
||||
cairo
|
||||
enchant
|
||||
fontconfig
|
||||
freetype2
|
||||
glib2
|
||||
gst-plugins-base-libs
|
||||
gstreamer
|
||||
gtk3
|
||||
harfbuzz
|
||||
harfbuzz-icu
|
||||
hyphen
|
||||
icu
|
||||
libegl
|
||||
libgcrypt
|
||||
libgl
|
||||
libgles
|
||||
libice
|
||||
libjpeg
|
||||
libmanette
|
||||
libnotify
|
||||
libpng
|
||||
libseccomp
|
||||
libsecret
|
||||
libsoup
|
||||
libsystemd
|
||||
libtasn1
|
||||
libwebp
|
||||
libwpe
|
||||
libx11
|
||||
libxext
|
||||
libxml2
|
||||
libxslt
|
||||
libxt
|
||||
openjpeg2
|
||||
sqlite
|
||||
wayland
|
||||
woff2
|
||||
wpebackend-fdo
|
||||
xdg-dbus-proxy
|
||||
zlib
|
||||
)
|
||||
makedepends=(
|
||||
cmake
|
||||
gi-docgen
|
||||
gobject-introspection
|
||||
gperf
|
||||
gst-plugins-bad
|
||||
ninja
|
||||
python
|
||||
ruby
|
||||
systemd
|
||||
wayland-protocols
|
||||
)
|
||||
options=(debug)
|
||||
source=($url/releases/webkitgtk-$pkgver.tar.xz{,.asc})
|
||||
sha256sums=('0c260cf2b32f0481d017670dfed1b61e554967cd067195606c9f9eb5fe731743'
|
||||
sha256sums=('f9ce6375a3b6e1329b0b609f46921e2627dc7ad6224b37b967ab2ea643bc0fbd'
|
||||
'SKIP')
|
||||
validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3' # Carlos Garcia Campos <cgarcia@igalia.com>
|
||||
'5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <aperez@igalia.com>
|
||||
|
@ -52,19 +98,26 @@ build() {
|
|||
-DCMAKE_INSTALL_LIBEXECDIR=lib \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DUSE_SOUP2=ON \
|
||||
-DENABLE_GTKDOC=OFF \
|
||||
-DENABLE_DOCUMENTATION=ON \
|
||||
-DENABLE_MINIBROWSER=ON
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
package_webkit2gtk() {
|
||||
depends+=(libwpe-1.0.so libWPEBackend-fdo-1.0.so)
|
||||
provides+=(libjavascriptcoregtk-4.0.so libwebkit2gtk-4.0.so)
|
||||
optdepends=('geoclue: Geolocation support'
|
||||
'gst-plugins-good: media decoding'
|
||||
'gst-plugins-bad: media decoding'
|
||||
'gst-libav: nonfree media decoding')
|
||||
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
rm -r "$pkgdir/usr/bin"
|
||||
|
||||
mkdir -p doc/usr/share
|
||||
mv {"$pkgdir",doc}/usr/share/gtk-doc
|
||||
|
||||
cd webkitgtk-$pkgver
|
||||
find Source -name 'COPYING*' -or -name 'LICENSE*' -print0 | sort -z |
|
||||
while IFS= read -d $'\0' -r _f; do
|
||||
|
@ -75,4 +128,11 @@ package() {
|
|||
install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set sw=2 et:
|
||||
package_webkit2gtk-docs() {
|
||||
pkgdesc+=" (documentation)"
|
||||
depends=()
|
||||
|
||||
mv doc/* "$pkgdir"
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
||||
|
|
Loading…
Reference in a new issue