dev-util/ols: new package, add 2026.01, 9999

Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
Saveliy Boyarchuk
2026-02-07 16:47:25 +03:00
parent 8936b45837
commit 5f3f724e67
4 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo
DESCRIPTION="Language server for Odin Programming language"
HOMEPAGE="https://github.com/DanielGavin/ols"
MY_PV="${PV/./-}"
SRC_URI="https://github.com/DanielGavin/ols/archive/refs/tags/dev-${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz"
S="${WORKDIR}/ols-dev-${MY_PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="odinfmt"
# Tracks the same version of Odin compiler
RDEPEND="
~dev-lang/odin-${PV}
"
DEPEND="${RDEPEND}"
# No need to configure
src_configure() {
default
}
src_compile() {
edo "${S}/build.sh"
if use odinfmt; then
edo "${S}/odinfmt.sh"
fi
}
src_install() {
dobin "${S}/ols"
if use odinfmt; then
dobin "${S}/odinfmt"
fi
}