void-packages/srcpkgs/qt6-quickcontrols2/template

28 lines
988 B
Bash
Raw Normal View History

2020-12-22 14:09:47 +01:00
# Template file for 'qt6-quickcontrols2'
pkgname=qt6-quickcontrols2
version=6.1.0
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=784f1d79e74df59f095b126a116d85e72801bd357f5666d6bad8407ac3957d59
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"
}
}