void-packages/srcpkgs/qt6-location/template

28 lines
1.0 KiB
Bash

# Template file for 'qt6-location'
pkgname=qt6-location
version=6.2.2
revision=1
wrksrc="qtpositioning-everywhere-src-${version}"
build_style=cmake
configure_args="-DQT_HOST_PATH=/usr"
hostmakedepends="perl qt6-base-devel qt6-declarative-devel"
makedepends="qt6-serialport-devel qt6-declarative-devel GConf-devel"
short_desc="Cross-platform application and UI framework - location"
maintainer="John <me@johnnynator.dev>"
license="(LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only) AND GPL-3.0-only with Qt-GPL-exception-1.0"
homepage="https://qt.io/"
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtpositioning-everywhere-src-${version}.tar.xz"
checksum=26231545eae383089510b236e88bbee8a6d338c06c170b674e8f36a57a0ba09a
qt6-location-devel_package() {
depends="${sourcepkg}>=${version}_${revision} qt6-base-devel>=${version}_1"
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"
}
}