Rebuild with icu 77.1
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
name: qt6-base
|
name: qt6-base
|
||||||
description: Cross-platform application development framework for creating graphical user interfaces
|
description: Cross-platform application development framework for creating graphical user interfaces
|
||||||
version: 6.6.2
|
version: 6.6.2
|
||||||
revision: 3
|
revision: 4
|
||||||
url: https://www.qt.io/
|
url: https://www.qt.io/
|
||||||
license: FDL,GPL3,LGPL3,custom
|
license: FDL,GPL3,LGPL3,custom
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["brotli", "dbus", "double-conversion", "elogind", "fontconfig", "freetype2", "gcc-libs", "glib", "glibc", "harfbuzz", "icu", "krb5", "cups", "libdrm", "libice", "libinput", "libjpeg-turbo", "libpng", "libxi", "libxkbcommon", "mesa", "openssl", "pcre2", "shared-mime-info", "sqlite", "vulkan-headers", "xcb-util-cursor", "xcb-util-image", "xcb-util-keysyms", "xcb-util-renderutil", "xcb-util-wm", "zlib", "zstd"]
|
depends: ["brotli", "dbus", "double-conversion", "elogind", "fontconfig", "freetype2", "gcc-libs", "glib", "glibc", "harfbuzz", "icu", "krb5", "cups", "libdrm", "libice", "libinput", "libjpeg-turbo", "libpng", "libxi", "libxkbcommon", "mesa", "openssl", "pcre2", "shared-mime-info", "sqlite", "vulkan-headers", "xcb-util-cursor", "xcb-util-image", "xcb-util-keysyms", "xcb-util-renderutil", "xcb-util-wm", "zlib", "zstd"]
|
||||||
optional_depends: ["gdk-pixbuf", "gtk3", "pango", "perl"]
|
optional_depends: ["gdk-pixbuf", "gtk3", "pango", "perl"]
|
||||||
make_depends: ["alsa-lib", "git", "gtk3", "libpulse", "vulkan-headers"]
|
make_depends: ["alsa-lib", "cmake", "git", "gtk3", "libpulse", "vulkan-headers"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ REPO="https://code.qt.io/qt/qtbase.git"
|
|||||||
# The prepare function is executed in the root of the temp directory
|
# The prepare function is executed in the root of the temp directory
|
||||||
# This function is used for downloading files and putting them into the correct location
|
# This function is used for downloading files and putting them into the correct location
|
||||||
prepare() {
|
prepare() {
|
||||||
git clone --branch "v${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
|
git clone --depth 1 --branch "v${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
|
||||||
|
|
||||||
# Patches from Arch Linux
|
# Patches from Arch Linux
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
@@ -18,10 +18,7 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
mkdir build
|
cmake -B build \
|
||||||
cd build
|
|
||||||
|
|
||||||
cmake -G Ninja \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DINSTALL_BINDIR=lib/qt6/bin \
|
-DINSTALL_BINDIR=lib/qt6/bin \
|
||||||
@@ -38,15 +35,15 @@ build() {
|
|||||||
-DFEATURE_system_sqlite=ON \
|
-DFEATURE_system_sqlite=ON \
|
||||||
-DFEATURE_system_xcb_xinput=ON \
|
-DFEATURE_system_xcb_xinput=ON \
|
||||||
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
|
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
|
||||||
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS ..
|
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
|
||||||
ninja
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
# This function is used to move the compiled files into the output directory
|
# This function is used to move the compiled files into the output directory
|
||||||
package() {
|
package() {
|
||||||
cd build
|
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||||
DESTDIR="$BPM_OUTPUT" ninja install
|
|
||||||
|
# Install package licenses
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/qt6-base/
|
install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/qt6-base/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user