From 3e0ca08269b5d9039ea11796bacf9c11d226be67 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 8 Jun 2022 11:36:28 +0200 Subject: [PATCH] qt5-webview: update to 5.15.4. --- srcpkgs/qt5-webview/template | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/srcpkgs/qt5-webview/template b/srcpkgs/qt5-webview/template index 807f4d0504c..bb7b42f5bf0 100644 --- a/srcpkgs/qt5-webview/template +++ b/srcpkgs/qt5-webview/template @@ -1,8 +1,9 @@ # Template file for 'qt5-webview' pkgname=qt5-webview -version=5.15.2 +version=5.15.4 revision=1 -wrksrc="qtwebview-everywhere-src-${version}" +_commit=826d2a33929c69807917536d48b7861e7682001e +wrksrc="qtwebview-${_commit}" build_style=qmake hostmakedepends="qt5-qmake perl qt5-host-tools" makedepends="qt5-location-devel qt5-webchannel-devel qt5-tools-devel qt5-declarative-devel @@ -11,14 +12,18 @@ short_desc="Cross-platform application and UI framework (QT5) - WebEngine compon maintainer="John " license="GPL-3.0-or-later, LGPL-3.0-or-later" homepage="https://qt.io/" -distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtwebview-everywhere-src-${version}.tar.xz" -checksum=be9f46167e4977ead5ef5ecf883fdb812a4120f2436383583792f65557e481e7 +distfiles="https://invent.kde.org/qt/qt/qtwebview/-/archive/${_commit}.tar.gz" +checksum=49f7c087e8e3662adf3c271c41c629e547f02b82b305641148f07170d4ea1a67 build_options="webengine" if [ "$XBPS_TARGET_ENDIAN" = "le" ] && [ "$XBPS_WORDSIZE" = "$XBPS_TARGET_WORDSIZE" ]; then build_options_default="webengine" fi +post_extract() { + mkdir -p ${wrksrc}/.git +} + _cleanup_wrksrc_leak() { if [ -d "${PKGDESTDIR}/usr/lib/cmake" ]; then # Replace references to ${wrksrc} in cmake files