qt6-languageserver: update to 6.7.2.

This commit is contained in:
Đoàn Trần Công Danh 2024-06-23 10:44:29 +07:00 committed by Đoàn Trần Công Danh
parent fe52f411a0
commit 78b8e1b0fe
2 changed files with 24 additions and 3 deletions

View File

@ -0,0 +1 @@
qt6-languageserver

View File

@ -1,17 +1,37 @@
# Template file for 'qt6-languageserver'
pkgname=qt6-languageserver
version=6.6.0
version=6.7.2
revision=1
build_style=cmake
configure_args="-DQT_BUILD_TESTS=ON"
hostmakedepends="qt6-base"
makedepends="qt6-base-devel"
makedepends="qt6-base-private-devel"
short_desc="Implementation of the Language Server Protocol for Qt6"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-3.0-only WITH Qt-GPL-exception-1.0, LGPL-3.0-only, GPL-2.0-or-later"
homepage="https://www.qt.io"
distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtlanguageserver-everywhere-src-${version}.tar.xz"
checksum=aec93019862bf63769206fe56a2230cd9e37994806a4bf28415203b4eb9a490e
checksum=b659fe655144ffa061e3ae509eadb42ae373230517295a96935434340e101a92
subpackages="qt6-languageserver-private-devel qt6-languageserver-devel"
post_install() {
rm -rf ${DESTDIR}/usr/tests
}
qt6-languageserver-private-devel_package() {
depends="qt6-languageserver-devel>=${version}_${revision}"
short_desc+=" - private development files"
pkg_install() {
for dir in $(cd ${DESTDIR} && find usr/include -type d -name private); do
vmove "$dir"
done
vmove "usr/lib/cmake/*Private"
vmove "usr/lib/qt6/metatypes/*private_*_metatypes.json"
vmove "usr/lib/qt6/mkspecs/modules/*_private.pri"
vmove "usr/lib/qt6/modules/*Private.json"
}
}
qt6-languageserver-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"