-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mesonlsp #21812
Labels
Comments
# Maintainer: Wu, Zhenyu <[email protected]>
_realname=mesonlsp
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=4.3.3
pkgrel=1
pkgdesc='Meson language server (mingw-w64)'
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url=https://github.com/JCWasmx86/mesonlsp
license=(GPL-3.0-or-later)
depends=(
"${MINGW_PACKAGE_PREFIX}-curl"
git
"${MINGW_PACKAGE_PREFIX}-libarchive"
mercurial
patch
"${MINGW_PACKAGE_PREFIX}-pkgconf"
subversion
"${MINGW_PACKAGE_PREFIX}-tree-sitter"
)
makedepends=(
"${MINGW_PACKAGE_PREFIX}-gtest"
"${MINGW_PACKAGE_PREFIX}-meson"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-nlohmann-json"
"${MINGW_PACKAGE_PREFIX}-python-lsprotocol"
"${MINGW_PACKAGE_PREFIX}-python-pygls"
)
source=(
"git+$url.git#tag=v$pkgver"
"git+https://github.com/ada-url/ada#tag=v2.7.4"
"sha256::git+https://github.com/amosnier/sha-2#commit=49265c656f9b370da660531db8cc6bf0a2e110a6"
git+https://github.com/JCWasmx86/muon
git+https://github.com/JCWasmx86/tree-sitter-ini
git+https://github.com/JCWasmx86/tree-sitter-meson
)
b2sums=('eb85569f5d18256247d057e7e269258ae71d09fde64c39812cca841b848fda5250f7213804c10c9f0ea65aad834e1c1f84bee50cb98047cce2915922a71b266c'
'a1bb73cac9898267aec9b019857581f2895351f3014727a297654a3c55a32d69e480e93c53a0089f342268049e0f23e9ba6c0ae1cefa703795e2655eacc74f8a'
'e4e59dcd348ea3ec9fc6ce7f62f944b8f5b40370c5738e6453e45aa201eadb9eb0b58d9d08e7068b8b1a4a6c90e94d58fb7df81337124c8e96e6e418fce488ae'
'SKIP'
'SKIP'
'SKIP')
build() {
MSYS2_ARG_CONV_EXCL="--prefix=" \
meson setup \
--prefix="${MINGW_PREFIX}" \
--wrap-mode=nodownload \
--auto-features=enabled \
--buildtype=plain \
"build-${MSYSTEM}" \
"${_realname}"
meson compile -C "build-${MSYSTEM}"
}
check() {
meson test -C "build-${MSYSTEM}"
}
package() {
meson install -C "build-${MSYSTEM}" --destdir "${pkgdir}"
install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
}
|
add |
also |
try to add it as separate package |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Package name
mesonlsp
Brief description of package
An unofficial, unendorsed language server for meson written in C++
URL for package's homepage
https://github.com/JCWasmx86/mesonlsp
Provide a basic test case to validate the package's functionality.
mesonlsp --version
MINGW environments where you need the package
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: