public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/xmake/
Date: Tue,  9 Jan 2024 12:03:34 +0000 (UTC)	[thread overview]
Message-ID: <1704726685.e77e3095209dea601e69d9492b3f8773519a6455.davidroman@gentoo> (raw)

commit:     e77e3095209dea601e69d9492b3f8773519a6455
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Jan  8 15:11:25 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Jan  8 15:11:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e77e3095

dev-util/xmake: add 2.8.6, drop 2.7.9

Closes: https://bugs.gentoo.org/868744
Closes: https://bugs.gentoo.org/902883
Closes: https://bugs.gentoo.org/921286
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/xmake/Manifest                            |  2 +-
 .../{xmake-2.7.9.ebuild => xmake-2.8.6.ebuild}     | 30 +++++++++++++++++++---
 2 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest
index 7e2ebea81d..95ed0fd4cf 100644
--- a/dev-util/xmake/Manifest
+++ b/dev-util/xmake/Manifest
@@ -1 +1 @@
-DIST xmake-v2.7.9.tar.gz 2742959 BLAKE2B 61b905b133e687e0f03a16f67e16d973dd098c3bd8987f807e59944633228b73b43426b22b422165df4a46ad4cb031b19cd10ef5300db10f64ee806b8e324d44 SHA512 e725f4c3ffb500d63cf6baa3fde2020b7110b44dfe8e39b3964e0761c120e0738e76dafc3808d243e47f3f202a9b9acfc6ab5a2cf06998e19f38ed8a740182cf
+DIST xmake-v2.8.6.tar.gz 2792484 BLAKE2B eee06090c260576cff3fca50998f0e912a41786eb65e1a67119194e0eb20956795eeff092dfa59d92989ad9fe8fc190eb6ce2a35653c54582652a3cb2e1202bd SHA512 86808a38dc6e28a44b64f9598b26eadb8d6314dc2ff14929eb7cbcd0c01172240dd8475e1e88f874abff651436536c7391ad2294fd57b261529dd4560b8c563b

diff --git a/dev-util/xmake/xmake-2.7.9.ebuild b/dev-util/xmake/xmake-2.8.6.ebuild
similarity index 61%
rename from dev-util/xmake/xmake-2.7.9.ebuild
rename to dev-util/xmake/xmake-2.8.6.ebuild
index e02d4fa7a5..28e4782756 100644
--- a/dev-util/xmake/xmake-2.7.9.ebuild
+++ b/dev-util/xmake/xmake-2.8.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit optfeature
+inherit bash-completion-r1 optfeature
 
 DESCRIPTION="A cross-platform build utility based on Lua"
 HOMEPAGE="https://xmake.io"
@@ -17,7 +17,7 @@ else
 fi
 
 # tarball doesn't provide tests
-RESTRICT="test strip"
+RESTRICT="test"
 LICENSE="Apache-2.0"
 SLOT="0"
 
@@ -38,13 +38,35 @@ DOCS=(
 	NOTICE.md README.md README_zh.md
 )
 
-src_configure(){
+src_prepare() {
+	default
+
+	# Don't strip binaries
+	sed -i 's/"-s"/""/' configure || die
+}
+
+src_configure() {
 	econf --prefix="${EPREFIX}"/usr \
 		--plat=linux
 		# --plat=linux is necessary, which enables correct directory:
 		# build/linux/ARCH other than build/ARCH/ARCH
 }
 
+src_install() {
+	default
+
+	doman scripts/man/*
+
+	newbashcomp xmake/scripts/completions/register-completions.bash xmake
+	bashcomp_alias xmake xrepo
+
+	insinto /usr/share/zsh/site-functions
+	newins xmake/scripts/completions/register-completions.zsh xmake.zsh
+
+	insinto /usr/share/fish/vendor_completions.d
+	newins xmake/scripts/completions/register-completions.fish xmake.fish
+}
+
 pkg_postinst() {
 	optfeature "cached compilation for your xmake projects" dev-util/ccache
 }


             reply	other threads:[~2024-01-09 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-09 12:03 David Roman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-12 14:48 [gentoo-commits] repo/proj/guru:master commit in: dev-util/xmake/ Haelwenn Monnier
2024-03-12 14:48 Haelwenn Monnier
2024-01-09 15:13 David Roman
2024-01-09 12:03 David Roman
2023-04-23  8:40 Florian Schmaus
2023-04-01 21:30 Haelwenn Monnier
2023-03-24 11:43 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1704726685.e77e3095209dea601e69d9492b3f8773519a6455.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox