diff --git a/pkg.info b/pkg.info index 4da55cf..2112e3e 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,60 @@ name: qt6-base description: Cross-platform application development framework for creating graphical user interfaces -version: 6.9.2 +version: 6.9.3 +revision: 1 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", "cmake", "git", "gtk3", "libpulse", "vulkan-headers"] type: source +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 + - cmake + - git + - gtk3 + - libpulse + - vulkan-headers +downloads: + - url: https://code.qt.io/qt/qtbase.git + type: git + extract_to_bpm_source: true + git_branch: v${BPM_PKG_VERSION} + checksum: be09b211db70e1b0155d05c18668ad76e7e3df51 diff --git a/source.sh b/source.sh index f52b4f8..61319b5 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,11 @@ # 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 -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 +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - git clone --depth 1 --branch "v${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE" - # Patches from Arch Linux cd "$BPM_SOURCE" - patch -Np1 -i ../qt6-base-cflags.patch # Use system CFLAGS }