From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-build/xmake/
Date: Tue, 9 Apr 2024 10:55:38 +0000 (UTC) [thread overview]
Message-ID: <1712660090.341e880ef1b3746350b00f2d8e61313c2ed87576.pastalian46@gentoo> (raw)
commit: 341e880ef1b3746350b00f2d8e61313c2ed87576
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 9 10:17:51 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Apr 9 10:54:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=341e880e
dev-build/xmake: add 2.8.9
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-build/xmake/Manifest | 1 +
dev-build/xmake/xmake-2.8.9.ebuild | 68 ++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
diff --git a/dev-build/xmake/Manifest b/dev-build/xmake/Manifest
index 9e8a0d40dc..b37ca63759 100644
--- a/dev-build/xmake/Manifest
+++ b/dev-build/xmake/Manifest
@@ -1 +1,2 @@
DIST xmake-v2.8.8.tar.gz 2810801 BLAKE2B 79a877ebfbd99e034a5bb5767c1522304261024d96338671215dba0fd368737eca0603051c521859276ab811465e6c54548bb02582e5aea9d7c44387846701ec SHA512 538b33cb54a7aefc52edff1cc77144ba3d3b273f11d3b8cfa1cfac744b868467ff3ad0dc3bc39046648819b73badb7e8c9eb485d98cccf81da048a74470831a0
+DIST xmake-v2.8.9.tar.gz 2814291 BLAKE2B 8a7ba74e2a8374e34f4fd4a70a1c0c5365954d5f30093d08d5054d1f4697b98049abee6b105f3830a2bbf4dfc0fc140b536d291bc71747414e37af012b5308a6 SHA512 63edfd8ef71a363f4587fa819eb538182b3770215d9b7e844c92aa2dca07f712a5c49cea1947cad84189bc5df1350a62e6c4a6b1c23e55425220857749e39f11
diff --git a/dev-build/xmake/xmake-2.8.9.ebuild b/dev-build/xmake/xmake-2.8.9.ebuild
new file mode 100644
index 0000000000..25ed5aa18d
--- /dev/null
+++ b/dev-build/xmake/xmake-2.8.9.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature shell-completion
+
+DESCRIPTION="A cross-platform build utility based on Lua"
+HOMEPAGE="https://xmake.io"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/xmake-io/${PN}.git"
+else
+ SRC_URI="https://github.com/xmake-io/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz"
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+# tarball doesn't provide tests
+RESTRICT="test"
+
+DEPEND="
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ ${DEPEND}
+ ${BDEPEND}
+"
+
+DOCS=(
+ CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md
+ NOTICE.md README.md README_zh.md
+)
+
+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
+ newzshcomp xmake/scripts/completions/register-completions.zsh _xmake
+ newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish
+}
+
+pkg_postinst() {
+ optfeature "cached compilation for your xmake projects" dev-util/ccache
+}
next reply other threads:[~2024-04-09 10:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 10:55 Takuya Wakazono [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-09 10:55 [gentoo-commits] repo/proj/guru:dev commit in: dev-build/xmake/ Takuya Wakazono
2024-06-28 4:12 Daichi Yamamoto
2024-09-14 1:42 Daichi Yamamoto
2024-10-30 9:36 Daichi Yamamoto
2024-12-20 22:33 Daichi Yamamoto
2025-02-08 23:05 Daichi Yamamoto
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=1712660090.341e880ef1b3746350b00f2d8e61313c2ed87576.pastalian46@gentoo \
--to=pastalian46@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