commit:     33eb55c86bb93bebc9bec123f3e47671142033cf
Author:     Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me>
AuthorDate: Sun Feb  5 11:56:01 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 11:56:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33eb55c8

dev-zig/zls: update to latest master Zig

Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me>

 dev-zig/zls/zls-9999.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-zig/zls/zls-9999.ebuild b/dev-zig/zls/zls-9999.ebuild
index bbb09a80b..b61f8139d 100644
--- a/dev-zig/zls/zls-9999.ebuild
+++ b/dev-zig/zls/zls-9999.ebuild
@@ -8,7 +8,7 @@ inherit git-r3
 EGIT_REPO_URI="https://github.com/zigtools/zls";
 
 HOMEPAGE="https://github.com/zigtools/zls";
-DESCRIPTION="Zig LSP implementation + Zig Language Server"
+DESCRIPTION="The officially unofficial Ziglang language server"
 
 LICENSE="MIT"
 SLOT="0"
@@ -17,23 +17,22 @@ DEPEND="~dev-lang/zig-9999"
 RDEPEND="${DEPEND}"
 
 # see https://github.com/ziglang/zig/issues/3382
-# For now, Zig doesn't support CFLAGS/LDFLAGS/etc.
+# For now, Zig Build System doesn't support CFLAGS/LDFLAGS/etc.
 QA_FLAGS_IGNORED="usr/bin/zls"
 
 src_compile() {
-       zig build -Drelease-safe -Ddata_version=master --verbose || die
+       zig build -Doptimize=ReleaseSafe -Ddata_version=master --verbose || die
 }
 
 src_test() {
-       zig build test -Drelease-safe -Ddata_version=master --verbose || die
+       zig build test -Doptimize=ReleaseSafe -Ddata_version=master --verbose 
|| die
 }
 
 src_install() {
-       DESTDIR="${ED}" zig build install --prefix /usr -Drelease-safe 
-Ddata_version=master --verbose || die
+       DESTDIR="${ED}" zig build install --prefix /usr -Doptimize=ReleaseSafe 
-Ddata_version=master --verbose || die
        dodoc README.md
 }
 
 pkg_postinst() {
-       elog "For creating or updating config run this command: zls --config"
        elog "You can find more information about options here 
https://github.com/zigtools/zls#configuration-options";
 }

Reply via email to