38 lines
1.2 KiB
Bash
38 lines
1.2 KiB
Bash
# Template file for 'qt6-location'
|
|
pkgname=qt6-location
|
|
version=6.5.2
|
|
revision=3
|
|
build_style=cmake
|
|
hostmakedepends="perl qt6-base qt6-declarative-host-tools"
|
|
makedepends="qt6-serialport-devel qt6-declarative-devel qt6-position-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/qtlocation-everywhere-src-${version}.tar.xz"
|
|
checksum=891d7d64c26617bf1993a6d8b3d206ec9ce5b0a5396146f691b11d895fd86dfb
|
|
|
|
pre_check() {
|
|
export QML2_IMPORT_PATH="$wrksrc/build/lib/qt6/qml"
|
|
}
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/tests
|
|
}
|
|
|
|
qt6-location-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
qt6-base-devel>=${version}_1 qt6-position-devel>=${version}_1"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt6/metatypes
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/qt6/mkspecs
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.prl"
|
|
vmove usr/lib/qt6/modules
|
|
}
|
|
}
|