Date: Thursday, January 5, 2023 @ 10:10:35
Author: arojas
Revision: 465652
archrelease: copy trunk to staging-x86_64
Added:
qt6-webengine/repos/staging-x86_64/
qt6-webengine/repos/staging-x86_64/PKGBUILD
(from rev 465651, qt6-webengine/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: qt6-webengine/repos/staging-x86_64/PKGBUILD (from rev 465651,
qt6-webengine/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2023-01-05 10:10:35 UTC (rev 465652)
@@ -0,0 +1,40 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=qt6-webengine
+_qtver=6.4.2
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(x86_64)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='Provides support for web applications using the Chromium browser
project'
+depends=(qt6-webchannel qt6-positioning libxcomposite libxrandr libxkbfile
+ snappy nss libxslt minizip ffmpeg re2 libvpx libxtst ttf-font) #
pciutils
+makedepends=(cmake ninja python-html5lib gperf jsoncpp qt6-tools pipewire
nodejs qt6-websockets libepoxy git)
+optdepends=('pipewire: WebRTC desktop sharing under Wayland')
+groups=(qt6)
+options=(debug)
+_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
+sha256sums=('ffa945518d1cc8d9ee73523e8d9c2090844f5a2d9c7eac05c4ad079472a119c9')
+
+build() {
+ cmake -B build -S $_pkgfn -G Ninja \
+ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS \
+ -DCMAKE_TOOLCHAIN_FILE=/usr/lib/cmake/Qt6/qt.toolchain.cmake \
+ -DQT_FEATURE_webengine_system_ffmpeg=ON \
+ -DQT_FEATURE_webengine_system_icu=ON \
+ -DQT_FEATURE_webengine_system_libevent=ON \
+ -DQT_FEATURE_webengine_proprietary_codecs=ON \
+ -DQT_FEATURE_webengine_kerberos=ON \
+ -DQT_FEATURE_webengine_webrtc_pipewire=ON
+# -DQT_FEATURE_webengine_full_debug_info=ON
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+
+ install -Dm644 "$srcdir"/${_pkgfn}/src/3rdparty/chromium/LICENSE
"$pkgdir"/usr/share/licenses/${pkgname}/LICENSE.chromium
+}