extra/qt5-webengine to 5.15.16-5

This commit is contained in:
Kevin Mihelich 2024-03-16 17:41:04 +00:00
parent 3896ca6179
commit 77d5f6d480
3 changed files with 17 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = qt5-webengine pkgbase = qt5-webengine
pkgdesc = Provides support for web applications using the Chromium browser project pkgdesc = Provides support for web applications using the Chromium browser project
pkgver = 5.15.16 pkgver = 5.15.16
pkgrel = 3 pkgrel = 5
url = https://www.qt.io url = https://www.qt.io
arch = x86_64 arch = x86_64
groups = qt5 groups = qt5

View file

@ -0,0 +1,6 @@
[qt5-webengine]
source = 'git'
git = 'git://code.qt.io/qt/qtwebengine.git'
include_regex = 'v(\d.+)-lts'
from_pattern = 'v(\d.+)-lts'
to_pattern = '\1'

View file

@ -10,9 +10,9 @@
highmem=1 highmem=1
pkgname=qt5-webengine pkgname=qt5-webengine
_basever=5.15.12 _basever=5.15.13
pkgver=5.15.16 pkgver=5.15.16
pkgrel=3 pkgrel=5
arch=('x86_64') arch=('x86_64')
url='https://www.qt.io' url='https://www.qt.io'
license=('LGPL3' 'LGPL2.1' 'BSD') license=('LGPL3' 'LGPL2.1' 'BSD')
@ -74,6 +74,10 @@ prepare() {
} }
build() { build() {
# this uses malloc_usable_size, which is incompatible with fortification level 3
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
cd build cd build
qmake ../${_pkgfqn} -- \ qmake ../${_pkgfqn} -- \
-proprietary-codecs \ -proprietary-codecs \
@ -87,6 +91,10 @@ build() {
} }
package() { package() {
# this uses malloc_usable_size, which is incompatible with fortification level 3
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
cd build cd build
make INSTALL_ROOT="$pkgdir" install make INSTALL_ROOT="$pkgdir" install