qt6-remoteobjects: split -tools
This commit is contained in:
parent
52229c4068
commit
5f93ec43ff
2 changed files with 13 additions and 1 deletions
1
srcpkgs/qt6-remoteobjects-tools
Symbolic link
1
srcpkgs/qt6-remoteobjects-tools
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
qt6-remoteobjects
|
|
@ -17,10 +17,12 @@ distfiles="http://download.qt.io/official_releases/qt/${version%.*}/${version}/s
|
||||||
checksum=7ef2870f05614b71d1cfdd7ac12acef5294abc43da244a6e9e411f21208f59f8
|
checksum=7ef2870f05614b71d1cfdd7ac12acef5294abc43da244a6e9e411f21208f59f8
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt6-remoteobjects"
|
hostmakedepends+=" qt6-remoteobjects-tools"
|
||||||
configure_args="-DQT_FORCE_BUILD_TOOLS=true"
|
configure_args="-DQT_FORCE_BUILD_TOOLS=true"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
subpackages="qt6-remoteobjects-tools qt6-remoteobjects-devel"
|
||||||
|
|
||||||
pre_check() {
|
pre_check() {
|
||||||
export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
|
export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
|
||||||
}
|
}
|
||||||
|
@ -29,8 +31,17 @@ post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/tests
|
rm -rf ${DESTDIR}/usr/tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
qt6-remoteobjects-tools_package() {
|
||||||
|
short_desc+=" - tools"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/qt6/libexec
|
||||||
|
vmove usr/lib/cmake/Qt6RemoteObjectsTools
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
qt6-remoteobjects-devel_package() {
|
qt6-remoteobjects-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}
|
depends="${sourcepkg}>=${version}_${revision}
|
||||||
|
qt6-remoteobjects-tools>=${version}_${revision}
|
||||||
qt6-declarative-devel>=${version}_1"
|
qt6-declarative-devel>=${version}_1"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue