32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'qt6-qt5compat'
|
|
pkgname=qt6-qt5compat
|
|
version=6.3.0
|
|
revision=2
|
|
wrksrc="qt5compat-everywhere-src-${version}"
|
|
build_style=cmake
|
|
configure_args="-DQT_HOST_PATH=/usr"
|
|
hostmakedepends="qt6-base-devel qt6-declarative-devel perl pkg-config"
|
|
makedepends="qt6-base-devel qt6-declarative-devel"
|
|
short_desc="Cross-platform application and UI framework - Qt5 Compatibilty Component"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-only with Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
|
|
homepage="https://qt.io/"
|
|
distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qt5compat-everywhere-src-${version}.tar.xz"
|
|
checksum=2b199be780c50d9214512b922d94cb240b0412fd63f459e356b76102cad1713e
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DQT_BUILD_TESTS=ON"
|
|
fi
|
|
|
|
qt6-qt5compat-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"
|
|
}
|
|
}
|