extra/qt6-webengine to 6.8.0-5

This commit is contained in:
Kevin Mihelich 2024-10-19 12:00:16 +00:00
parent 324c4311ef
commit 7fb81315e7
2 changed files with 11 additions and 5 deletions

View file

@ -1,7 +1,7 @@
pkgbase = qt6-webengine pkgbase = qt6-webengine
pkgdesc = Provides support for web applications using the Chromium browser project pkgdesc = Provides support for web applications using the Chromium browser project
pkgver = 6.8.0 pkgver = 6.8.0
pkgrel = 3 pkgrel = 5
url = https://www.qt.io url = https://www.qt.io
arch = x86_64 arch = x86_64
groups = qt6 groups = qt6
@ -14,6 +14,9 @@ pkgbase = qt6-webengine
makedepends = gperf makedepends = gperf
makedepends = jsoncpp makedepends = jsoncpp
makedepends = libepoxy makedepends = libepoxy
makedepends = libpulse
makedepends = libva
makedepends = libxcursor
makedepends = ninja makedepends = ninja
makedepends = nodejs makedepends = nodejs
makedepends = perf makedepends = perf
@ -24,7 +27,6 @@ pkgbase = qt6-webengine
depends = alsa-lib depends = alsa-lib
depends = dbus depends = dbus
depends = expat depends = expat
depends = ffmpeg
depends = fontconfig depends = fontconfig
depends = freetype2 depends = freetype2
depends = gcc-libs depends = gcc-libs

View file

@ -11,7 +11,7 @@ highmem=1
pkgname=qt6-webengine pkgname=qt6-webengine
_pkgver=6.8.0 _pkgver=6.8.0
pkgver=6.8.0 pkgver=6.8.0
pkgrel=3 pkgrel=5
arch=(x86_64) arch=(x86_64)
url='https://www.qt.io' url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom) license=(GPL3 LGPL3 FDL custom)
@ -19,7 +19,6 @@ pkgdesc='Provides support for web applications using the Chromium browser projec
depends=(alsa-lib depends=(alsa-lib
dbus dbus
expat expat
ffmpeg
fontconfig fontconfig
freetype2 freetype2
gcc-libs gcc-libs
@ -67,6 +66,9 @@ makedepends=(cmake
gperf gperf
jsoncpp jsoncpp
libepoxy libepoxy
libpulse
libva
libxcursor
ninja ninja
nodejs nodejs
perf perf
@ -96,16 +98,18 @@ prepare() {
export MAKEFLAGS="-j1" export MAKEFLAGS="-j1"
export ALARM_NINJA_JOBS="1" export ALARM_NINJA_JOBS="1"
fi fi
sed -i 's/"-Wno-unused-function",/"-Wno-unused-function", "-Wno-incompatible-pointer-types",/' src/3rdparty/chromium/third_party/xnnpack/BUILD.gn
cd "$srcdir/$_pkgfn/src/3rdparty" cd "$srcdir/$_pkgfn/src/3rdparty"
patch -p1 -i ${srcdir}/0001-ARM-toolchain-fixes.patch patch -p1 -i ${srcdir}/0001-ARM-toolchain-fixes.patch
patch -p1 -i ${srcdir}/0002-Run-blink-bindings-generation-single-threaded.patch patch -p1 -i ${srcdir}/0002-Run-blink-bindings-generation-single-threaded.patch
} }
build() { build() {
# system ffmpeg disabled https://gitlab.archlinux.org/archlinux/packaging/packages/qt6-webengine/-/issues/2
cmake -B build -S $_pkgfn -G Ninja \ cmake -B build -S $_pkgfn -G Ninja \
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS \ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
-DCMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake \ -DCMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake \
-DQT_FEATURE_webengine_system_ffmpeg=ON \ -DQT_FEATURE_webengine_system_ffmpeg=OFF \
-DQT_FEATURE_webengine_system_icu=ON \ -DQT_FEATURE_webengine_system_icu=ON \
-DQT_FEATURE_webengine_system_libevent=ON \ -DQT_FEATURE_webengine_system_libevent=ON \
-DQT_FEATURE_webengine_system_re2=ON \ -DQT_FEATURE_webengine_system_re2=ON \