Initial Commit

This commit is contained in:
2026-01-09 17:54:32 +02:00
commit a59dad87ca
4 changed files with 118 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Exclude bpm archives
*.bpm
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="https://code.qt.io/qt/qtwebengine.git"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | cut -d'/' -f3 | grep -v '-' | tail -n1)
# Trim 'v' character in TAG_NAME variable
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
echo "$VERSION"
+76
View File
@@ -0,0 +1,76 @@
name: qt6-webengine
description: Provides support for web applications using the Chromium browser project
version: 6.10.1
revision: 1
url: https://www.qt.io/
license: GPL3-only,LGPL3-only,LicenseRef-Qt-Commercial,Qt-GPL-exception-1.0
architecture: any
type: source
depends:
- alsa-lib
- dbus
- expat
- ffmpeg
- fontconfig
- freetype2
- gcc-libs
- glib
- glibc
- harfbuzz
- icu
- lcms2
- libdrm
- libevent
- libglvnd
- libjpeg-turbo
- libpng
- libtiff
- libudev
- libwebp
- libx11
- libxcb
- libxcomposite
- libxdamage
- libxext
- libxfixes
- libxkbcommon
- libxkbfile
- libxml2
- libxrandr
- libxslt
- libxtst
- mesa
- minizip
- nspr
- nss
- openjpeg
- opus
- qt6-base
- qt6-declarative
- qt6-positioning
- qt6-webchannel
- re2
- snappy
- ttf-font
- zlib
optional_depends:
- pipewire
make_depends:
- cmake
- gperf
- jsoncpp
- libepoxy
- libpulse
- libva
- libxcursor
- ninja
- nodejs
- pipewire
- python-html5lib
- qt6-tools
- qt6-websockets
downloads:
- url: https://download.qt.io/official_releases/qt/${BPM_PKG_VERSION%.*}/${BPM_PKG_VERSION}/submodules/qtwebengine-everywhere-src-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: 77b5ea6186a0429a6b8e656faedd5cd3e8019d33856ee59637698ab578ead1e3
+28
View File
@@ -0,0 +1,28 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
export NINJAFLAGS=-j${BPM_JOBS}
cmake -B build -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_re2=ON \
-DQT_FEATURE_webengine_proprietary_codecs=ON \
-DQT_FEATURE_webengine_kerberos=ON \
-DQT_FEATURE_webengine_webrtc_pipewire=ON
cmake --build build
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
DESTDIR="$BPM_OUTPUT" cmake --install build
# Install package license
install -Dm644 "$BPM_SOURCE"/src/3rdparty/chromium/LICENSE "$BPM_OUTPUT"/usr/share/licenses/qt6-webengine/LICENSE
}