dev-util/qml-lsp: add 0.2.0_p20220610
continuous-integration/drone/push Build is passing Details

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2022-08-29 23:27:29 +02:00
parent a3cb1572c3
commit 97c518cf32
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 52 additions and 0 deletions

View File

@ -1,2 +1,4 @@
DIST qml-lsp-0.2.0-vendor.tar.xz 205764 BLAKE2B 92d57e5076ce7c47297baee1c5f011ac09ae5f142f3b39ed6875de5ed85de223caa9fa7c601b2be310225c5f1b157d78362b7011db373aa761ceac32b8437b6a SHA512 18d7c7b6f6570005ae2cbda0330d3d00786e149b2a2c2721fe5221d82089bf09b20e60de2e27a98bf89c45610eef706fab28b688b86cd007f6accab48de26685
DIST qml-lsp-0.2.0_p20220610-vendor.tar.xz 584344 BLAKE2B 64a1c95adbe89850ce868ab2848a31c0b888d95898d4214b764076224bdb94f5a037071225666b5fc3f29b50765d2b7b56cb4bfde56986c970ca010b8110d16b SHA512 74ee668625fd3d8f9773a04bf76992b26a417ad33d6dbc897cc2d3cca2f8b6da5e915d00260e026bc97add43753fcaaf8f3af2057454a73c88a65345e42b9cbc
DIST qml-lsp-19c7deccfc2d4f4ea0d6d7e94dc75088d2612727.tar.bz2 165457 BLAKE2B 9a344b44183a70a034b7b20b0e09a2e384053b14f14c0b6a9f58b71b063c8ce02309b8828cc2750c35bdd15e92c57bcb52aca0348c9113b77d94a005d525150e SHA512 eb4329deb12deaad34f666a20c8c7c6bf777a43bf79bcd5e1df6f0bf005de3b3704c7da072820f884499959272b300f0a9ec0e10893544508eee525aa6c1e54a
DIST qml-lsp-rjienrlwey-number-two.tar.bz2 95357 BLAKE2B a6262a7133d43e72970eb167facaccfae615c1ba25aa6750a2b16cafcaca8c4b94826c4c2b5859b048d20ae7295255b74fa2b080a6787e4b23095f4fb217720f SHA512 5ed79f2d8debe058bb7ad1d1453d4fb768869ed93d8a1bfef072afe397ee86f8c13f99491ef8ae5c65f8aca6fa39c1135919d3f485b8ef67e10315319231ea71

View File

@ -0,0 +1,50 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
MY_COMMIT="19c7deccfc2d4f4ea0d6d7e94dc75088d2612727"
DESCRIPTION="Collection of QML tools, including qml-lsp, qml-dap, and qml-refactor-fairy"
HOMEPAGE="https://invent.kde.org/sdk/qml-lsp"
SRC_URI="
https://invent.kde.org/sdk/${PN}/-/archive/${MY_COMMIT}/${PN}-${MY_COMMIT}.tar.bz2
https://tastytea.de/files/gentoo/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
# NOTE: Generate vendor tarball like this:
# go mod vendor && cd ..
# tar -caf ${P}-vendor.tar.xz qml-lsp-rjienrlwey-*/vendor
LICENSE="Apache-2.0 GPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/tree-sitter"
RDEPEND="
${DEPEND}
dev-qt/qtcore
"
BDEPEND=""
PATCHES=( "${FILESDIR}"/${PN}-0.2.0-find-qmake5.patch )
src_compile() {
# TODO: get qml-{dap,dbg} to compile
for cmd in ./cmd/qml-{doxygen,lint,lsp,refactor-fairy}; do
ego build -ldflags '-linkmode external' ${cmd}
done
}
src_test() {
# NOTE: check for more tests on next release
ego test ./qmltypes ./analysis
}
src_install() {
dobin qml-{doxygen,lint,lsp,refactor-fairy}
einstalldocs
}