From 844fe2b850378af147e0e315071fd43eff2e3f0e Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 13 Sep 2025 11:25:09 +0300 Subject: [PATCH] Rebuild with icu 77.1 --- pkg.info | 4 ++-- source.sh | 17 +++++++---------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index a6fdf09..acaf4db 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,11 @@ name: qt6-base description: Cross-platform application development framework for creating graphical user interfaces version: 6.6.2 -revision: 3 +revision: 4 url: https://www.qt.io/ license: FDL,GPL3,LGPL3,custom 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"] 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 diff --git a/source.sh b/source.sh index ec5974f..f52b4f8 100644 --- a/source.sh +++ b/source.sh @@ -7,7 +7,7 @@ REPO="https://code.qt.io/qt/qtbase.git" # 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 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 cd "$BPM_SOURCE" @@ -18,10 +18,7 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - mkdir build - cd build - - cmake -G Ninja \ + cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DINSTALL_BINDIR=lib/qt6/bin \ @@ -38,15 +35,15 @@ build() { -DFEATURE_system_sqlite=ON \ -DFEATURE_system_xcb_xinput=ON \ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \ - -DCMAKE_MESSAGE_LOG_LEVEL=STATUS .. - ninja + -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + 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() { - cd build - DESTDIR="$BPM_OUTPUT" ninja install - + DESTDIR="$BPM_OUTPUT" cmake --install build + + # Install package licenses install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/qt6-base/ }