44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
|
# Template file for 'qt6-declarative'
|
||
|
pkgname=qt6-declarative
|
||
|
version=6.1.0
|
||
|
revision=1
|
||
|
wrksrc="qtdeclarative-everywhere-src-${version}"
|
||
|
build_style=cmake
|
||
|
configure_args=" -DQT_HOST_PATH=/usr
|
||
|
-DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=true"
|
||
|
hostmakedepends="qt6-base-devel perl pkg-config wayland-devel
|
||
|
qt6-declarative-devel"
|
||
|
makedepends="qt6-base-devel Vulkan-Headers"
|
||
|
short_desc="Cross-platform application and UI framework - Declarative"
|
||
|
maintainer="John <me@johnnynator.dev>"
|
||
|
license="GPL-3.0-only with Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
|
||
|
homepage="https://www.qt.io"
|
||
|
distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtdeclarative-everywhere-src-${version}.tar.xz"
|
||
|
checksum=e6f64314b8d54d7b541f52827b4e795317b17c3b7f39ad5210b8dbf343b75bda
|
||
|
|
||
|
qt6-declarative-tools_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||
|
short_desc+=" - tools"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/qt6/plugins/qmltooling
|
||
|
for bin in qmlcachegen qmleasing qmlformat qmlimportscanner \
|
||
|
qmllint qmlplugindump qmlpreview qmlprofiler qmlscene \
|
||
|
qmltestrunner qmltime qmltyperegistrar; do
|
||
|
vmove usr/lib/qt6/bin/$bin
|
||
|
done
|
||
|
}
|
||
|
}
|
||
|
|
||
|
qt6-declarative-devel_package() {
|
||
|
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1
|
||
|
qt6-declarative-tools>=${version}_${revision}"
|
||
|
short_desc+=" - development files"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/cmake
|
||
|
vmove usr/lib/qt6/mkspecs
|
||
|
vmove "usr/lib/*.so"
|
||
|
vmove "usr/lib/*.prl"
|
||
|
}
|
||
|
}
|