1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Eric Bélanger <eric@archlinux.org>
11 pkgdesc="Web content engine for GTK"
12 url="https://webkitgtk.org"
75 $url/releases/webkitgtk-$pkgver.tar.xz{,.asc}
77 sha256sums=('1c614c9589389db1a79ea9ba4293bbe8ac3ab0a2234cac700935fae0724ad48b'
80 'D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3' # Carlos Garcia Campos <cgarcia@igalia.com>
81 '5AA3BC334FD7E3369E7C77B291C559DBE4C9123B' # Adrián Pérez de Castro <aperez@igalia.com>
91 -DCMAKE_BUILD_TYPE=Release
92 -DCMAKE_INSTALL_PREFIX=/usr
93 -DCMAKE_INSTALL_LIBDIR=lib
94 -DCMAKE_INSTALL_LIBEXECDIR=lib
98 -DENABLE_DOCUMENTATION=ON
99 -DENABLE_MINIBROWSER=ON
102 # Produce minimal debug info: 4.3 GB of debug data makes the
103 # build too slow and is too much to package for debuginfod
107 cmake -S webkitgtk-$pkgver -B build -G Ninja "${cmake_options[@]}"
111 package_webkit2gtk-5.0() {
113 libWPEBackend-fdo-1.0.so
117 libjavascriptcoregtk-5.0.so
121 'geoclue: Geolocation support'
122 'gst-libav: nonfree media decoding'
123 'gst-plugins-bad: media decoding'
124 'gst-plugins-good: media decoding'
127 DESTDIR="$pkgdir" cmake --install build
129 rm -r "$pkgdir/usr/bin"
131 mkdir -p doc/usr/share
132 mv {"$pkgdir",doc}/usr/share/gtk-doc
135 find Source -name 'COPYING*' -or -name 'LICENSE*' -print0 | sort -z |
136 while IFS= read -d $'\0' -r _f; do
141 install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
144 package_webkit2gtk-5.0-docs() {
145 pkgdesc+=" (documentation)"
151 # vim:set sw=2 sts=-1 et: