qt6-wayland: restructure private development files

This commit is contained in:
Đoàn Trần Công Danh 2024-06-25 20:49:37 +07:00
parent a66fb8ca78
commit 311d77c76f

View File

@ -1,7 +1,7 @@
# Template file for 'qt6-wayland'
pkgname=qt6-wayland
version=6.7.2
revision=1
revision=2
build_style=cmake
hostmakedepends="qt6-base perl pkg-config wayland-devel qt6-declarative-host-tools"
# XXX: Qml as optional dep
@ -48,6 +48,10 @@ qt6-wayland-private-devel_package() {
vmove "usr/lib/qt6/metatypes/*private_*_metatypes.json"
vmove "usr/lib/qt6/mkspecs/modules/*_private.pri"
vmove "usr/lib/qt6/modules/*Private.json"
# Move back to ${sourcepkg}, in order to be moved to -devel
# base development expected to have those targets
mv ${PKGDESTDIR}/usr/lib/cmake/Qt6WaylandGlobalPrivate \
${DESTDIR}/usr/lib/cmake/
}
}