dev-util/ols - 2026.05 (guru)

Search

Install

Install this version:

emerge -a =dev-util/ols-2026.05

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/ols-2026.05

Or alternatively:

emerge --autounmask-write -a =dev-util/ols-2026.05

Package Information

Description:
Language server for Odin Programming language
Homepage:
https://github.com/DanielGavin/ols
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2026.05 8 ~amd64 0
View Raw Ebuild
# 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}
"

BDEPEND="${RDEPEND}"

# Replace version string for static ebuild
src_prepare() {
	default_src_prepare
	sed -i "s/\(VERSION=\).*/\1dev-${MY_PV}/" "${S}/build.sh" || die
}
# 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/ols | euse -E <flag> -p dev-util/ols | euse -D <flag> -p dev-util/ols

Global/Standard Flags

Inherited Eclasses

edo

Dependencies

RDEPEND

	~dev-lang/odin-2026.05

BDEPEND

	~dev-lang/odin-2026.05

Manifest for 2026.05

Type File Size Source URLs
DIST ols-2026-05.tar.gz 1305906 bytes https://github.com/DanielGavin/ols/archive/refs/tags/dev-2026-05.tar.gz