% layout 'mingw-w64-qt6-module'; \ _qtver=6.4.2 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') % \ % content_for additional_cmake_args => begin \\ -DFEATURE_wmsdk=ON \\ -DFEATURE_ffmpeg=OFF \\ -DFEATURE_gstreamer=OFF # note: Enable Windows Media SDK as it is not optional (disabling it would lead to build errors). # Unfortunately it doesn't build as well (maybe it would using a newer mingw-w64 version). # Disabling ffmpeg and gstreamer at this point explicitly due to lack of testing.\ % end