summaryrefslogtreecommitdiff
path: root/qt6-webengine/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'qt6-webengine/Pkgfile')
-rw-r--r--qt6-webengine/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/qt6-webengine/Pkgfile b/qt6-webengine/Pkgfile
index bc63ae5cc..ca9f2d0d2 100644
--- a/qt6-webengine/Pkgfile
+++ b/qt6-webengine/Pkgfile
@@ -1,13 +1,14 @@
# Description: Provides support for web applications using the Chromium browser project
# URL: https://www.qt.io/
# Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: ffmpeg4 icu libva libvpx libwebp minizip nodejs nss pciutils python qt6-location qt6-tools qt6-webchannel re2 snappy xorg-libxcomposite xorg-libxcursor xorg-libxkbfile
+# Depends on: ffmpeg icu libevent libva libvpx libwebp minizip nodejs nss pciutils python3-html5lib python3-six qt6-location qt6-tools qt6-webchannel re2 snappy xorg-libxcomposite xorg-libxcursor xorg-libxkbfile
# Optional: dav1d fdk-aac gnutls graphite2 keyutils krb5 lame lcms2 libpcre2 libvdpau numactl pipewire x264 x265
name=qt6-webengine
-version=6.2.4
+version=6.3.0
release=1
-source=(https://download.qt.io/official_releases/qt/${version%.*}/$version/submodules/qtwebengine-everywhere-src-$version.tar.xz)
+source=(https://download.qt.io/official_releases/qt/${version%.*}/$version/submodules/qtwebengine-everywhere-src-$version.tar.xz
+ qt6-webengine-system-icu.patch)
build() {
prt-get isinst ninja && PKGMK_QT6+=' -G Ninja'
@@ -20,9 +21,9 @@ build() {
prt-get isinst sccache && echo "${PATH}" | grep --invert-match '/usr/lib/ccache' && \
PKGMK_QT6+=' -D CMAKE_C_COMPILER_LAUNCHER=sccache -D CMAKE_CXX_COMPILER_LAUNCHER=sccache'
- export PKG_CONFIG_PATH='/usr/lib/ffmpeg4/pkgconfig'
- export CXXFLAGS+=" $(pkg-config libavcodec --libs-only-L)"
+ patch -Np1 -d qtwebengine-everywhere-src-$version/src/3rdparty -i $SRC/qt6-webengine-system-icu.patch
+ PYTHON=/usr/bin/python3 \
cmake -S qtwebengine-everywhere-src-$version -B build $PKGMK_QT6 \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
@@ -30,6 +31,7 @@ build() {
-D CMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake \
-D QT_FEATURE_webengine_system_ffmpeg=ON \
-D QT_FEATURE_webengine_system_icu=ON \
+ -D QT_FEATURE_webengine_system_libevent=ON \
-D QT_FEATURE_webengine_proprietary_codecs=ON \
-Wno-dev
cmake --build build

Generated by cgit