From d842986078fb22a2bd0e1832f9fa23ca7e98492a Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 12 Oct 2020 01:19:44 +0200 Subject: [PATCH] Add further mingw-w64-qt6-* packages, update dependencies Note that mingw-w64-qt6-quick3d and mingw-w64-qt6-3d currently fail due to problems in mingw-w64-assimp's CMake package. --- qt6-3d/default/PKGBUILD | 6 +- qt6-3d/default/PKGBUILD.sh.ep | 6 +- qt6-3d/mingw-w64/PKGBUILD | 60 +++++++++++++++++++ qt6-3d/mingw-w64/PKGBUILD.sh.ep | 14 +++++ qt6-3d/mingw-w64/qt3d-sha256.txt | 1 + qt6-5compat/mingw-w64/PKGBUILD | 57 ++++++++++++++++++ qt6-5compat/mingw-w64/PKGBUILD.sh.ep | 11 ++++ qt6-5compat/mingw-w64/qt5compat-sha256.txt | 1 + qt6-base/default/PKGBUILD | 6 +- qt6-quick3d/mingw-w64/PKGBUILD | 58 ++++++++++++++++++ qt6-quick3d/mingw-w64/PKGBUILD.sh.ep | 12 ++++ qt6-quick3d/mingw-w64/qtquick3d-sha256.txt | 1 + qt6-quickcontrols2/mingw-w64/PKGBUILD | 57 ++++++++++++++++++ qt6-quickcontrols2/mingw-w64/PKGBUILD.sh.ep | 11 ++++ .../mingw-w64/qtquickcontrols2-sha256.txt | 1 + qt6-quicktimeline/mingw-w64/PKGBUILD | 57 ++++++++++++++++++ qt6-quicktimeline/mingw-w64/PKGBUILD.sh.ep | 11 ++++ .../mingw-w64/qtquicktimeline-sha256.txt | 1 + qt6-shadertools/mingw-w64/PKGBUILD | 58 ++++++++++++++++++ qt6-shadertools/mingw-w64/PKGBUILD.sh.ep | 12 ++++ .../mingw-w64/qtshadertools-sha256.txt | 1 + qt6-svg/mingw-w64/PKGBUILD | 2 +- qt6-svg/mingw-w64/PKGBUILD.sh.ep | 2 +- qt6-translations/mingw-w64/PKGBUILD | 47 +++++++++++++++ qt6-translations/mingw-w64/PKGBUILD.sh.ep | 11 ++++ .../mingw-w64/qttranslations-sha256.txt | 1 + 26 files changed, 496 insertions(+), 9 deletions(-) create mode 100644 qt6-3d/mingw-w64/PKGBUILD create mode 100644 qt6-3d/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-3d/mingw-w64/qt3d-sha256.txt create mode 100644 qt6-5compat/mingw-w64/PKGBUILD create mode 100644 qt6-5compat/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-5compat/mingw-w64/qt5compat-sha256.txt create mode 100644 qt6-quick3d/mingw-w64/PKGBUILD create mode 100644 qt6-quick3d/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-quick3d/mingw-w64/qtquick3d-sha256.txt create mode 100644 qt6-quickcontrols2/mingw-w64/PKGBUILD create mode 100644 qt6-quickcontrols2/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-quickcontrols2/mingw-w64/qtquickcontrols2-sha256.txt create mode 100644 qt6-quicktimeline/mingw-w64/PKGBUILD create mode 100644 qt6-quicktimeline/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-quicktimeline/mingw-w64/qtquicktimeline-sha256.txt create mode 100644 qt6-shadertools/mingw-w64/PKGBUILD create mode 100644 qt6-shadertools/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-shadertools/mingw-w64/qtshadertools-sha256.txt create mode 100644 qt6-translations/mingw-w64/PKGBUILD create mode 100644 qt6-translations/mingw-w64/PKGBUILD.sh.ep create mode 100644 qt6-translations/mingw-w64/qttranslations-sha256.txt diff --git a/qt6-3d/default/PKGBUILD b/qt6-3d/default/PKGBUILD index e87f4d50..a79677a3 100644 --- a/qt6-3d/default/PKGBUILD +++ b/qt6-3d/default/PKGBUILD @@ -11,8 +11,10 @@ arch=(x86_64) url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics' -depends=(qt6-declarative assimp) -makedepends=(cmake vulkan-headers ninja) +depends=(qt6-declarative) +makedepends=(cmake vulkan-headers assimp qt6-shadertools ninja) +optdepends=('assimp: assimp importer' + 'qt6-shadertools: RHI renderer') groups=(qt6) _pkgfqn="${pkgname/6-/}-everywhere-src-${_qtver}" source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") diff --git a/qt6-3d/default/PKGBUILD.sh.ep b/qt6-3d/default/PKGBUILD.sh.ep index 421551c6..d23cfdc0 100644 --- a/qt6-3d/default/PKGBUILD.sh.ep +++ b/qt6-3d/default/PKGBUILD.sh.ep @@ -7,5 +7,7 @@ arch=(x86_64) url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics' -depends=(qt6-declarative assimp) -makedepends=(cmake vulkan-headers ninja) +depends=(qt6-declarative) +makedepends=(cmake vulkan-headers assimp qt6-shadertools ninja) +optdepends=('assimp: assimp importer' + 'qt6-shadertools: RHI renderer') diff --git a/qt6-3d/mingw-w64/PKGBUILD b/qt6-3d/mingw-w64/PKGBUILD new file mode 100644 index 00000000..f6f6c7ea --- /dev/null +++ b/qt6-3d/mingw-w64/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Martchus + +# 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-3d +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)' +depends=('mingw-w64-qt6-declarative') +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp' + 'qt6-shadertools' 'qt6-declarative' 'ninja') +optdepends=('mingw-w64-assimp: Import from assimp' + 'mingw-w64-qt6-shadertools: RHI renderer') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qt3d-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-3d +} diff --git a/qt6-3d/mingw-w64/PKGBUILD.sh.ep b/qt6-3d/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..fc35d96c --- /dev/null +++ b/qt6-3d/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,14 @@ +% layout 'mingw-w64-qt6-module', has_binaries => 1; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics (mingw-w64)' +depends=(<%== qt6deps qw(declarative) %>) +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp' + 'qt6-shadertools' 'qt6-declarative' 'ninja') +optdepends=('mingw-w64-assimp: Import from assimp' + <%== qt6optdeps shadertools => 'RHI renderer' %>) diff --git a/qt6-3d/mingw-w64/qt3d-sha256.txt b/qt6-3d/mingw-w64/qt3d-sha256.txt new file mode 100644 index 00000000..3184e09d --- /dev/null +++ b/qt6-3d/mingw-w64/qt3d-sha256.txt @@ -0,0 +1 @@ +3362d01c7542af0e902908d2d339374feda1a037552ea625b900278982375c27 diff --git a/qt6-5compat/mingw-w64/PKGBUILD b/qt6-5compat/mingw-w64/PKGBUILD new file mode 100644 index 00000000..eca56c7d --- /dev/null +++ b/qt6-5compat/mingw-w64/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: Martchus + +# 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-5compat +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Module that contains unsupported Qt 5 APIs (mingw-w64)' +depends=('mingw-w64-qt6-base') +makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qt5compat-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-5compat +} diff --git a/qt6-5compat/mingw-w64/PKGBUILD.sh.ep b/qt6-5compat/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..35bc39f7 --- /dev/null +++ b/qt6-5compat/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,11 @@ +% layout 'mingw-w64-qt6-module'; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Module that contains unsupported Qt 5 APIs (mingw-w64)' +depends=(<%== qt6deps qw(base) %>) +makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja') diff --git a/qt6-5compat/mingw-w64/qt5compat-sha256.txt b/qt6-5compat/mingw-w64/qt5compat-sha256.txt new file mode 100644 index 00000000..a51b2384 --- /dev/null +++ b/qt6-5compat/mingw-w64/qt5compat-sha256.txt @@ -0,0 +1 @@ +e0d2fbfeaf40e2e00b5b124f50b5887ef09f471030536869e3e31c38b8f9e00a diff --git a/qt6-base/default/PKGBUILD b/qt6-base/default/PKGBUILD index 75352ed2..85fb93d4 100644 --- a/qt6-base/default/PKGBUILD +++ b/qt6-base/default/PKGBUILD @@ -12,9 +12,9 @@ arch=(x86_64) url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='A cross-platform application and UI framework' -depends=(libjpeg-turbo xcb-util-keysyms xcb-util-renderutil libgl fontconfig xdg-utils - shared-mime-info xcb-util-wm libxrender libxi sqlite xcb-util-image mesa - tslib libinput libxkbcommon-x11 libproxy libcups double-conversion md4c brotli) +depends=(libjpeg-turbo xcb-util-keysyms xcb-util-cursor libgl fontconfig xdg-utils + shared-mime-info xcb-util-wm libxrender libxi sqlite mesa + tslib libinput libxkbcommon-x11 libproxy libcups double-conversion md4c brotli libb2) makedepends=(cmake libfbclient mariadb-libs unixodbc postgresql-libs alsa-lib gst-plugins-base-libs gtk3 libpulse cups freetds vulkan-headers ninja) optdepends=('postgresql-libs: PostgreSQL driver' diff --git a/qt6-quick3d/mingw-w64/PKGBUILD b/qt6-quick3d/mingw-w64/PKGBUILD new file mode 100644 index 00000000..9084ac8d --- /dev/null +++ b/qt6-quick3d/mingw-w64/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Martchus + +# 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-quick3d +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Qt module and API for defining 3D content in Qt Quick (mingw-w64)' +depends=('mingw-w64-qt6-declarative') +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp' + 'mingw-w64-qt6-shadertools' 'qt6-declarative' 'qt6-shadertools' 'ninja') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qtquick3d-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('e2acaa92f99bad113cb70f0b3dd14fc7042088f9e19ff6bbb4a6ae8b92dd8cd6') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-quick3d +} diff --git a/qt6-quick3d/mingw-w64/PKGBUILD.sh.ep b/qt6-quick3d/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..612652d6 --- /dev/null +++ b/qt6-quick3d/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,12 @@ +% layout 'mingw-w64-qt6-module', has_binaries => 1; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Qt module and API for defining 3D content in Qt Quick (mingw-w64)' +depends=(<%== qt6deps qw(declarative) %>) +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'mingw-w64-assimp' + <%== qt6deps qw(shadertools) %> 'qt6-declarative' 'qt6-shadertools' 'ninja') diff --git a/qt6-quick3d/mingw-w64/qtquick3d-sha256.txt b/qt6-quick3d/mingw-w64/qtquick3d-sha256.txt new file mode 100644 index 00000000..381c847a --- /dev/null +++ b/qt6-quick3d/mingw-w64/qtquick3d-sha256.txt @@ -0,0 +1 @@ +e2acaa92f99bad113cb70f0b3dd14fc7042088f9e19ff6bbb4a6ae8b92dd8cd6 diff --git a/qt6-quickcontrols2/mingw-w64/PKGBUILD b/qt6-quickcontrols2/mingw-w64/PKGBUILD new file mode 100644 index 00000000..aeaebbe5 --- /dev/null +++ b/qt6-quickcontrols2/mingw-w64/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: Martchus + +# 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-quickcontrols2 +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Next generation user interface controls based on Qt Quick (mingw-w64)' +depends=('mingw-w64-qt6-declarative') +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qtquickcontrols2-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('2cf6c41075154e6dd92864f1ce95b58c3da35b4bb171a8fdc48cafb1802a3e00') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-quickcontrols2 +} diff --git a/qt6-quickcontrols2/mingw-w64/PKGBUILD.sh.ep b/qt6-quickcontrols2/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..6c466022 --- /dev/null +++ b/qt6-quickcontrols2/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,11 @@ +% layout 'mingw-w64-qt6-module'; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Next generation user interface controls based on Qt Quick (mingw-w64)' +depends=(<%== qt6deps qw(declarative) %>) +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja') diff --git a/qt6-quickcontrols2/mingw-w64/qtquickcontrols2-sha256.txt b/qt6-quickcontrols2/mingw-w64/qtquickcontrols2-sha256.txt new file mode 100644 index 00000000..25573110 --- /dev/null +++ b/qt6-quickcontrols2/mingw-w64/qtquickcontrols2-sha256.txt @@ -0,0 +1 @@ +2cf6c41075154e6dd92864f1ce95b58c3da35b4bb171a8fdc48cafb1802a3e00 diff --git a/qt6-quicktimeline/mingw-w64/PKGBUILD b/qt6-quicktimeline/mingw-w64/PKGBUILD new file mode 100644 index 00000000..c765f653 --- /dev/null +++ b/qt6-quicktimeline/mingw-w64/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: Martchus + +# 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-quicktimeline +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Qt module for keyframe-based timeline construction (mingw-w64)' +depends=('mingw-w64-qt6-declarative') +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qtquicktimeline-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('55fd2503290440a78fb922b63a8bffe2366fd0d064a69226a11603b78a3f10c9') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-quicktimeline +} diff --git a/qt6-quicktimeline/mingw-w64/PKGBUILD.sh.ep b/qt6-quicktimeline/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..79ab4fa7 --- /dev/null +++ b/qt6-quicktimeline/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,11 @@ +% layout 'mingw-w64-qt6-module'; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Qt module for keyframe-based timeline construction (mingw-w64)' +depends=(<%== qt6deps qw(declarative) %>) +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-declarative' 'ninja') diff --git a/qt6-quicktimeline/mingw-w64/qtquicktimeline-sha256.txt b/qt6-quicktimeline/mingw-w64/qtquicktimeline-sha256.txt new file mode 100644 index 00000000..0a7f856e --- /dev/null +++ b/qt6-quicktimeline/mingw-w64/qtquicktimeline-sha256.txt @@ -0,0 +1 @@ +55fd2503290440a78fb922b63a8bffe2366fd0d064a69226a11603b78a3f10c9 diff --git a/qt6-shadertools/mingw-w64/PKGBUILD b/qt6-shadertools/mingw-w64/PKGBUILD new file mode 100644 index 00000000..653f7788 --- /dev/null +++ b/qt6-shadertools/mingw-w64/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Martchus + +# 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-shadertools +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer (mingw-w64)' +depends=('mingw-w64-qt6-base') +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-shadertools' 'ninja') +optdepends=('qt6-shadertools: development tools') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qtshadertools-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-shadertools +} diff --git a/qt6-shadertools/mingw-w64/PKGBUILD.sh.ep b/qt6-shadertools/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..d44de449 --- /dev/null +++ b/qt6-shadertools/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,12 @@ +% layout 'mingw-w64-qt6-module', has_binaries => 1; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='Experimental module providing APIs and a host tool to host tool to perform graphics and compute shader conditioning for the upcoming Qt graphics abstraction layer (mingw-w64)' +depends=(<%== qt6deps qw(base) %>) +makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-headers' 'mingw-w64-vulkan-icd-loader' 'qt6-shadertools' 'ninja') +optdepends=('qt6-shadertools: development tools') diff --git a/qt6-shadertools/mingw-w64/qtshadertools-sha256.txt b/qt6-shadertools/mingw-w64/qtshadertools-sha256.txt new file mode 100644 index 00000000..4516157f --- /dev/null +++ b/qt6-shadertools/mingw-w64/qtshadertools-sha256.txt @@ -0,0 +1 @@ +7607174fa298632887dc4571bead66fe519ebe98dd92b5264ac42ab71e0cfb2d diff --git a/qt6-svg/mingw-w64/PKGBUILD b/qt6-svg/mingw-w64/PKGBUILD index b43359c4..c2478547 100644 --- a/qt6-svg/mingw-w64/PKGBUILD +++ b/qt6-svg/mingw-w64/PKGBUILD @@ -12,7 +12,7 @@ url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='Classes for displaying the contents of SVG files (mingw-w64)' depends=('mingw-w64-qt6-base') -makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-icd-loader' 'qt6-base' 'ninja') +makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja') options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') groups=(mingw-w64-qt6) _pkgfqn="qtsvg-everywhere-src-${_qtver}" diff --git a/qt6-svg/mingw-w64/PKGBUILD.sh.ep b/qt6-svg/mingw-w64/PKGBUILD.sh.ep index 0b19f216..36ffbe0d 100644 --- a/qt6-svg/mingw-w64/PKGBUILD.sh.ep +++ b/qt6-svg/mingw-w64/PKGBUILD.sh.ep @@ -8,4 +8,4 @@ url='https://www.qt.io' license=(GPL3 LGPL3 FDL custom) pkgdesc='Classes for displaying the contents of SVG files (mingw-w64)' depends=(<%== qt6deps qw(base) %>) -makedepends=('mingw-w64-cmake' 'mingw-w64-vulkan-icd-loader' 'qt6-base' 'ninja') +makedepends=('mingw-w64-cmake' 'qt6-base' 'ninja') diff --git a/qt6-translations/mingw-w64/PKGBUILD b/qt6-translations/mingw-w64/PKGBUILD new file mode 100644 index 00000000..38012f34 --- /dev/null +++ b/qt6-translations/mingw-w64/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Martchus + +# 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-translations +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='A cross-platform application and UI framework (Translations, mingw-w64)' +depends=('mingw-w64-qt6-base') +makedepends=('mingw-w64-cmake' 'mingw-w64-qt6-tools' 'qt6-tools' 'ninja') +options=('!strip' '!buildflags' 'staticlibs' '!emptydirs') +groups=(mingw-w64-qt6) +_pkgfqn="qttranslations-everywhere-src-${_qtver}" +source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('940fa99c2f90881667816a5acfae1c6ba1d76f79a80a42815857cfef25a23a7d') + +_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 \ + -DQT_HOST_PATH=/usr \ + -DFEATURE_pkg_config=ON \ + -DVulkan_LIBRARY="/usr/$_arch/lib/libvulkan.dll.a" \ + -DVulkan_INCLUDE_DIR="/usr/$_arch/include" + 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 {} \; + done + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/mingw-w64-qt6-base "$pkgdir"/usr/share/licenses/mingw-w64-qt6-translations +} diff --git a/qt6-translations/mingw-w64/PKGBUILD.sh.ep b/qt6-translations/mingw-w64/PKGBUILD.sh.ep new file mode 100644 index 00000000..4fa6cec3 --- /dev/null +++ b/qt6-translations/mingw-w64/PKGBUILD.sh.ep @@ -0,0 +1,11 @@ +% layout 'mingw-w64-qt6-module', no_libs => 1; +\ +_qtver=6.0.0-alpha +pkgver=${_qtver/-/} +pkgrel=1 +arch=(any) +url='https://www.qt.io' +license=(GPL3 LGPL3 FDL custom) +pkgdesc='A cross-platform application and UI framework (Translations, mingw-w64)' +depends=(<%== qt6deps qw(base) %>) +makedepends=('mingw-w64-cmake' <%== qt6deps qw(tools) %> 'qt6-tools' 'ninja') diff --git a/qt6-translations/mingw-w64/qttranslations-sha256.txt b/qt6-translations/mingw-w64/qttranslations-sha256.txt new file mode 100644 index 00000000..2058328e --- /dev/null +++ b/qt6-translations/mingw-w64/qttranslations-sha256.txt @@ -0,0 +1 @@ +940fa99c2f90881667816a5acfae1c6ba1d76f79a80a42815857cfef25a23a7d