mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
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
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt6-remoteobjects"
|
||||
hostmakedepends+=" qt6-remoteobjects-tools"
|
||||
configure_args="-DQT_FORCE_BUILD_TOOLS=true"
|
||||
fi
|
||||
|
||||
subpackages="qt6-remoteobjects-tools qt6-remoteobjects-devel"
|
||||
|
||||
pre_check() {
|
||||
export QML2_IMPORT_PATH="$wrksrc/build/lib${XBPS_TARGET_WORDSIZE}/qt6/qml"
|
||||
}
|
||||
|
@ -29,8 +31,17 @@ post_install() {
|
|||
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() {
|
||||
depends="${sourcepkg}>=${version}_${revision}
|
||||
qt6-remoteobjects-tools>=${version}_${revision}
|
||||
qt6-declarative-devel>=${version}_1"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue