[arch-commits] Commit in wpewebkit/repos/extra-x86_64 (PKGBUILD PKGBUILD fix-doc.diff)
Jan Steffens
heftig at gemini.archlinux.org
Wed Nov 3 21:54:44 UTC 2021
Date: Wednesday, November 3, 2021 @ 21:54:44
Author: heftig
Revision: 427086
archrelease: copy trunk to extra-x86_64
Added:
wpewebkit/repos/extra-x86_64/PKGBUILD
(from rev 427082, wpewebkit/trunk/PKGBUILD)
wpewebkit/repos/extra-x86_64/fix-doc.diff
(from rev 427082, wpewebkit/trunk/fix-doc.diff)
Deleted:
wpewebkit/repos/extra-x86_64/PKGBUILD
--------------+
PKGBUILD | 123 ++++++++++++++++++++++++++++-----------------------------
fix-doc.diff | 17 +++++++
2 files changed, 79 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 21:54:44 UTC (rev 427085)
+++ PKGBUILD 2021-11-03 21:54:44 UTC (rev 427086)
@@ -1,61 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-
-pkgname=wpewebkit
-pkgver=2.34.1
-pkgrel=1
-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
- 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})
-sha256sums=('cb336986341be9c3a9b1ca2c18de0d29d90ae4e77b9967a6f6879597e7a969f7'
- 'SKIP')
-validpgpkeys=('D7FCF61CF9A2DEAB31D81BD3F3D322D0EC4582C3' # Carlos Garcia Campos <cgarcia at igalia.com>
- '5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <aperez at igalia.com>
-
-prepare() {
- cd $pkgname-$pkgver
-}
-
-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 \
- -DUSE_SOUP2=ON \
- -DENABLE_GTKDOC=ON \
- -DENABLE_MINIBROWSER=ON
- cmake --build build
-}
-
-package() {
- depends+=(libwpe-1.0.so libWPEBackend-fdo-1.0.so)
- provides+=(libWPEWebKit-1.0.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/extra-x86_64/PKGBUILD (from rev 427082, wpewebkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-03 21:54:44 UTC (rev 427086)
@@ -0,0 +1,62 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=wpewebkit
+pkgver=2.34.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 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/extra-x86_64/fix-doc.diff (from rev 427082, wpewebkit/trunk/fix-doc.diff)
===================================================================
--- fix-doc.diff (rev 0)
+++ fix-doc.diff 2021-11-03 21:54:44 UTC (rev 427086)
@@ -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