[arch-commits] Commit in wpewebkit/trunk (PKGBUILD fix-doc.diff)

Jan Steffens heftig at gemini.archlinux.org
Wed Nov 3 21:53:33 UTC 2021


    Date: Wednesday, November 3, 2021 @ 21:53:33
  Author: heftig
Revision: 427082

2.34.1-2

Added:
  wpewebkit/trunk/fix-doc.diff
Modified:
  wpewebkit/trunk/PKGBUILD

--------------+
 PKGBUILD     |   13 +++++++------
 fix-doc.diff |   17 +++++++++++++++++
 2 files changed, 24 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 21:53:20 UTC (rev 427081)
+++ PKGBUILD	2021-11-03 21:53:33 UTC (rev 427082)
@@ -2,13 +2,13 @@
 
 pkgname=wpewebkit
 pkgver=2.34.1
-pkgrel=1
+pkgrel=2
 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 libsoup libxml2 zlib libpng sqlite libwebp libwpe
+         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)
@@ -18,14 +18,16 @@
             'gst-plugins-good: media decoding'
             'gst-plugins-bad: media decoding'
             'gst-libav: nonfree media decoding')
-source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc} fix-doc.diff)
 sha256sums=('cb336986341be9c3a9b1ca2c18de0d29d90ae4e77b9967a6f6879597e7a969f7'
-            'SKIP')
+            '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() {
@@ -36,7 +38,6 @@
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_INSTALL_LIBEXECDIR=lib \
     -DCMAKE_SKIP_RPATH=ON \
-    -DUSE_SOUP2=ON \
     -DENABLE_GTKDOC=ON \
     -DENABLE_MINIBROWSER=ON
   cmake --build build
@@ -44,7 +45,7 @@
 
 package() {
   depends+=(libwpe-1.0.so libWPEBackend-fdo-1.0.so)
-  provides+=(libWPEWebKit-1.0.so)
+  provides+=(libWPEWebKit-1.1.so)
 
   DESTDIR="$pkgdir" cmake --install build
 

Added: fix-doc.diff
===================================================================
--- fix-doc.diff	                        (rev 0)
+++ fix-doc.diff	2021-11-03 21:53:33 UTC (rev 427082)
@@ -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