mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-util/ols: new package, add 2026.01, 9999
Signed-off-by: Saveliy Boyarchuk <sav.boyar@gmail.com>
This commit is contained in:
1
dev-util/ols/Manifest
Normal file
1
dev-util/ols/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ols-2026-01.tar.gz 1287243 BLAKE2B 84169a34638f2f26fb352ecbfc8703c71305abf8b454a243f35184157dae8679b4f86ba00352547a955b30e9f1d07d6be7f6c45bf342c94a1a2ddfd21340146a SHA512 3a394652fc94562a316e67c1192219d6da002c06cbb74e161ec1de27eb8de21fb5b25aba862c5276739adb43239e92733c42fd53457ef7bd0135245ee7a006bb
|
||||
23
dev-util/ols/metadata.xml
Normal file
23
dev-util/ols/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sav.boyar@gmail.com</email>
|
||||
<name>Saveliy Boyarchuk (Yappaholic)</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
OLS is a LSP(Language Server Protocol) implementation for
|
||||
Odin Programming Language.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="odinfmt">Install formatter</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">DanielGavin/ols</remote-id>
|
||||
<maintainer status="active">
|
||||
<name>DanielGavin</name>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/DanielGavin/ols/issues</bugs-to>
|
||||
<changelog>https://github.com/DanielGavin/ols/releases</changelog>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
45
dev-util/ols/ols-2026.01.ebuild
Normal file
45
dev-util/ols/ols-2026.01.ebuild
Normal 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
|
||||
}
|
||||
51
dev-util/ols/ols-9999.ebuild
Normal file
51
dev-util/ols/ols-9999.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo git-r3
|
||||
|
||||
DESCRIPTION="Language server for Odin Programming language"
|
||||
HOMEPAGE="https://github.com/DanielGavin/ols"
|
||||
|
||||
EGIT_REPO_URI="${HOMEPAGE}.git"
|
||||
|
||||
#SRC_URI="${HOMEPAGE}/archive/refs/tags/dev-2026-01.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
#S="${WORKDIR}/ols-dev-2026-01"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
#KEYWORDS="~amd64"
|
||||
IUSE="odinfmt"
|
||||
|
||||
# Needs head of odin compiler
|
||||
RDEPEND="
|
||||
~dev-lang/odin-9999
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For more info on configuration, see ${HOMEPAGE}#configuration"
|
||||
}
|
||||
Reference in New Issue
Block a user