Martchus
5f239b49a5
The static Qt modules in the base repository are already packaged as a separate package (mingw-w64-qt5-base-static). This change applies the same separation to Qt modules found in further repositories. That means it is no longer required to build a static version of Qt if only shared libraries are required. Note that there's no static variant for mingw-w64-qt5-activeqt because this module ends up being built as a static library anyways. There is also no static version of mingw-w64-qt5-translations because it does not contain any libraries.
18 lines
575 B
Plaintext
18 lines
575 B
Plaintext
% layout 'mingw-w64-qt5-module';
|
|
\
|
|
pkgver=5.12.3
|
|
pkgrel=1
|
|
arch=('any')
|
|
pkgdesc="A JavaScript 3D rendering API for Qt Quick (mingw-w64)"
|
|
depends=(<%== qt5deps qw(declarative) %>)
|
|
makedepends=('mingw-w64-gcc' 'mingw-w64-pkg-config')
|
|
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
|
\
|
|
% content_for package_config_after_install => begin
|
|
|
|
# ensure to get the import lib, too
|
|
[[ "${_config##*=}" == 'shared' ]] &&
|
|
install -Dm755 qml/QtCanvas3D/*.dll -t "${pkgdir}/usr/${_arch}/bin" &&
|
|
install -Dm644 qml/QtCanvas3D/*.dll.a -t "${pkgdir}/usr/${_arch}/lib"
|
|
% end
|