[arch-commits] Commit in wpewebkit/repos (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 22 01:51:32 UTC 2021


    Date: Monday, November 22, 2021 @ 01:51:32
  Author: felixonmars
Revision: 428889

archrelease: copy trunk to staging-x86_64

Added:
  wpewebkit/repos/staging-x86_64/
  wpewebkit/repos/staging-x86_64/PKGBUILD
    (from rev 428888, wpewebkit/trunk/PKGBUILD)
  wpewebkit/repos/staging-x86_64/fix-doc.diff
    (from rev 428888, wpewebkit/trunk/fix-doc.diff)

--------------+
 PKGBUILD     |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fix-doc.diff |   17 +++++++++++++++
 2 files changed, 79 insertions(+)

Copied: wpewebkit/repos/staging-x86_64/PKGBUILD (from rev 428888, wpewebkit/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-22 01:51:32 UTC (rev 428889)
@@ -0,0 +1,62 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=wpewebkit
+pkgver=2.34.1
+pkgrel=3
+pkgdesc="Web content engine for embedded devices"
+url="https://wpewebkit.org"
+arch=(x86_64)
+license=(custom)
+depends=(cairo fontconfig freetype2 glib2 harfbuzz harfbuzz-icu icu libjpeg
+         libepoxy libgcrypt libsoup3 libxml2 zlib libpng sqlite libwebp libwpe
+         atk at-spi2-atk openjpeg2 woff2 libtasn1 libxslt libsystemd bubblewrap
+         libseccomp xdg-dbus-proxy gstreamer gst-plugins-base-libs libxkbcommon
+         wayland wpebackend-fdo)
+makedepends=(cmake ninja gtk-doc python ruby systemd gst-plugins-bad gperf
+             wayland-protocols)
+optdepends=('geoclue: Geolocation support'
+            'gst-plugins-good: media decoding'
+            'gst-plugins-bad: media decoding'
+            'gst-libav: nonfree media decoding')
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc} fix-doc.diff)
+sha256sums=('cb336986341be9c3a9b1ca2c18de0d29d90ae4e77b9967a6f6879597e7a969f7'
+            'SKIP'
+            'd8406f972334b22c7bcad4b105f4fe3e1c9f3dda5b396dbf912afa01fc121d8f')
+validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3'  # Carlos Garcia Campos <cgarcia at igalia.com>
+              '5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <aperez at igalia.com>
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../fix-doc.diff
+}
+
+build() {
+  cmake -S $pkgname-$pkgver -B build -G Ninja \
+    -DPORT=WPE \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DENABLE_GTKDOC=ON \
+    -DENABLE_MINIBROWSER=ON
+  cmake --build build
+}
+
+package() {
+  depends+=(libwpe-1.0.so libWPEBackend-fdo-1.0.so)
+  provides+=(libWPEWebKit-1.1.so)
+
+  DESTDIR="$pkgdir" cmake --install build
+
+  cd $pkgname-$pkgver
+  find Source -name 'COPYING*' -or -name 'LICENSE*' -print0 | sort -z |
+    while IFS= read -d $'\0' -r _f; do
+      echo "### $_f ###"
+      cat "$_f"
+      echo
+    done |
+    install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set sw=2 et:

Copied: wpewebkit/repos/staging-x86_64/fix-doc.diff (from rev 428888, wpewebkit/trunk/fix-doc.diff)
===================================================================
--- staging-x86_64/fix-doc.diff	                        (rev 0)
+++ staging-x86_64/fix-doc.diff	2021-11-22 01:51:32 UTC (rev 428889)
@@ -0,0 +1,17 @@
+diff -u -r wpewebkit-2.34.1/Source/PlatformWPE.cmake wpewebkit-2.34.1-doc/Source/PlatformWPE.cmake
+--- wpewebkit-2.34.1/Source/PlatformWPE.cmake	2021-09-16 12:43:07.000000000 +0000
++++ wpewebkit-2.34.1-doc/Source/PlatformWPE.cmake	2021-11-03 20:19:45.981812827 +0000
+@@ -10,10 +10,10 @@
+ )
+ 
+ if (ENABLE_GTKDOC)
+-    install(DIRECTORY ${CMAKE_BINARY_DIR}/Documentation/wpe-${WPE_API_VERSION}/html/wpe-${WPE_API_VERSION}
+-            DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/html"
++    install(DIRECTORY ${CMAKE_BINARY_DIR}/Documentation/wpe-${WPE_API_DOC_VERSION}/html/wpe-${WPE_API_DOC_VERSION}
++        DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/html"
+     )
+-    install(DIRECTORY ${CMAKE_BINARY_DIR}/Documentation/wpe-webextensions-${WPE_API_VERSION}/html/wpe-webextensions-${WPE_API_VERSION}
++    install(DIRECTORY ${CMAKE_BINARY_DIR}/Documentation/wpe-webextensions-${WPE_API_DOC_VERSION}/html/wpe-webextensions-${WPE_API_DOC_VERSION}
+         DESTINATION "${CMAKE_INSTALL_DATADIR}/gtk-doc/html"
+     )
+ endif ()



More information about the arch-commits mailing list