Update qt6 packages to 6.2.0

This commit is contained in:
Martchus 2021-07-08 14:24:58 +02:00
parent 0e94d12398
commit e2cc145b21
222 changed files with 1611 additions and 308 deletions

View File

@ -0,0 +1 @@
android-qt6-base.sh.ep

View File

@ -14,7 +14,7 @@
_android_arch=<%= $variant_prefix_part =~ s/android-// && $variant_prefix_part %>
pkgname=<%= $package_name %>
_qtver=6.1.2
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -14,7 +14,7 @@
% }
pkgname=<%= $package_name %>
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -14,7 +14,7 @@ declare -A versions=(
[dbus-soundrecorder]=1.2.3
[geocoordinatecalculator]=1.1.3
[qt5]=5.15.2
[qt6]=6.1.3
[qt6]=6.2.0
)
declare -A github_names=(
[c++utilities]=cpp-utilities

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-5compat
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qt5compat-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('12103499068bf9c0aef736a19553f557babfad6faf6777f9ebfd6159583b7981')
sha256sums=('c2e2f058ecee36a96c1b15937badeda9b7b03eb5278fa01af4ff386c4f1854fb')
build() {
source android-env ${_android_arch}

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
12103499068bf9c0aef736a19553f557babfad6faf6777f9ebfd6159583b7981
c2e2f058ecee36a96c1b15937badeda9b7b03eb5278fa01af4ff386c4f1854fb

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-5compat-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qt5compat-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('5212427742b0e08c2c67b753cce6791c6f4d2cc3aad72209a9c729111c0d5aaf')
sha256sums=('c2e2f058ecee36a96c1b15937badeda9b7b03eb5278fa01af4ff386c4f1854fb')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
5212427742b0e08c2c67b753cce6791c6f4d2cc3aad72209a9c729111c0d5aaf
c2e2f058ecee36a96c1b15937badeda9b7b03eb5278fa01af4ff386c4f1854fb

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-5compat
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qt5compat-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('5212427742b0e08c2c67b753cce6791c6f4d2cc3aad72209a9c729111c0d5aaf')
sha256sums=('c2e2f058ecee36a96c1b15937badeda9b7b03eb5278fa01af4ff386c4f1854fb')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
5212427742b0e08c2c67b753cce6791c6f4d2cc3aad72209a9c729111c0d5aaf
c2e2f058ecee36a96c1b15937badeda9b7b03eb5278fa01af4ff386c4f1854fb

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-activeqt-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -20,9 +20,9 @@ _pkgfqn="qtactiveqt-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
'0001-Handle-win64-in-dumpcpp-and-MetaObjectGenerator-read.patch'
'0002-Build-tools-for-the-target-platform.patch')
sha256sums=('bb35cab37e12fd053d84a204998795bdce02a2e353fbc5da452638dd1e13ddf4'
'61baa4f0e3e713af36df7b73a78ade58bd1e2b64864be68c0a8ec231f6cec58b'
'7f5309d5b3fe4a0590a42582500dd6585c3f43b664f6aea1b3e71ab5d3080328')
sha256sums=('ed991638e27e2e8eac487c2002845827097d1e66397100eea2061d8ad790ded2'
'a5b8d3518ab40bee6ecab2ff09b69b836f24fa22f402fdd000a9d5bfdb1e8b3f'
'492770fe044c7907e2b34728e729667fd0a826975a1b864d59bcc60fae94f77c')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
bb35cab37e12fd053d84a204998795bdce02a2e353fbc5da452638dd1e13ddf4
ed991638e27e2e8eac487c2002845827097d1e66397100eea2061d8ad790ded2

View File

@ -1,4 +1,4 @@
From 8229db183bed3b4ac8976f8ace978a3c77683bc0 Mon Sep 17 00:00:00 2001
From 6bc100ab085078adedd616c0520b855a420d6498 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Fri, 2 Jun 2017 17:21:08 +0200
Subject: [PATCH 1/2] Handle win64 in dumpcpp and
@ -26,7 +26,7 @@ index 4944c3b..f92d18b 100644
break;
}
diff --git a/tools/dumpcpp/main.cpp b/tools/dumpcpp/main.cpp
index 092a3c0..c597942 100644
index 60e5c94..b2ea4eb 100644
--- a/tools/dumpcpp/main.cpp
+++ b/tools/dumpcpp/main.cpp
@@ -1090,6 +1090,10 @@ int main(int argc, char **argv)

View File

@ -1,4 +1,4 @@
From 473bd2989f49e7f6d5b32a0c45eab3b3bfee923d Mon Sep 17 00:00:00 2001
From b0388c698bbd0aa7d1ac76dc4f67065e34761f57 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Fri, 7 May 2021 16:10:47 +0200
Subject: [PATCH 2/2] Build tools for the target platform
@ -13,7 +13,7 @@ executed using WINE.
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/tools/idc/CMakeLists.txt b/src/tools/idc/CMakeLists.txt
index d21b9f0..d401e45 100644
index 19784db..d401e45 100644
--- a/src/tools/idc/CMakeLists.txt
+++ b/src/tools/idc/CMakeLists.txt
@@ -5,12 +5,13 @@
@ -24,7 +24,7 @@ index d21b9f0..d401e45 100644
+qt_internal_add_app(${target_name} # special case
# BOOTSTRAP # special case
TARGET_DESCRIPTION "Active Qt Interface Description Compiler"
- TOOLS_TARGET AxContainer # special case
- TOOLS_TARGET AxServer # special case
SOURCES
main.cpp
+ PUBLIC_LIBRARIES

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-activeqt
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -20,9 +20,9 @@ _pkgfqn="qtactiveqt-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
'0001-Handle-win64-in-dumpcpp-and-MetaObjectGenerator-read.patch'
'0002-Build-tools-for-the-target-platform.patch')
sha256sums=('bb35cab37e12fd053d84a204998795bdce02a2e353fbc5da452638dd1e13ddf4'
'61baa4f0e3e713af36df7b73a78ade58bd1e2b64864be68c0a8ec231f6cec58b'
'7f5309d5b3fe4a0590a42582500dd6585c3f43b664f6aea1b3e71ab5d3080328')
sha256sums=('ed991638e27e2e8eac487c2002845827097d1e66397100eea2061d8ad790ded2'
'a5b8d3518ab40bee6ecab2ff09b69b836f24fa22f402fdd000a9d5bfdb1e8b3f'
'492770fe044c7907e2b34728e729667fd0a826975a1b864d59bcc60fae94f77c')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
bb35cab37e12fd053d84a204998795bdce02a2e353fbc5da452638dd1e13ddf4
ed991638e27e2e8eac487c2002845827097d1e66397100eea2061d8ad790ded2

View File

@ -11,7 +11,7 @@
_android_arch=aarch64
pkgname=android-aarch64-qt6-base
_qtver=6.1.2
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -36,15 +36,15 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0006-Support-finding-static-MariaDB-client-library.patch'
'0007-Allow-overriding-CMAKE_FIND_LIBRARY_SUFFIXES-to-pref.patch'
'0008-Fix-crashes-in-rasterization-code-using-setjmp.patch')
sha256sums=('b9c4061c1c7999c42c315fc5b0f4f654067b4186066dd729bbcf1bdce8d781c8'
'7f1dc7bb25a16dda6beb8df1e84aba085f7cb561e76539b2a10b8f77f61a9754'
'd38da78f9787a430c510a3a2da0a69f30664e7ba916116bf9d260f35e02dc5c6'
'b281014ae468774ba2d3b138d202acf63ddcbe1c9e7df32cceab1eeee9797e1f'
'68f8ce781d2b3d6123e31e9093e266a8811bc3798c0acbc40bc55176ec843848'
'8ca9936959fa4b89222d02ae806f7c69240a9d79f167be7d4e4e2c906e1b0811'
'361357253cab254eabafdf62253131e705c9e1b473466191eae10d2a43c79e47'
'155de7fafdc36d79977c2b7f3f84c5c74e6cad14f39a95fbccff1e8b8b3f0b49'
'156a862efb8fb1ca0bc67cdb6a08a4ced8e19497bb24e5f4a3c108c40b847d7c')
sha256sums=('fdfff0716d093bcb6bcd53746ce1d3c9701a6bf3326d47813866d43949b47769'
'02811ca9f69e29242e817cae9afbcbd6b0eb1377c5f680a835c517b9d82e42ff'
'14524bf028ba07e04a6428e0eb2049d3743571d181d5037f65e2624af5e57bf4'
'25c6fef400bac3b701ddf5d429d74fc744c612e683838cdf44b874bc24d379be'
'b0cb32ec2dadc4479c9090f1f9326ff5b26550b94c88380e12ae68c0535f56af'
'00ad6ee9b73a128a94e813cccf17122232063cb0dd503952b8858012da0cc2d3'
'f33c044eed6224c4f71c43de5157c8ff1028ccdc3cefa7b26b37e6705ea7483c'
'937833cb719d9ec40b049f4440002c4507666ea53bfd0f4f9af4cc849a9016e3'
'3b40db6950bcbafd0d921b6d9683c03da47581a8b465cda6ac8781135ef8db17')
prepare () {
cd $_pkgfqn

View File

@ -1 +1 @@
b9c4061c1c7999c42c315fc5b0f4f654067b4186066dd729bbcf1bdce8d781c8
fdfff0716d093bcb6bcd53746ce1d3c9701a6bf3326d47813866d43949b47769

View File

@ -11,7 +11,7 @@
# All patches are managed at https://github.com/Martchus/qtbase
pkgname=mingw-w64-qt6-base-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -39,15 +39,15 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0006-Support-finding-static-MariaDB-client-library.patch'
'0007-Allow-overriding-CMAKE_FIND_LIBRARY_SUFFIXES-to-pref.patch'
'0008-Fix-crashes-in-rasterization-code-using-setjmp.patch')
sha256sums=('1e9abb2ea4daa0fd11f46fc871d9e896b916e1b7130fed74c83d66221bb4fe78'
'7f1dc7bb25a16dda6beb8df1e84aba085f7cb561e76539b2a10b8f77f61a9754'
'd38da78f9787a430c510a3a2da0a69f30664e7ba916116bf9d260f35e02dc5c6'
'b281014ae468774ba2d3b138d202acf63ddcbe1c9e7df32cceab1eeee9797e1f'
'68f8ce781d2b3d6123e31e9093e266a8811bc3798c0acbc40bc55176ec843848'
'8ca9936959fa4b89222d02ae806f7c69240a9d79f167be7d4e4e2c906e1b0811'
'361357253cab254eabafdf62253131e705c9e1b473466191eae10d2a43c79e47'
'155de7fafdc36d79977c2b7f3f84c5c74e6cad14f39a95fbccff1e8b8b3f0b49'
'156a862efb8fb1ca0bc67cdb6a08a4ced8e19497bb24e5f4a3c108c40b847d7c')
sha256sums=('fdfff0716d093bcb6bcd53746ce1d3c9701a6bf3326d47813866d43949b47769'
'02811ca9f69e29242e817cae9afbcbd6b0eb1377c5f680a835c517b9d82e42ff'
'14524bf028ba07e04a6428e0eb2049d3743571d181d5037f65e2624af5e57bf4'
'25c6fef400bac3b701ddf5d429d74fc744c612e683838cdf44b874bc24d379be'
'b0cb32ec2dadc4479c9090f1f9326ff5b26550b94c88380e12ae68c0535f56af'
'00ad6ee9b73a128a94e813cccf17122232063cb0dd503952b8858012da0cc2d3'
'f33c044eed6224c4f71c43de5157c8ff1028ccdc3cefa7b26b37e6705ea7483c'
'937833cb719d9ec40b049f4440002c4507666ea53bfd0f4f9af4cc849a9016e3'
'3b40db6950bcbafd0d921b6d9683c03da47581a8b465cda6ac8781135ef8db17')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
1e9abb2ea4daa0fd11f46fc871d9e896b916e1b7130fed74c83d66221bb4fe78
fdfff0716d093bcb6bcd53746ce1d3c9701a6bf3326d47813866d43949b47769

View File

@ -1,4 +1,4 @@
From df9364458a82e26c51c37e8f3cad6a2ca6b828a3 Mon Sep 17 00:00:00 2001
From c704940ba6a38f36b40fa021764ff45ccf37151c Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 5 Nov 2020 22:08:10 +0100
Subject: [PATCH 1/8] Use CMake's default import library suffix
@ -13,10 +13,10 @@ Change-Id: I3dbedaec74683e5bfd008f7f2fd1e046dfb921b2
5 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/cmake/QtPriHelpers.cmake b/cmake/QtPriHelpers.cmake
index 5498b8a904..59c905eac2 100644
index ed6513133f..2d8de2011b 100644
--- a/cmake/QtPriHelpers.cmake
+++ b/cmake/QtPriHelpers.cmake
@@ -370,9 +370,13 @@ QT.${config_module_name}_private.disabled_features = ${disabled_private_features
@@ -401,9 +401,13 @@ QT.${config_module_name}_private.disabled_features = ${disabled_private_features
qt_path_join(private_pri_file_path "${target_path}" "${private_pri_file_name}")
list(APPEND pri_files "${private_pri_file_path}")
@ -30,8 +30,8 @@ index 5498b8a904..59c905eac2 100644
+ ${CMAKE_CMAKE_IMPORT_LIBRARY_SUFFIX}
${CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES}
${CMAKE_STATIC_LIBRARY_SUFFIX})
add_custom_command(
@@ -777,9 +781,13 @@ CONFIG += ${private_config_joined}
if(MSVC)
@@ -828,9 +832,13 @@ CONFIG += ${private_config_joined}
list(APPEND inputs "${preliminary_pri_root}/${cfg}/${pri_data_cmake_file}")
endforeach()
@ -45,12 +45,12 @@ index 5498b8a904..59c905eac2 100644
+ ${CMAKE_CMAKE_IMPORT_LIBRARY_SUFFIX}
${CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES}
${CMAKE_STATIC_LIBRARY_SUFFIX})
add_custom_command(
if(MSVC)
diff --git a/cmake/QtPrlHelpers.cmake b/cmake/QtPrlHelpers.cmake
index 0aab301053..f2e39b63e0 100644
index 18b230deb1..1bb4908898 100644
--- a/cmake/QtPrlHelpers.cmake
+++ b/cmake/QtPrlHelpers.cmake
@@ -348,11 +348,17 @@ ${prl_step1_content_libs}
@@ -120,11 +120,17 @@ ${prl_step1_content_libs}
CONTENT
"FINAL_PRL_FILE_PATH = ${final_prl_file_path}")
@ -98,10 +98,10 @@ index 24ed125f12..73ebe453d3 100644
CMAKE_WINMAIN_FILE_LOCATION_DEBUG = qtmain$${QT_LIBINFIX}$${debug_suffix}.lib
CMAKE_WINMAIN_FILE_LOCATION_RELEASE = qtmain$${QT_LIBINFIX}.lib
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake
index fc4c745c90..939ea2b212 100644
index 51fa960c5b..8ccb7dc9c4 100644
--- a/src/corelib/Qt6CoreMacros.cmake
+++ b/src/corelib/Qt6CoreMacros.cmake
@@ -460,7 +460,6 @@ function(_qt_internal_apply_win_prefix_and_suffix target)
@@ -495,7 +495,6 @@ function(_qt_internal_apply_win_prefix_and_suffix target)
# This should cover both MINGW with GCC and CLANG.
if(NOT MSVC)

View File

@ -1,4 +1,4 @@
From dbdccd3fb77932e284848b0a8543133497a3e391 Mon Sep 17 00:00:00 2001
From edfa3c0737be5ace47c0b7380a4da365f763f776 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Wed, 7 Oct 2020 12:13:37 +0200
Subject: [PATCH 2/8] Fix finding D-Bus

View File

@ -1,4 +1,4 @@
From 2c85dbecb544e4550587a11df9465c0c662ceaf0 Mon Sep 17 00:00:00 2001
From 62540d952c458408ee502168821aaeec1762c2e3 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 5 Nov 2020 21:13:19 +0100
Subject: [PATCH 3/8] Fix using static PCRE2 and DBus-1
@ -13,7 +13,7 @@ Change-Id: I2387b79462b6d183b71f9433dd937f63fc7ef26e
2 files changed, 9 insertions(+)
diff --git a/src/corelib/text/qregularexpression.cpp b/src/corelib/text/qregularexpression.cpp
index 72079c1996..42007502af 100644
index e055ae064a..6111bf6248 100644
--- a/src/corelib/text/qregularexpression.cpp
+++ b/src/corelib/text/qregularexpression.cpp
@@ -53,6 +53,11 @@

View File

@ -1,4 +1,4 @@
From d218fae4376bf0a3b801570164ee6c02e5e94cc0 Mon Sep 17 00:00:00 2001
From 44cca85927e640bc145f15832e774a25647f5800 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 5 Nov 2020 21:59:33 +0100
Subject: [PATCH 4/8] Fix transitive dependencies (of static libraries)
@ -59,7 +59,7 @@ index bdbcab9eb3..06e9af49f6 100644
+ set_property(TARGET dbus-1 PROPERTY INTERFACE_LINK_LIBRARIES "${DBUS1_DEPENDENCIES}")
endif()
diff --git a/cmake/FindWrapOpenSSL.cmake b/cmake/FindWrapOpenSSL.cmake
index a09aa99518..ff13e1e931 100644
index 486686d338..1110116013 100644
--- a/cmake/FindWrapOpenSSL.cmake
+++ b/cmake/FindWrapOpenSSL.cmake
@@ -11,7 +11,7 @@ set(WrapOpenSSL_FOUND OFF)
@ -120,7 +120,7 @@ index 372a064ff4..a363bfd31b 100644
unset(__png_target_name)
unset(__png_found)
diff --git a/src/plugins/sqldrivers/psql/CMakeLists.txt b/src/plugins/sqldrivers/psql/CMakeLists.txt
index b151932da7..7e6b38acd1 100644
index 8ed84c9028..807dc34cf7 100644
--- a/src/plugins/sqldrivers/psql/CMakeLists.txt
+++ b/src/plugins/sqldrivers/psql/CMakeLists.txt
@@ -16,7 +16,7 @@ qt_internal_add_plugin(QPSQLDriverPlugin

View File

@ -1,4 +1,4 @@
From 187e32fa4e8f92796d75f2bd47efb464e4638aec Mon Sep 17 00:00:00 2001
From a6d240cbda91d45efab6b2679fc28be54c1a5dff Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Mon, 2 Nov 2020 13:47:45 +0100
Subject: [PATCH 5/8] Fix libjpeg workaround for conflict with rpcndr.h
@ -9,24 +9,16 @@ included before jmorecfg.h.
Change-Id: I011b7735485689c9797cffe2646c8c3d15d0645e
---
src/plugins/imageformats/jpeg/qjpeghandler.cpp | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
src/plugins/imageformats/jpeg/qjpeghandler.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/imageformats/jpeg/qjpeghandler.cpp b/src/plugins/imageformats/jpeg/qjpeghandler.cpp
index beef18f260..72708145f4 100644
index a17afc0f69..72708145f4 100644
--- a/src/plugins/imageformats/jpeg/qjpeghandler.cpp
+++ b/src/plugins/imageformats/jpeg/qjpeghandler.cpp
@@ -61,14 +61,8 @@
@@ -62,6 +62,7 @@
// including jpeglib.h seems to be a little messy
extern "C" {
-// jpeglib.h->jmorecfg.h tries to typedef int boolean; but this conflicts with
-// some Windows headers that may or may not have been included
-#ifdef HAVE_BOOLEAN
-# undef HAVE_BOOLEAN
-#endif
-#define boolean jboolean
-
#define XMD_H // shut JPEGlib up
+#include <jconfig.h> // ensure jconfig.h is included before jmorecfg.h
#include <jpeglib.h>

View File

@ -1,4 +1,4 @@
From b95bfa5f73b66f31073644a60f04e5740e5a4dec Mon Sep 17 00:00:00 2001
From 9923349598db981325d10c2836c431cbda3095b7 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 8 Nov 2020 00:33:12 +0100
Subject: [PATCH 6/8] Support finding static MariaDB client library

View File

@ -1,4 +1,4 @@
From 8507a185bd7614aa5250495904348ac25ad1b8ac Mon Sep 17 00:00:00 2001
From 6139785883e6ceee0369390debd39a90c18d821b Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 8 Nov 2020 00:34:09 +0100
Subject: [PATCH 7/8] Allow overriding CMAKE_FIND_LIBRARY_SUFFIXES to prefer
@ -10,12 +10,12 @@ Change-Id: I4c617e0706044d31da1bd56ae51615dc8ed37099
1 file changed, 4 insertions(+)
diff --git a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
index af8c3d18c4..eb1f47c6e1 100644
index 89c13afe01..6a21b6e266 100644
--- a/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
+++ b/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
@@ -1,6 +1,10 @@
# These values should be kept in sync with those in qtbase/.cmake.conf
cmake_minimum_required(VERSION 3.14...3.19)
cmake_minimum_required(VERSION 3.16...3.20)
+if (CMAKE_FIND_LIBRARY_SUFFIXES_OVERRIDE)
+ set(CMAKE_FIND_LIBRARY_SUFFIXES "${CMAKE_FIND_LIBRARY_SUFFIXES_OVERRIDE}")

View File

@ -1,4 +1,4 @@
From 4f351792812f2ad38743702ccffa6ccc7e5114da Mon Sep 17 00:00:00 2001
From a8f1c4b28f9f4d3b9dbebcacfa9ad3047332016f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sat, 26 Jun 2021 22:24:12 +0200
Subject: [PATCH 8/8] Fix crashes in rasterization code using setjmp
@ -28,10 +28,10 @@ Change-Id: I01937d13569dd01ab4cb1f608020544c93bc343c
rename src/gui/painting/{qgrayraster.c => qgrayraster.cpp} (98%)
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index bb21d1b976..6a14076d55 100644
index 905afd4038..e4c23c4714 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -166,7 +166,7 @@ qt_internal_add_module(Gui
@@ -165,7 +165,7 @@ qt_internal_add_module(Gui
painting/qdrawingprimitive_sse2_p.h
painting/qemulationpaintengine.cpp painting/qemulationpaintengine_p.h
painting/qfixed_p.h
@ -40,13 +40,13 @@ index bb21d1b976..6a14076d55 100644
painting/qicc.cpp painting/qicc_p.h
painting/qimagescale.cpp
painting/qmemrotate.cpp painting/qmemrotate_p.h
@@ -281,6 +281,11 @@ qt_internal_add_module(Gui
@@ -279,6 +279,11 @@ qt_internal_add_module(Gui
"kernel/qt_gui_pch.h"
)
+# enable exceptions for painting/qgrayraster.cpp
+set_source_files_properties("painting/qgrayraster.cpp"
+ PROPERTIES COMPILE_FLAGS "-fexceptions"
+ PROPERTIES COMPILE_FLAGS "-fexceptions" DISABLE_PRECOMPILE_HEADERS ON SKIP_PRECOMPILE_HEADERS ON
+)
+
# Resources:

View File

@ -11,7 +11,7 @@
# All patches are managed at https://github.com/Martchus/qtbase
pkgname=mingw-w64-qt6-base
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -39,15 +39,15 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0006-Support-finding-static-MariaDB-client-library.patch'
'0007-Allow-overriding-CMAKE_FIND_LIBRARY_SUFFIXES-to-pref.patch'
'0008-Fix-crashes-in-rasterization-code-using-setjmp.patch')
sha256sums=('1e9abb2ea4daa0fd11f46fc871d9e896b916e1b7130fed74c83d66221bb4fe78'
'7f1dc7bb25a16dda6beb8df1e84aba085f7cb561e76539b2a10b8f77f61a9754'
'd38da78f9787a430c510a3a2da0a69f30664e7ba916116bf9d260f35e02dc5c6'
'b281014ae468774ba2d3b138d202acf63ddcbe1c9e7df32cceab1eeee9797e1f'
'68f8ce781d2b3d6123e31e9093e266a8811bc3798c0acbc40bc55176ec843848'
'8ca9936959fa4b89222d02ae806f7c69240a9d79f167be7d4e4e2c906e1b0811'
'361357253cab254eabafdf62253131e705c9e1b473466191eae10d2a43c79e47'
'155de7fafdc36d79977c2b7f3f84c5c74e6cad14f39a95fbccff1e8b8b3f0b49'
'156a862efb8fb1ca0bc67cdb6a08a4ced8e19497bb24e5f4a3c108c40b847d7c')
sha256sums=('fdfff0716d093bcb6bcd53746ce1d3c9701a6bf3326d47813866d43949b47769'
'02811ca9f69e29242e817cae9afbcbd6b0eb1377c5f680a835c517b9d82e42ff'
'14524bf028ba07e04a6428e0eb2049d3743571d181d5037f65e2624af5e57bf4'
'25c6fef400bac3b701ddf5d429d74fc744c612e683838cdf44b874bc24d379be'
'b0cb32ec2dadc4479c9090f1f9326ff5b26550b94c88380e12ae68c0535f56af'
'00ad6ee9b73a128a94e813cccf17122232063cb0dd503952b8858012da0cc2d3'
'f33c044eed6224c4f71c43de5157c8ff1028ccdc3cefa7b26b37e6705ea7483c'
'937833cb719d9ec40b049f4440002c4507666ea53bfd0f4f9af4cc849a9016e3'
'3b40db6950bcbafd0d921b6d9683c03da47581a8b465cda6ac8781135ef8db17')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
1e9abb2ea4daa0fd11f46fc871d9e896b916e1b7130fed74c83d66221bb4fe78
fdfff0716d093bcb6bcd53746ce1d3c9701a6bf3326d47813866d43949b47769

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-charts
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtcharts-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('872f786ef497d6e3c89e93ef758d9532c502a94db3005631a2fe0bd5fc2adddc')
sha256sums=('9114d4e05e63f5b9d5f07d53d72bf2fbfb22ffae283cc98d3371d73f04b6f4fc')
build() {
source android-env ${_android_arch}

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
872f786ef497d6e3c89e93ef758d9532c502a94db3005631a2fe0bd5fc2adddc
9114d4e05e63f5b9d5f07d53d72bf2fbfb22ffae283cc98d3371d73f04b6f4fc

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-charts-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtcharts-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('c2596c05b299ae29e5d016c66ca3202f261e58db22d6376a38fc17859a849d5b')
sha256sums=('9114d4e05e63f5b9d5f07d53d72bf2fbfb22ffae283cc98d3371d73f04b6f4fc')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
c2596c05b299ae29e5d016c66ca3202f261e58db22d6376a38fc17859a849d5b
9114d4e05e63f5b9d5f07d53d72bf2fbfb22ffae283cc98d3371d73f04b6f4fc

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-charts
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtcharts-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('c2596c05b299ae29e5d016c66ca3202f261e58db22d6376a38fc17859a849d5b')
sha256sums=('9114d4e05e63f5b9d5f07d53d72bf2fbfb22ffae283cc98d3371d73f04b6f4fc')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
c2596c05b299ae29e5d016c66ca3202f261e58db22d6376a38fc17859a849d5b
9114d4e05e63f5b9d5f07d53d72bf2fbfb22ffae283cc98d3371d73f04b6f4fc

View File

@ -0,0 +1,52 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-connectivity
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to Bluetooth hardware (android)'
depends=('android-aarch64-qt6-base')
optdepends=('android-aarch64-qt6-declarative: QML bindings')
makedepends=('android-cmake' 'android-aarch64-qt6-declarative' 'qt6-declarative' 'ninja' 'java-environment-openjdk=8')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtconnectivity-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('4c689100bb43f78a7e30380296376b7f4dff356d9a02b0bba97362d6b497649c')
build() {
source android-env ${_android_arch}
android-${_android_arch}-cmake -G Ninja -B build-$_android_arch -S $_pkgfqn \
-DCMAKE_FIND_ROOT_PATH="${ANDROID_PREFIX}" \
-DQT_BINARY_DIR=${ANDROID_PREFIX_BIN} \
-DQT_INCLUDE_DIRS_NO_SYSTEM=ON \
-DQT_HOST_PATH=/usr \
-DANDROID_SDK_ROOT=${ANDROID_HOME} \
-DANDROID_NDK_ROOT=${ANDROID_NDK_HOME} \
-DANDROID_STL="c++_shared" \
-DFEATURE_pkg_config=ON
cmake --build build-$_android_arch
}
package() {
DESTDIR="$pkgdir" cmake --install build-$_android_arch
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/${ANDROID_PREFIX}" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
find ${pkgdir}/${ANDROID_PREFIX} -type f -name 'lib*.so' -exec ${ANDROID_STRIP} -g --strip-unneeded {} \;
find ${pkgdir}/${ANDROID_PREFIX} -type f -name 'lib*.a' -exec ${ANDROID_STRIP} -g {} \;
[[ -d "${pkgdir}/${ANDROID_PREFIX}/share/doc" ]] && rm -r "${pkgdir}/${ANDROID_PREFIX}/share/doc" || true
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/android-$_android_arch-qt6-base "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -0,0 +1,12 @@
% layout 'android-qt6-module';
\
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to Bluetooth hardware (android)'
depends=(<%== qt6deps qw(base) %>)
optdepends=(<%== qt6optdeps declarative => 'QML bindings' %>)
makedepends=('android-cmake<%== $static_suffix %>' <%== qt6deps qw(declarative) %> 'qt6-declarative' 'ninja' 'java-environment-openjdk=8')

View File

@ -0,0 +1 @@
4c689100bb43f78a7e30380296376b7f4dff356d9a02b0bba97362d6b497649c

View File

@ -0,0 +1,50 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-connectivity-static
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to Bluetooth hardware (mingw-w64)'
depends=('mingw-w64-qt6-base-static')
optdepends=('mingw-w64-qt6-declarative-static: QML bindings')
makedepends=('mingw-w64-cmake-static' 'mingw-w64-qt6-declarative-static' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtconnectivity-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('4c689100bb43f78a7e30380296376b7f4dff356d9a02b0bba97362d6b497649c')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
build() {
for _arch in ${_architectures}; do
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
$_arch-cmake-static -G Ninja -B build-$_arch -S $_pkgfqn \
-DCMAKE_INSTALL_PREFIX:PATH="/usr/$_arch/static" \
-DFEATURE_static_runtime=ON \
-DFEATURE_pkg_config=ON
cmake --build build-$_arch
done
}
package() {
for _arch in ${_architectures}; do
DESTDIR="$pkgdir" cmake --install build-$_arch
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
[[ -d "$pkgdir/usr/$_arch/static/share/doc" ]] && rm -r "$pkgdir/usr/$_arch/static/share/doc"
done
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/mingw-w64-qt6-base-static "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -0,0 +1 @@
4c689100bb43f78a7e30380296376b7f4dff356d9a02b0bba97362d6b497649c

View File

@ -0,0 +1,57 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-connectivity
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to Bluetooth hardware (mingw-w64)'
depends=('mingw-w64-qt6-base')
optdepends=('mingw-w64-qt6-declarative: QML bindings')
makedepends=('mingw-w64-cmake' 'mingw-w64-qt6-declarative' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtconnectivity-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('4c689100bb43f78a7e30380296376b7f4dff356d9a02b0bba97362d6b497649c')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
build() {
for _arch in ${_architectures}; do
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
-DFEATURE_pkg_config=ON
cmake --build build-$_arch
done
}
package() {
for _arch in ${_architectures}; do
DESTDIR="$pkgdir" cmake --install build-$_arch
# Add symlinks of DLLs in usual bin directory
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
done
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/usr/$_arch/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
[[ -d "$pkgdir/usr/$_arch/share/doc" ]] && rm -r "$pkgdir/usr/$_arch/share/doc"
done
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -0,0 +1,12 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to Bluetooth hardware (mingw-w64)'
depends=(<%== qt6deps qw(base) %>)
optdepends=(<%== qt6optdeps declarative => 'QML bindings' %>)
makedepends=('mingw-w64-cmake<%== $static_suffix %>' <%== qt6deps qw(declarative) %> 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja')

View File

@ -0,0 +1 @@
4c689100bb43f78a7e30380296376b7f4dff356d9a02b0bba97362d6b497649c

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-datavis3d
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -19,7 +19,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtdatavis3d-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('e602b8a364aae6819e6925fe72631c36b92ea21fbb9ea37c0e1b7906ffbda5c9')
sha256sums=('e089295b8e33ded025ac27fff0b7e43ee91b2df0b8887431ab2236538e07db9e')
build() {
source android-env ${_android_arch}

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
e602b8a364aae6819e6925fe72631c36b92ea21fbb9ea37c0e1b7906ffbda5c9
e089295b8e33ded025ac27fff0b7e43ee91b2df0b8887431ab2236538e07db9e

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-datavis3d-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtdatavis3d-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('22367ecbc0c59775f3e907ec0a9453275e0c65edcd98c8566ed4cd61bf8a6f0e')
sha256sums=('e089295b8e33ded025ac27fff0b7e43ee91b2df0b8887431ab2236538e07db9e')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
22367ecbc0c59775f3e907ec0a9453275e0c65edcd98c8566ed4cd61bf8a6f0e
e089295b8e33ded025ac27fff0b7e43ee91b2df0b8887431ab2236538e07db9e

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-datavis3d
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtdatavis3d-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('22367ecbc0c59775f3e907ec0a9453275e0c65edcd98c8566ed4cd61bf8a6f0e')
sha256sums=('e089295b8e33ded025ac27fff0b7e43ee91b2df0b8887431ab2236538e07db9e')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
22367ecbc0c59775f3e907ec0a9453275e0c65edcd98c8566ed4cd61bf8a6f0e
e089295b8e33ded025ac27fff0b7e43ee91b2df0b8887431ab2236538e07db9e

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-declarative
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -13,15 +13,18 @@ url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for QML and JavaScript languages (android)'
depends=('android-aarch64-qt6-base')
makedepends=('android-cmake' 'qt6-declarative' 'ninja' 'python' 'java-environment-openjdk=8')
makedepends=('android-cmake' 'qt6-declarative' 'qt6-shadertools' 'ninja' 'python' 'java-environment-openjdk=8')
optdepends=('qt6-declarative: development tools')
conflicts=('android-aarch64-qt6-quickcontrols2')
provides=('android-aarch64-qt6-quickcontrols2')
replaces=('android-aarch64-qt6-quickcontrols2')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtdeclarative-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
'0001-Exclude-qmltime-when-cross-compiling.patch')
sha256sums=('4ecb982c08ca020192ffccd1af3c1e0be131324442bb4d9f77665cbc5ffa18fc'
'98be8fd1d4c74b9a137b585bc9cb556873bed9104d00010395a2f73997bbaab6')
sha256sums=('46737feceb9e54d63ad0c87a08d33f08ca58f4b8920ccefad8f1ebd64f0d1270'
'd2510025ff4140248403c0ea4c6bc6de88b15b3808a3016651e69bd52d14e5aa')
prepare () {
cd $_pkgfqn

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module', has_binaries => 1;
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -8,5 +8,8 @@ url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for QML and JavaScript languages (android)'
depends=(<%== qt6deps qw(base) %>)
makedepends=('android-cmake<%== $static_suffix %>' 'qt6-declarative' 'ninja' 'python' 'java-environment-openjdk=8')
makedepends=('android-cmake<%== $static_suffix %>' 'qt6-declarative' 'qt6-shadertools' 'ninja' 'python' 'java-environment-openjdk=8')
optdepends=('qt6-declarative: development tools')
conflicts=(<%== qt6deps qw(quickcontrols2) %>)
provides=(<%== qt6deps qw(quickcontrols2) %>)
replaces=(<%== qt6deps qw(quickcontrols2) %>)

View File

@ -1 +1 @@
4ecb982c08ca020192ffccd1af3c1e0be131324442bb4d9f77665cbc5ffa18fc
46737feceb9e54d63ad0c87a08d33f08ca58f4b8920ccefad8f1ebd64f0d1270

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-declarative-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -12,15 +12,18 @@ url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for QML and JavaScript languages (mingw-w64)'
depends=('mingw-w64-qt6-base-static')
makedepends=('mingw-w64-cmake-static' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja' 'python')
makedepends=('mingw-w64-cmake-static' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'qt6-shadertools' 'ninja' 'python')
optdepends=('qt6-declarative: development tools')
conflicts=('mingw-w64-qt6-quickcontrols2-static')
provides=('mingw-w64-qt6-quickcontrols2-static')
replaces=('mingw-w64-qt6-quickcontrols2-static')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtdeclarative-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
'0001-Exclude-qmltime-when-cross-compiling.patch')
sha256sums=('3e49a36135e799262226d3365016c61c09bacb07fb96438226e753716a3ff743'
'98be8fd1d4c74b9a137b585bc9cb556873bed9104d00010395a2f73997bbaab6')
sha256sums=('46737feceb9e54d63ad0c87a08d33f08ca58f4b8920ccefad8f1ebd64f0d1270'
'd2510025ff4140248403c0ea4c6bc6de88b15b3808a3016651e69bd52d14e5aa')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
3e49a36135e799262226d3365016c61c09bacb07fb96438226e753716a3ff743
46737feceb9e54d63ad0c87a08d33f08ca58f4b8920ccefad8f1ebd64f0d1270

View File

@ -1,4 +1,4 @@
From e50c6db728eed159a05440c45a0328690d32752d Mon Sep 17 00:00:00 2001
From 74152bbe05919391b4fade59b72c66ca203b40e2 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Fri, 5 Feb 2021 02:22:45 +0100
Subject: [PATCH] Exclude qmltime when cross compiling
@ -14,10 +14,10 @@ That's likely also why upstream did not notice this problem so far.
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 8438e8c6fa..23753dd0dc 100644
index 01fa0bf043..c855dc0338 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -30,7 +30,9 @@ if(QT_FEATURE_qml_preview AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND
@@ -31,7 +31,9 @@ if(QT_FEATURE_qml_preview AND QT_FEATURE_thread AND NOT ANDROID AND NOT WASM AND
endif()
if(QT_BUILD_SHARED_LIBS AND QT_FEATURE_thread AND TARGET Qt::Quick AND NOT ANDROID AND NOT WASM AND NOT rtems)
add_subdirectory(qmlscene)

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-declarative
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -12,15 +12,18 @@ url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for QML and JavaScript languages (mingw-w64)'
depends=('mingw-w64-qt6-base')
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja' 'python')
makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'qt6-shadertools' 'ninja' 'python')
optdepends=('qt6-declarative: development tools')
conflicts=('mingw-w64-qt6-quickcontrols2')
provides=('mingw-w64-qt6-quickcontrols2')
replaces=('mingw-w64-qt6-quickcontrols2')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtdeclarative-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
'0001-Exclude-qmltime-when-cross-compiling.patch')
sha256sums=('3e49a36135e799262226d3365016c61c09bacb07fb96438226e753716a3ff743'
'98be8fd1d4c74b9a137b585bc9cb556873bed9104d00010395a2f73997bbaab6')
sha256sums=('46737feceb9e54d63ad0c87a08d33f08ca58f4b8920ccefad8f1ebd64f0d1270'
'd2510025ff4140248403c0ea4c6bc6de88b15b3808a3016651e69bd52d14e5aa')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module', has_binaries => 1;
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -8,5 +8,8 @@ url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for QML and JavaScript languages (mingw-w64)'
depends=(<%== qt6deps qw(base) %>)
makedepends=('mingw-w64-cmake<%== $static_suffix %>' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja' 'python')
makedepends=('mingw-w64-cmake<%== $static_suffix %>' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'qt6-shadertools' 'ninja' 'python')
optdepends=('qt6-declarative: development tools')
conflicts=(<%== qt6deps qw(quickcontrols2) %>)
provides=(<%== qt6deps qw(quickcontrols2) %>)
replaces=(<%== qt6deps qw(quickcontrols2) %>)

View File

@ -1 +1 @@
3e49a36135e799262226d3365016c61c09bacb07fb96438226e753716a3ff743
46737feceb9e54d63ad0c87a08d33f08ca58f4b8920ccefad8f1ebd64f0d1270

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-imageformats
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtimageformats-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('958600ed4acf6cc5f74b77e97b4913f3127ccbaadcfce6c1942e775f9f4345a2')
sha256sums=('fdaa35536c3d0f8f5f313d0d52dedfbf6d8fcd81a82d6a56f473253f135072ad')
build() {
source android-env ${_android_arch}

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
958600ed4acf6cc5f74b77e97b4913f3127ccbaadcfce6c1942e775f9f4345a2
fdaa35536c3d0f8f5f313d0d52dedfbf6d8fcd81a82d6a56f473253f135072ad

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-imageformats-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -20,7 +20,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtimageformats-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('e1f9d3e3061dbe8c71f2189b6ccc4f92e59aac95a7ce7217aefe500cdc2e26f3')
sha256sums=('fdaa35536c3d0f8f5f313d0d52dedfbf6d8fcd81a82d6a56f473253f135072ad')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
e1f9d3e3061dbe8c71f2189b6ccc4f92e59aac95a7ce7217aefe500cdc2e26f3
fdaa35536c3d0f8f5f313d0d52dedfbf6d8fcd81a82d6a56f473253f135072ad

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-imageformats
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -20,7 +20,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtimageformats-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('e1f9d3e3061dbe8c71f2189b6ccc4f92e59aac95a7ce7217aefe500cdc2e26f3')
sha256sums=('fdaa35536c3d0f8f5f313d0d52dedfbf6d8fcd81a82d6a56f473253f135072ad')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
e1f9d3e3061dbe8c71f2189b6ccc4f92e59aac95a7ce7217aefe500cdc2e26f3
fdaa35536c3d0f8f5f313d0d52dedfbf6d8fcd81a82d6a56f473253f135072ad

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-lottie
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -19,7 +19,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtlottie-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('5b1b8a8a6c2ffd587937f84a8201b6e485cb58462d4d6aa9c00aea2f6b40071b')
sha256sums=('aa129261d409b5d935221acd6e38f56d68eac5e467a1990c96c654e81a2522ff')
build() {
source android-env ${_android_arch}

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
5b1b8a8a6c2ffd587937f84a8201b6e485cb58462d4d6aa9c00aea2f6b40071b
aa129261d409b5d935221acd6e38f56d68eac5e467a1990c96c654e81a2522ff

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-lottie-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtlottie-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('3c6a2642091f28e9cb0f8c0f82069fd3957d88e7bc6519517d17c0ca02c6b103')
sha256sums=('aa129261d409b5d935221acd6e38f56d68eac5e467a1990c96c654e81a2522ff')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
3c6a2642091f28e9cb0f8c0f82069fd3957d88e7bc6519517d17c0ca02c6b103
aa129261d409b5d935221acd6e38f56d68eac5e467a1990c96c654e81a2522ff

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-lottie
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtlottie-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('3c6a2642091f28e9cb0f8c0f82069fd3957d88e7bc6519517d17c0ca02c6b103')
sha256sums=('aa129261d409b5d935221acd6e38f56d68eac5e467a1990c96c654e81a2522ff')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,6 +1,6 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
3c6a2642091f28e9cb0f8c0f82069fd3957d88e7bc6519517d17c0ca02c6b103
aa129261d409b5d935221acd6e38f56d68eac5e467a1990c96c654e81a2522ff

View File

@ -0,0 +1,52 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-multimedia
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for audio, video, radio and camera functionality (android)'
depends=('android-aarch64-qt6-base')
optdepends=('android-aarch64-qt6-declarative: QML bindings')
makedepends=('android-cmake' 'android-aarch64-qt6-declarative' 'android-aarch64-qt6-shadertools' 'qt6-declarative' 'qt6-shadertools' 'ninja' 'java-environment-openjdk=8')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtmultimedia-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('f12b96e6da2ebfe84105c0cb6e96fbc6bda012de8998ec5c96b58c85dcb40b4f')
build() {
source android-env ${_android_arch}
android-${_android_arch}-cmake -G Ninja -B build-$_android_arch -S $_pkgfqn \
-DCMAKE_FIND_ROOT_PATH="${ANDROID_PREFIX}" \
-DQT_BINARY_DIR=${ANDROID_PREFIX_BIN} \
-DQT_INCLUDE_DIRS_NO_SYSTEM=ON \
-DQT_HOST_PATH=/usr \
-DANDROID_SDK_ROOT=${ANDROID_HOME} \
-DANDROID_NDK_ROOT=${ANDROID_NDK_HOME} \
-DANDROID_STL="c++_shared" \
-DFEATURE_pkg_config=ON
cmake --build build-$_android_arch
}
package() {
DESTDIR="$pkgdir" cmake --install build-$_android_arch
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/${ANDROID_PREFIX}" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
find ${pkgdir}/${ANDROID_PREFIX} -type f -name 'lib*.so' -exec ${ANDROID_STRIP} -g --strip-unneeded {} \;
find ${pkgdir}/${ANDROID_PREFIX} -type f -name 'lib*.a' -exec ${ANDROID_STRIP} -g {} \;
[[ -d "${pkgdir}/${ANDROID_PREFIX}/share/doc" ]] && rm -r "${pkgdir}/${ANDROID_PREFIX}/share/doc" || true
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/android-$_android_arch-qt6-base "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -0,0 +1,12 @@
% layout 'android-qt6-module';
\
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for audio, video, radio and camera functionality (android)'
depends=(<%== qt6deps qw(base) %>)
optdepends=(<%== qt6optdeps declarative => 'QML bindings' %>)
makedepends=('android-cmake<%== $static_suffix %>' <%== qt6deps qw(declarative shadertools) %> 'qt6-declarative' 'qt6-shadertools' 'ninja' 'java-environment-openjdk=8')

View File

@ -0,0 +1 @@
f12b96e6da2ebfe84105c0cb6e96fbc6bda012de8998ec5c96b58c85dcb40b4f

View File

@ -3,7 +3,7 @@
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=qt6-quickcontrols2
pkgname=qt6-multimedia
_qtver=6.0.0
pkgver=${_qtver/-/}
pkgrel=1
@ -16,7 +16,7 @@ makedepends=(cmake vulkan-headers ninja)
groups=(qt6)
_pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('13e68868e28512614f96a630332918054b918435cc17696a1281eddd7dbeb2cf')
sha256sums=('qtmultimedia-sha256.txt missing')
build() {
cmake -G Ninja -B build -S $_pkgfqn
@ -31,5 +31,5 @@ package() {
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-quickcontrols2
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/qt6-multimedia
}

View File

@ -0,0 +1,50 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-multimedia-static
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for audio, video, radio and camera functionality (mingw-w64)'
depends=('mingw-w64-qt6-base-static')
optdepends=('mingw-w64-qt6-declarative-static: QML bindings')
makedepends=('mingw-w64-cmake-static' 'mingw-w64-qt6-declarative-static' 'mingw-w64-qt6-shadertools-static' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'qt6-shadertools' 'ninja')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtmultimedia-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('f12b96e6da2ebfe84105c0cb6e96fbc6bda012de8998ec5c96b58c85dcb40b4f')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
build() {
for _arch in ${_architectures}; do
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
$_arch-cmake-static -G Ninja -B build-$_arch -S $_pkgfqn \
-DCMAKE_INSTALL_PREFIX:PATH="/usr/$_arch/static" \
-DFEATURE_static_runtime=ON \
-DFEATURE_pkg_config=ON
cmake --build build-$_arch
done
}
package() {
for _arch in ${_architectures}; do
DESTDIR="$pkgdir" cmake --install build-$_arch
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
[[ -d "$pkgdir/usr/$_arch/static/share/doc" ]] && rm -r "$pkgdir/usr/$_arch/static/share/doc"
done
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/mingw-w64-qt6-base-static "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -0,0 +1 @@
%= include "$default_package_name/mingw-w64/PKGBUILD";

View File

@ -0,0 +1 @@
f12b96e6da2ebfe84105c0cb6e96fbc6bda012de8998ec5c96b58c85dcb40b4f

View File

@ -0,0 +1,57 @@
# Maintainer: Martchus <martchus@gmx.net>
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-multimedia
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for audio, video, radio and camera functionality (mingw-w64)'
depends=('mingw-w64-qt6-base')
optdepends=('mingw-w64-qt6-declarative: QML bindings')
makedepends=('mingw-w64-cmake' 'mingw-w64-qt6-declarative' 'mingw-w64-qt6-shadertools' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'qt6-shadertools' 'ninja')
options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtmultimedia-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('f12b96e6da2ebfe84105c0cb6e96fbc6bda012de8998ec5c96b58c85dcb40b4f')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'
build() {
for _arch in ${_architectures}; do
export PKG_CONFIG=/usr/bin/$_arch-pkg-config
$_arch-cmake -G Ninja -B build-$_arch -S $_pkgfqn \
-DFEATURE_pkg_config=ON
cmake --build build-$_arch
done
}
package() {
for _arch in ${_architectures}; do
DESTDIR="$pkgdir" cmake --install build-$_arch
# Add symlinks of DLLs in usual bin directory
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/$_arch/bin"
for dll in "$pkgdir"/usr/$_arch/lib/qt6/bin/*.dll; do
ln -rs "$dll" "$pkgdir/usr/$_arch/bin/${dll##*/}"
done
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find "$pkgdir/usr/$_arch/lib" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
find "$pkgdir/usr/$_arch" -iname '*.exe' -exec $_arch-strip --strip-all {} \;
find "$pkgdir/usr/$_arch" -iname '*.dll' -exec $_arch-strip --strip-unneeded {} \;
find "$pkgdir/usr/$_arch" -iname '*.a' -exec $_arch-strip -g {} \;
[[ -d "$pkgdir/usr/$_arch/share/doc" ]] && rm -r "$pkgdir/usr/$_arch/share/doc"
done
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/$pkgname
}

View File

@ -0,0 +1,12 @@
% layout 'mingw-w64-qt6-module';
\
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Classes for audio, video, radio and camera functionality (mingw-w64)'
depends=(<%== qt6deps qw(base) %>)
optdepends=(<%== qt6optdeps declarative => 'QML bindings' %>)
makedepends=('mingw-w64-cmake<%== $static_suffix %>' <%== qt6deps qw(declarative shadertools) %> 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'qt6-shadertools' 'ninja')

View File

@ -0,0 +1 @@
f12b96e6da2ebfe84105c0cb6e96fbc6bda012de8998ec5c96b58c85dcb40b4f

View File

@ -5,7 +5,7 @@
_android_arch=aarch64
pkgname=android-$_android_arch-qt6-networkauth
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -18,7 +18,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(android-${_android_arch}-qt6)
_pkgfqn="qtnetworkauth-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('a02740a3a2a90f011ba1eac342a4a09f6381b65bf5ed3fc41c0725fbeb7f9c60')
sha256sums=('e71504c8d6ae4cf4d573f1d91ff756f90f441e22b0af12eae2424f7e0c01d450')
build() {
source android-env ${_android_arch}

View File

@ -1,6 +1,6 @@
% layout 'android-qt6-module';
\
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)

View File

@ -1 +1 @@
a02740a3a2a90f011ba1eac342a4a09f6381b65bf5ed3fc41c0725fbeb7f9c60
e71504c8d6ae4cf4d573f1d91ff756f90f441e22b0af12eae2424f7e0c01d450

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-networkauth-static
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtnetworkauth-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('62f6f473eaf5e4e62e153b14bbcfcc18b49e3a431897b4ac69491b5842c72862')
sha256sums=('e71504c8d6ae4cf4d573f1d91ff756f90f441e22b0af12eae2424f7e0c01d450')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1 +1 @@
62f6f473eaf5e4e62e153b14bbcfcc18b49e3a431897b4ac69491b5842c72862
e71504c8d6ae4cf4d573f1d91ff756f90f441e22b0af12eae2424f7e0c01d450

View File

@ -4,7 +4,7 @@
# you also find the URL of a binary repository.
pkgname=mingw-w64-qt6-networkauth
_qtver=6.1.3
_qtver=6.2.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(any)
@ -17,7 +17,7 @@ options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
groups=(mingw-w64-qt6)
_pkgfqn="qtnetworkauth-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
sha256sums=('62f6f473eaf5e4e62e153b14bbcfcc18b49e3a431897b4ac69491b5842c72862')
sha256sums=('e71504c8d6ae4cf4d573f1d91ff756f90f441e22b0af12eae2424f7e0c01d450')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32'

Some files were not shown because too many files have changed in this diff Show More