pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/ols: Added Odin language server



Module Name:	pkgsrc-wip
Committed By:	Andreas T Jonsson <mail%andreasjonsson.se@localhost>
Pushed By:	phix
Date:		Fri Sep 12 07:12:11 2025 +0200
Changeset:	54f04c9b3a84bf0ce59a00e0425cf6f7661300bc

Modified Files:
	Makefile
Added Files:
	ols/COMMIT_MSG
	ols/DESCR
	ols/Makefile
	ols/PLIST
	ols/distinfo

Log Message:
lang/ols: Added Odin language server

Added a snapshoot of the Odin language server.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=54f04c9b3a84bf0ce59a00e0425cf6f7661300bc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |  1 +
 ols/COMMIT_MSG |  4 ++++
 ols/DESCR      |  1 +
 ols/Makefile   | 29 +++++++++++++++++++++++++++++
 ols/PLIST      |  3 +++
 ols/distinfo   |  5 +++++
 6 files changed, 43 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6b298c6af9..0a0723414c 100644
--- a/Makefile
+++ b/Makefile
@@ -2712,6 +2712,7 @@ SUBDIR+=	offpunk
 SUBDIR+=	offset
 SUBDIR+=	oggfwd
 SUBDIR+=	ogmrip
+SUBDIR+=	ols
 SUBDIR+=	olsrd
 SUBDIR+=	omega
 SUBDIR+=	omnispeak
diff --git a/ols/COMMIT_MSG b/ols/COMMIT_MSG
new file mode 100644
index 0000000000..a419307165
--- /dev/null
+++ b/ols/COMMIT_MSG
@@ -0,0 +1,4 @@
+lang/ols: Add Odin language server
+
+ols is the default and defacto language server
+for the Odin programming language.
diff --git a/ols/DESCR b/ols/DESCR
new file mode 100644
index 0000000000..b8bf022d5e
--- /dev/null
+++ b/ols/DESCR
@@ -0,0 +1 @@
+Odin language server including the odinfmt tool.
diff --git a/ols/Makefile b/ols/Makefile
new file mode 100644
index 0000000000..c98bf85092
--- /dev/null
+++ b/ols/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	ols-0.0.0.2213
+CATEGORIES=	lang
+MASTER_SITES=	${MASTER_SITE_GITHUB:=DanielGavin/}
+GITHUB_TAG=	fe4c7614d0c154a980158890a404732e45f6b52a
+
+MAINTAINER=		mail%andreasjonsson.se@localhost
+HOMEPAGE=		https://github.com/DanielGavin/ols
+COMMENT=		Language server for Odin
+LICENSE=		mit
+
+WRKSRC=			${WRKDIR}/ols-${GITHUB_TAG}
+
+USE_CWRAPPERS=		no
+
+DEPENDS+=	odin-25.8.*:../../wip/odin
+
+INSTALLATION_DIRS=	bin
+
+do-build:
+	cd ${WRKSRC} && odin build src -collection:src=src -out:ols -o:speed -define:VERSION=dev-${GITHUB_TAG}
+	cd ${WRKSRC} && odin build tools/odinfmt/main.odin -file -collection:src=src -out:odinfmt -o:speed
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/ols ${DESTDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/odinfmt ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ols/PLIST b/ols/PLIST
new file mode 100644
index 0000000000..e5c6cbe4e0
--- /dev/null
+++ b/ols/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/odinfmt
+bin/ols
diff --git a/ols/distinfo b/ols/distinfo
new file mode 100644
index 0000000000..f3ecad067b
--- /dev/null
+++ b/ols/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (ols-0.0.0.2213-fe4c7614d0c154a980158890a404732e45f6b52a.tar.gz) = 439a8b72d0a7b8c9fdee7168a1ff815e9c7d1cd1a09b0c3a2e20f53453d54d2e
+SHA512 (ols-0.0.0.2213-fe4c7614d0c154a980158890a404732e45f6b52a.tar.gz) = 48d1e3efcfc022d8f4a2c035e148f38a780ac22a405560c13e110b1755307a6142edb26c9a312c30963c5aaf71e09d00f9601301373f9b66a7f8fe689648cd23
+Size (ols-0.0.0.2213-fe4c7614d0c154a980158890a404732e45f6b52a.tar.gz) = 1248776 bytes


Home | Main Index | Thread Index | Old Index