[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: 54d784927486472db14e2918b3ada11d55177af1 Author: Takuya Wakazono gmail com> AuthorDate: Tue Mar 12 04:23:54 2024 + Commit: Takuya Wakazono gmail com> CommitDate: Tue Mar 12 09:51:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54d78492 dev-util/xmake: drop 2.8.6 Signed-off-by: Takuya Wakazono gmail.com> dev-util/xmake/Manifest | 1 - dev-util/xmake/xmake-2.8.6.ebuild | 68 --- 2 files changed, 69 deletions(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 4b27185959..9e8a0d40dc 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1,2 +1 @@ -DIST xmake-v2.8.6.tar.gz 2792484 BLAKE2B eee06090c260576cff3fca50998f0e912a41786eb65e1a67119194e0eb20956795eeff092dfa59d92989ad9fe8fc190eb6ce2a35653c54582652a3cb2e1202bd SHA512 86808a38dc6e28a44b64f9598b26eadb8d6314dc2ff14929eb7cbcd0c01172240dd8475e1e88f874abff651436536c7391ad2294fd57b261529dd4560b8c563b DIST xmake-v2.8.8.tar.gz 2810801 BLAKE2B 79a877ebfbd99e034a5bb5767c1522304261024d96338671215dba0fd368737eca0603051c521859276ab811465e6c54548bb02582e5aea9d7c44387846701ec SHA512 538b33cb54a7aefc52edff1cc77144ba3d3b273f11d3b8cfa1cfac744b868467ff3ad0dc3bc39046648819b73badb7e8c9eb485d98cccf81da048a74470831a0 diff --git a/dev-util/xmake/xmake-2.8.6.ebuild b/dev-util/xmake/xmake-2.8.6.ebuild deleted file mode 100644 index 6c3a300383..00 --- a/dev-util/xmake/xmake-2.8.6.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# 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} == ** ]]; 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 - -# tarball doesn't provide tests -RESTRICT="test" -LICENSE="Apache-2.0" -SLOT="0" - -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 -}
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: e6cc02e64dd3f4dd9051c9e9396a6f988066ee3b Author: Takuya Wakazono gmail com> AuthorDate: Tue Mar 12 04:23:34 2024 + Commit: Takuya Wakazono gmail com> CommitDate: Tue Mar 12 09:51:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6cc02e6 dev-util/xmake: add 2.8.8 Signed-off-by: Takuya Wakazono gmail.com> dev-util/xmake/Manifest | 1 + dev-util/xmake/{xmake-.ebuild => xmake-2.8.8.ebuild} | 4 ++-- dev-util/xmake/xmake-.ebuild | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 95ed0fd4cf..4b27185959 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1,2 @@ DIST xmake-v2.8.6.tar.gz 2792484 BLAKE2B eee06090c260576cff3fca50998f0e912a41786eb65e1a67119194e0eb20956795eeff092dfa59d92989ad9fe8fc190eb6ce2a35653c54582652a3cb2e1202bd SHA512 86808a38dc6e28a44b64f9598b26eadb8d6314dc2ff14929eb7cbcd0c01172240dd8475e1e88f874abff651436536c7391ad2294fd57b261529dd4560b8c563b +DIST xmake-v2.8.8.tar.gz 2810801 BLAKE2B 79a877ebfbd99e034a5bb5767c1522304261024d96338671215dba0fd368737eca0603051c521859276ab811465e6c54548bb02582e5aea9d7c44387846701ec SHA512 538b33cb54a7aefc52edff1cc77144ba3d3b273f11d3b8cfa1cfac744b868467ff3ad0dc3bc39046648819b73badb7e8c9eb485d98cccf81da048a74470831a0 diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-2.8.8.ebuild similarity index 100% copy from dev-util/xmake/xmake-.ebuild copy to dev-util/xmake/xmake-2.8.8.ebuild index 6c3a300383..25ed5aa18d 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-2.8.8.ebuild @@ -16,10 +16,10 @@ else KEYWORDS="~amd64 ~riscv ~x86" fi -# tarball doesn't provide tests -RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" +# tarball doesn't provide tests +RESTRICT="test" DEPEND=" sys-libs/ncurses:= diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild index 6c3a300383..25ed5aa18d 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-.ebuild @@ -16,10 +16,10 @@ else KEYWORDS="~amd64 ~riscv ~x86" fi -# tarball doesn't provide tests -RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" +# tarball doesn't provide tests +RESTRICT="test" DEPEND=" sys-libs/ncurses:=
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: e617fdbd9160175afcdc333fc060c5d5aba3562c Author: Takuya Wakazono gmail com> AuthorDate: Tue Jan 9 12:24:54 2024 + Commit: Takuya Wakazono gmail com> CommitDate: Tue Jan 9 12:24:54 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e617fdbd dev-util/xmake: switch to shell-completion.eclass Signed-off-by: Takuya Wakazono gmail.com> dev-util/xmake/xmake-2.8.6.ebuild | 10 +++--- dev-util/xmake/xmake-.ebuild | 10 +++--- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/dev-util/xmake/xmake-2.8.6.ebuild b/dev-util/xmake/xmake-2.8.6.ebuild index 28e4782756..6c3a300383 100644 --- a/dev-util/xmake/xmake-2.8.6.ebuild +++ b/dev-util/xmake/xmake-2.8.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit bash-completion-r1 optfeature +inherit optfeature shell-completion DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io; @@ -59,12 +59,8 @@ src_install() { 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 + newzshcomp xmake/scripts/completions/register-completions.zsh _xmake + newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish } pkg_postinst() { diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild index 28e4782756..6c3a300383 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit bash-completion-r1 optfeature +inherit optfeature shell-completion DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io; @@ -59,12 +59,8 @@ src_install() { 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 + newzshcomp xmake/scripts/completions/register-completions.zsh _xmake + newfishcomp xmake/scripts/completions/register-completions.fish xmake.fish } pkg_postinst() {
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: e77e3095209dea601e69d9492b3f8773519a6455 Author: Takuya Wakazono gmail com> AuthorDate: Mon Jan 8 15:11:25 2024 + Commit: Takuya Wakazono gmail com> CommitDate: Mon Jan 8 15:11:25 2024 + 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 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 }
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: 470e5514e9841e359d1587a881e573b3fbaa88f3 Author: Takuya Wakazono gmail com> AuthorDate: Mon Jan 8 15:11:52 2024 + Commit: Takuya Wakazono gmail com> CommitDate: Mon Jan 8 15:11:52 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=470e5514 dev-util/xmake: sync live Signed-off-by: Takuya Wakazono gmail.com> dev-util/xmake/xmake-.ebuild | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild index e02d4fa7a5..28e4782756 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-.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 }
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: 26629321b56d240117b6e6a72a039f74c933e51d Author: Big Pineapple foxmail com> AuthorDate: Fri Jun 2 07:41:30 2023 + Commit: Zhang Zheng foxmail com> CommitDate: Fri Jun 2 07:42:27 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26629321 dev-util/xmake: add 2.7.9, drop 2.7.8 Signed-off-by: Big Pineapple foxmail.com> dev-util/xmake/Manifest | 2 +- dev-util/xmake/{xmake-2.7.8.ebuild => xmake-2.7.9.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 3a63b812b..7e2ebea81 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1 @@ -DIST xmake-v2.7.8.tar.gz 2733324 BLAKE2B 0ad75dd899e154abbda267b629d45e5e9f5a6371ea4af461551fa239da8d8a47457b1c7637c767333468bf46a5ad365f5f650ab0e77f489629fdc9ae04d0c8de SHA512 abfd9a2d4a7ed4204d57482a4f87f17b5d1215fcf6d9d73af35e8e0445d15d3369d1a4641846eb7a92c9e8f580bd4601309d950d9990ce048f136f23051ecc8c +DIST xmake-v2.7.9.tar.gz 2742959 BLAKE2B 61b905b133e687e0f03a16f67e16d973dd098c3bd8987f807e59944633228b73b43426b22b422165df4a46ad4cb031b19cd10ef5300db10f64ee806b8e324d44 SHA512 e725f4c3ffb500d63cf6baa3fde2020b7110b44dfe8e39b3964e0761c120e0738e76dafc3808d243e47f3f202a9b9acfc6ab5a2cf06998e19f38ed8a740182cf diff --git a/dev-util/xmake/xmake-2.7.8.ebuild b/dev-util/xmake/xmake-2.7.9.ebuild similarity index 100% rename from dev-util/xmake/xmake-2.7.8.ebuild rename to dev-util/xmake/xmake-2.7.9.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: 9454dfe1feb990cd71545016a7ba6d0d4c1c53e7 Author: Big Pineapple foxmail com> AuthorDate: Sat Apr 22 05:10:49 2023 + Commit: Zhang Zheng foxmail com> CommitDate: Sat Apr 22 05:10:49 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9454dfe1 dev-util/xmake: add 2.7.8, drop 2.7.7 Signed-off-by: Big Pineapple foxmail.com> dev-util/xmake/Manifest | 2 +- dev-util/xmake/{xmake-2.7.7.ebuild => xmake-2.7.8.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 0248d8c13..3a63b812b 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1 @@ -DIST xmake-v2.7.7.tar.gz 2719137 BLAKE2B c3aca5c538292d2ee002785c5a4bb82ff4ea6d67d07d00f055f35c46caeec8ecd3134e05f9bba6d4e7db5cda725b474fcf70d3b91a4be03b2859c542fa0c0f83 SHA512 449c6ce318076a9473084ae197b0d333e0b4b0f2d7bffe9e3c725ddf7aef3c7d888e9d063e033a7a7d9f690e0e49925e45bc7910f5076b790344f8bdbde0fb15 +DIST xmake-v2.7.8.tar.gz 2733324 BLAKE2B 0ad75dd899e154abbda267b629d45e5e9f5a6371ea4af461551fa239da8d8a47457b1c7637c767333468bf46a5ad365f5f650ab0e77f489629fdc9ae04d0c8de SHA512 abfd9a2d4a7ed4204d57482a4f87f17b5d1215fcf6d9d73af35e8e0445d15d3369d1a4641846eb7a92c9e8f580bd4601309d950d9990ce048f136f23051ecc8c diff --git a/dev-util/xmake/xmake-2.7.7.ebuild b/dev-util/xmake/xmake-2.7.8.ebuild similarity index 100% rename from dev-util/xmake/xmake-2.7.7.ebuild rename to dev-util/xmake/xmake-2.7.8.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: d89a8254dcf65a1b948e39ed5ee36b35db37ba48 Author: Big Pineapple foxmail com> AuthorDate: Sat Apr 1 12:17:02 2023 + Commit: Zhang Zheng foxmail com> CommitDate: Sat Apr 1 12:17:02 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d89a8254 dev-util/xmake: add 2.7.7, drop 2.7.1; fix src_configure Signed-off-by: Big Pineapple foxmail.com> dev-util/xmake/Manifest | 2 +- .../xmake/{xmake-2.7.1.ebuild => xmake-2.7.7.ebuild}| 17 ++--- dev-util/xmake/xmake-.ebuild| 17 ++--- 3 files changed, 13 insertions(+), 23 deletions(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 1aba9b603..0248d8c13 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1 @@ -DIST xmake-v2.7.1.tar.gz 4344324 BLAKE2B 6baec6724f4489f0abe25a5925f87fd952fd59645696014ffe23d33df98e838c7ef53fc948ca4d17feed6063da532fa2a59c691dd76305840f476e5e8f3407bb SHA512 499d1d4ac53b8189d8f68706b45981dd9a3c62018000291616a281b944fedb9d5802502dd9edfb7bc0ee5f0456b839f9f2605d536543994bdfb72d178024742e +DIST xmake-v2.7.7.tar.gz 2719137 BLAKE2B c3aca5c538292d2ee002785c5a4bb82ff4ea6d67d07d00f055f35c46caeec8ecd3134e05f9bba6d4e7db5cda725b474fcf70d3b91a4be03b2859c542fa0c0f83 SHA512 449c6ce318076a9473084ae197b0d333e0b4b0f2d7bffe9e3c725ddf7aef3c7d888e9d063e033a7a7d9f690e0e49925e45bc7910f5076b790344f8bdbde0fb15 diff --git a/dev-util/xmake/xmake-2.7.1.ebuild b/dev-util/xmake/xmake-2.7.7.ebuild similarity index 80% rename from dev-util/xmake/xmake-2.7.1.ebuild rename to dev-util/xmake/xmake-2.7.7.ebuild index 9ecfbcf50..e02d4fa7a 100644 --- a/dev-util/xmake/xmake-2.7.1.ebuild +++ b/dev-util/xmake/xmake-2.7.7.ebuild @@ -14,12 +14,10 @@ if [[ ${PV} == ** ]]; then else SRC_URI="https://github.com/xmake-io/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz; KEYWORDS="~amd64 ~riscv ~x86" - # extraction path may change in future - S="${WORKDIR}" fi # tarball doesn't provide tests -RESTRICT="test" +RESTRICT="test strip" LICENSE="Apache-2.0" SLOT="0" @@ -40,14 +38,11 @@ DOCS=( NOTICE.md README.md README_zh.md ) -src_compile() { - emake build -} - -src_install() { - einstalldocs - - emake PREFIX="/usr" DESTDIR="${D}" install +src_configure(){ + econf --prefix="${EPREFIX}"/usr \ + --plat=linux + # --plat=linux is necessary, which enables correct directory: + # build/linux/ARCH other than build/ARCH/ARCH } pkg_postinst() { diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild index 9ecfbcf50..e02d4fa7a 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-.ebuild @@ -14,12 +14,10 @@ if [[ ${PV} == ** ]]; then else SRC_URI="https://github.com/xmake-io/${PN}/releases/download/v${PV}/${PN}-v${PV}.tar.gz; KEYWORDS="~amd64 ~riscv ~x86" - # extraction path may change in future - S="${WORKDIR}" fi # tarball doesn't provide tests -RESTRICT="test" +RESTRICT="test strip" LICENSE="Apache-2.0" SLOT="0" @@ -40,14 +38,11 @@ DOCS=( NOTICE.md README.md README_zh.md ) -src_compile() { - emake build -} - -src_install() { - einstalldocs - - emake PREFIX="/usr" DESTDIR="${D}" install +src_configure(){ + econf --prefix="${EPREFIX}"/usr \ + --plat=linux + # --plat=linux is necessary, which enables correct directory: + # build/linux/ARCH other than build/ARCH/ARCH } pkg_postinst() {
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: e3585f51d8df9513971e77bb0422ee593826a197 Author: Big Pineapple foxmail com> AuthorDate: Thu Mar 23 15:28:52 2023 + Commit: Zhang Zheng foxmail com> CommitDate: Thu Mar 23 15:28:52 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3585f51 dev-util/xmake: revert back to 2.7.1, newer version unavailable Signed-off-by: Big Pineapple foxmail.com> dev-util/xmake/Manifest | 2 +- dev-util/xmake/{xmake-2.7.7.ebuild => xmake-2.7.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 0248d8c13..1aba9b603 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1 @@ -DIST xmake-v2.7.7.tar.gz 2719137 BLAKE2B c3aca5c538292d2ee002785c5a4bb82ff4ea6d67d07d00f055f35c46caeec8ecd3134e05f9bba6d4e7db5cda725b474fcf70d3b91a4be03b2859c542fa0c0f83 SHA512 449c6ce318076a9473084ae197b0d333e0b4b0f2d7bffe9e3c725ddf7aef3c7d888e9d063e033a7a7d9f690e0e49925e45bc7910f5076b790344f8bdbde0fb15 +DIST xmake-v2.7.1.tar.gz 4344324 BLAKE2B 6baec6724f4489f0abe25a5925f87fd952fd59645696014ffe23d33df98e838c7ef53fc948ca4d17feed6063da532fa2a59c691dd76305840f476e5e8f3407bb SHA512 499d1d4ac53b8189d8f68706b45981dd9a3c62018000291616a281b944fedb9d5802502dd9edfb7bc0ee5f0456b839f9f2605d536543994bdfb72d178024742e diff --git a/dev-util/xmake/xmake-2.7.7.ebuild b/dev-util/xmake/xmake-2.7.1.ebuild similarity index 100% rename from dev-util/xmake/xmake-2.7.7.ebuild rename to dev-util/xmake/xmake-2.7.1.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: 32d83fd13af035c73d867bed49a9ad3ad4c3f79b Author: Big Pineapple foxmail com> AuthorDate: Mon Mar 20 11:26:28 2023 + Commit: Zhang Zheng foxmail com> CommitDate: Mon Mar 20 11:26:28 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32d83fd1 dev-util/xmake: version bump to 2.7.7 Signed-off-by: Big Pineapple foxmail.com> dev-util/xmake/Manifest | 2 +- dev-util/xmake/{xmake-2.7.1.ebuild => xmake-2.7.7.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest index 1aba9b603..0248d8c13 100644 --- a/dev-util/xmake/Manifest +++ b/dev-util/xmake/Manifest @@ -1 +1 @@ -DIST xmake-v2.7.1.tar.gz 4344324 BLAKE2B 6baec6724f4489f0abe25a5925f87fd952fd59645696014ffe23d33df98e838c7ef53fc948ca4d17feed6063da532fa2a59c691dd76305840f476e5e8f3407bb SHA512 499d1d4ac53b8189d8f68706b45981dd9a3c62018000291616a281b944fedb9d5802502dd9edfb7bc0ee5f0456b839f9f2605d536543994bdfb72d178024742e +DIST xmake-v2.7.7.tar.gz 2719137 BLAKE2B c3aca5c538292d2ee002785c5a4bb82ff4ea6d67d07d00f055f35c46caeec8ecd3134e05f9bba6d4e7db5cda725b474fcf70d3b91a4be03b2859c542fa0c0f83 SHA512 449c6ce318076a9473084ae197b0d333e0b4b0f2d7bffe9e3c725ddf7aef3c7d888e9d063e033a7a7d9f690e0e49925e45bc7910f5076b790344f8bdbde0fb15 diff --git a/dev-util/xmake/xmake-2.7.1.ebuild b/dev-util/xmake/xmake-2.7.7.ebuild similarity index 100% rename from dev-util/xmake/xmake-2.7.1.ebuild rename to dev-util/xmake/xmake-2.7.7.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: 26083327e57661ebd2f86d0be84ebef143a79684 Author: YingChi Long inclyc cn> AuthorDate: Fri Aug 26 13:17:16 2022 + Commit: YingChi Long inclyc cn> CommitDate: Fri Aug 26 13:18:26 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26083327 dev-util/xmake: Address comments from @thesamesam Signed-off-by: YingChi Long inclyc.cn> dev-util/xmake/xmake-2.7.1.ebuild | 12 +++- dev-util/xmake/xmake-.ebuild | 12 +++- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/dev-util/xmake/xmake-2.7.1.ebuild b/dev-util/xmake/xmake-2.7.1.ebuild index e0ae5a983..9ecfbcf50 100644 --- a/dev-util/xmake/xmake-2.7.1.ebuild +++ b/dev-util/xmake/xmake-2.7.1.ebuild @@ -23,15 +23,17 @@ RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" -RDEPEND=" - virtual/pkgconfig -" DEPEND=" sys-libs/ncurses:= sys-libs/readline:= " - -BDEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + ${DEPEND} + ${BDEPEND} +" DOCS=( CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild index e0ae5a983..9ecfbcf50 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-.ebuild @@ -23,15 +23,17 @@ RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" -RDEPEND=" - virtual/pkgconfig -" DEPEND=" sys-libs/ncurses:= sys-libs/readline:= " - -BDEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + ${DEPEND} + ${BDEPEND} +" DOCS=( CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: e5db33a3c034773e0576283024b406c1179c599d Author: YingChi Long inclyc cn> AuthorDate: Fri Aug 26 13:04:36 2022 + Commit: YingChi Long inclyc cn> CommitDate: Fri Aug 26 13:04:59 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5db33a3 dev-util/xmake: Address comments from @thesamesam Signed-off-by: YingChi Long inclyc.cn> dev-util/xmake/xmake-2.7.1.ebuild | 16 +--- dev-util/xmake/xmake-.ebuild | 14 -- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/dev-util/xmake/xmake-2.7.1.ebuild b/dev-util/xmake/xmake-2.7.1.ebuild index d2044cf5f..e0ae5a983 100644 --- a/dev-util/xmake/xmake-2.7.1.ebuild +++ b/dev-util/xmake/xmake-2.7.1.ebuild @@ -1,11 +1,11 @@ # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit optfeature -DESCRIPTION="A cross-platform build utility based on Lua." +DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io; if [[ ${PV} == ** ]]; then @@ -23,13 +23,15 @@ RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" -DEPEND=" +RDEPEND=" virtual/pkgconfig - sys-libs/ncurses - sys-libs/readline " -RDEPEND="${DEPEND}" -BDEPEND="${DEPEND}" +DEPEND=" + sys-libs/ncurses:= + sys-libs/readline:= +" + +BDEPEND="${RDEPEND}" DOCS=( CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild index 7671f4b44..e0ae5a983 100644 --- a/dev-util/xmake/xmake-.ebuild +++ b/dev-util/xmake/xmake-.ebuild @@ -5,7 +5,7 @@ EAPI=8 inherit optfeature -DESCRIPTION="A cross-platform build utility based on Lua." +DESCRIPTION="A cross-platform build utility based on Lua" HOMEPAGE="https://xmake.io; if [[ ${PV} == ** ]]; then @@ -23,13 +23,15 @@ RESTRICT="test" LICENSE="Apache-2.0" SLOT="0" -DEPEND=" +RDEPEND=" virtual/pkgconfig - sys-libs/ncurses - sys-libs/readline " -RDEPEND="${DEPEND}" -BDEPEND="${DEPEND}" +DEPEND=" + sys-libs/ncurses:= + sys-libs/readline:= +" + +BDEPEND="${RDEPEND}" DOCS=( CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md
[gentoo-commits] repo/proj/guru:dev commit in: dev-util/xmake/
commit: a3f8536775b50db8c490d63db53e257b56165b9b Author: YingChi Long inclyc cn> AuthorDate: Fri Aug 26 12:50:17 2022 + Commit: YingChi Long inclyc cn> CommitDate: Fri Aug 26 12:52:29 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a3f85367 dev-util/xmake: new package, add 2.7.1, Signed-off-by: YingChi Long inclyc.cn> dev-util/xmake/Manifest | 1 + dev-util/xmake/metadata.xml | 18 ++ dev-util/xmake/xmake-2.7.1.ebuild | 51 +++ dev-util/xmake/xmake-.ebuild | 51 +++ 4 files changed, 121 insertions(+) diff --git a/dev-util/xmake/Manifest b/dev-util/xmake/Manifest new file mode 100644 index 0..1aba9b603 --- /dev/null +++ b/dev-util/xmake/Manifest @@ -0,0 +1 @@ +DIST xmake-v2.7.1.tar.gz 4344324 BLAKE2B 6baec6724f4489f0abe25a5925f87fd952fd59645696014ffe23d33df98e838c7ef53fc948ca4d17feed6063da532fa2a59c691dd76305840f476e5e8f3407bb SHA512 499d1d4ac53b8189d8f68706b45981dd9a3c62018000291616a281b944fedb9d5802502dd9edfb7bc0ee5f0456b839f9f2605d536543994bdfb72d178024742e diff --git a/dev-util/xmake/metadata.xml b/dev-util/xmake/metadata.xml new file mode 100644 index 0..8181c8932 --- /dev/null +++ b/dev-util/xmake/metadata.xml @@ -0,0 +1,18 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +https://github.com/xmake-io/xmake/issues +xmake-io/xmake + + +xmake is a lightweight cross-platform build utility based on Lua. It uses +xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt, +the configuration syntax is more concise and intuitive. It is very friendly +to novices and can quickly get started in a short time. Let users focus more +on actual project development. +It can compile the project directly like Make/Ninja, or generate project +files like CMake/Meson, and it also has a built-in package management system +to help users solve the integrated use of C/C++ dependent libraries. + + diff --git a/dev-util/xmake/xmake-2.7.1.ebuild b/dev-util/xmake/xmake-2.7.1.ebuild new file mode 100644 index 0..d2044cf5f --- /dev/null +++ b/dev-util/xmake/xmake-2.7.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit optfeature + +DESCRIPTION="A cross-platform build utility based on Lua." +HOMEPAGE="https://xmake.io; + +if [[ ${PV} == ** ]]; 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" + # extraction path may change in future + S="${WORKDIR}" +fi + +# tarball doesn't provide tests +RESTRICT="test" +LICENSE="Apache-2.0" +SLOT="0" + +DEPEND=" + virtual/pkgconfig + sys-libs/ncurses + sys-libs/readline +" +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +DOCS=( + CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md + NOTICE.md README.md README_zh.md +) + +src_compile() { + emake build +} + +src_install() { + einstalldocs + + emake PREFIX="/usr" DESTDIR="${D}" install +} + +pkg_postinst() { + optfeature "cached compilation for your xmake projects" dev-util/ccache +} diff --git a/dev-util/xmake/xmake-.ebuild b/dev-util/xmake/xmake-.ebuild new file mode 100644 index 0..7671f4b44 --- /dev/null +++ b/dev-util/xmake/xmake-.ebuild @@ -0,0 +1,51 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="A cross-platform build utility based on Lua." +HOMEPAGE="https://xmake.io; + +if [[ ${PV} == ** ]]; 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" + # extraction path may change in future + S="${WORKDIR}" +fi + +# tarball doesn't provide tests +RESTRICT="test" +LICENSE="Apache-2.0" +SLOT="0" + +DEPEND=" + virtual/pkgconfig + sys-libs/ncurses + sys-libs/readline +" +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +DOCS=( + CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md + NOTICE.md README.md README_zh.md +) + +src_compile() { + emake build +} + +src_install() { + einstalldocs + + emake PREFIX="/usr" DESTDIR="${D}" install +} + +pkg_postinst() { + optfeature "cached compilation for your xmake projects" dev-util/ccache +}