void-packages/srcpkgs/qt6-quickcontrols2/template
2021-06-13 10:30:45 +02:00

27 lines
988 B
Bash

# Template file for 'qt6-quickcontrols2'
pkgname=qt6-quickcontrols2
version=6.1.1
revision=1
wrksrc="qtquickcontrols2-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr "
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
makedepends="qt6-base-devel qt6-declarative-devel"
short_desc="Cross-platform application and UI framework - quickcontrols2"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-3.0-or-later"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtquickcontrols2-everywhere-src-${version}.tar.xz"
checksum=7ebc99724bedd97a2c6a606ba2726feb66bb76eb9f30262ae13cd246f5665ea4
qt6-quickcontrols2-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel"
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"
}
}