33 lines
983 B
Bash
33 lines
983 B
Bash
# Template file for 'qt6-networkauth'
|
|
pkgname=qt6-networkauth
|
|
version=6.6.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="perl qt6-base"
|
|
makedepends="qt6-base-devel qt6-plugin-networkinformation"
|
|
short_desc="Cross-platform application and UI framework - networkauth"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://qt.io/"
|
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtnetworkauth-everywhere-src-${version}.tar.xz"
|
|
checksum=20d5c0746c00eb3333f17c9869296d0acd0eed93518ea2734b98405cc6cc8830
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args="-DQT_BUILD_TESTS=ON"
|
|
fi
|
|
|
|
qt6-networkauth-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
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
|
|
}
|
|
}
|