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