[arch-commits] Commit in webkit2gtk-4.1/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Fri Apr 1 21:36:58 UTC 2022
Date: Friday, April 1, 2022 @ 21:36:57
Author: heftig
Revision: 441212
2.36.0-2: debug on, lto on
Modified:
webkit2gtk-4.1/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-01 21:36:56 UTC (rev 441211)
+++ PKGBUILD 2022-04-01 21:36:57 UTC (rev 441212)
@@ -3,7 +3,7 @@
pkgname=webkit2gtk-4.1
pkgver=2.36.0
-pkgrel=1
+pkgrel=2
pkgdesc="Web content engine for GTK"
url="https://webkitgtk.org"
arch=(x86_64)
@@ -20,7 +20,7 @@
'gst-plugins-good: media decoding'
'gst-plugins-bad: media decoding'
'gst-libav: nonfree media decoding')
-options=(!lto)
+options=(debug)
source=($url/releases/webkitgtk-$pkgver.tar.xz{,.asc})
sha256sums=('b877cca1f105235f5dd57c7ac2b2c2be3c6b691ff444f93925c7254cf156c64d'
'SKIP')
@@ -32,6 +32,11 @@
}
build() {
+ # Produce minimal debug info: 4.3 GB of debug data makes the
+ # build too slow and is too much to package for debuginfod
+ CFLAGS+=' -g1'
+ CXXFLAGS+=' -g1'
+
cmake -S webkitgtk-$pkgver -B build -G Ninja \
-DPORT=GTK \
-DCMAKE_BUILD_TYPE=Release \
@@ -39,6 +44,7 @@
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DCMAKE_SKIP_RPATH=ON \
+ -DUSE_SOUP2=OFF \
-DENABLE_GTKDOC=ON \
-DENABLE_MINIBROWSER=ON
cmake --build build
More information about the arch-commits
mailing list