void-packages/srcpkgs/qt6-quickcontrols2/template

28 lines
988 B
Bash
Raw Normal View History

2020-12-22 13:09:47 +00:00
# Template file for 'qt6-quickcontrols2'
pkgname=qt6-quickcontrols2
2021-06-07 15:53:51 +00:00
version=6.1.1
2020-12-22 13:09:47 +00:00
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"
2021-06-07 15:53:51 +00:00
checksum=7ebc99724bedd97a2c6a606ba2726feb66bb76eb9f30262ae13cd246f5665ea4
2020-12-22 13:09:47 +00:00
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"
}
}