diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-22 03:03:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-22 03:03:01 +0000 |
commit | c7a7ec40cf928d8fc6a8241aa208272c008c7b4d (patch) | |
tree | 72e31c496e32182b70cfe385fbf03517b43bdddb /sys-fs | |
parent | 9db1279f804d62da2c61cfb39fc2e62b9faf56dd (diff) |
gentoo auto-resync : 22:11:2024 - 03:03:01
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/Manifest.gz | bin | 22252 -> 22249 bytes | |||
-rw-r--r-- | sys-fs/ncdu-bin/Manifest | 9 | ||||
-rw-r--r-- | sys-fs/ncdu-bin/ncdu-bin-2.7.ebuild | 36 | ||||
-rw-r--r-- | sys-fs/ncdu/Manifest | 6 | ||||
-rw-r--r-- | sys-fs/ncdu/ncdu-1.21.ebuild | 26 | ||||
-rw-r--r-- | sys-fs/ncdu/ncdu-2.7.ebuild | 132 |
6 files changed, 209 insertions, 0 deletions
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz Binary files differindex 2d28e615e586..92a982f7279d 100644 --- a/sys-fs/Manifest.gz +++ b/sys-fs/Manifest.gz diff --git a/sys-fs/ncdu-bin/Manifest b/sys-fs/ncdu-bin/Manifest index ae9efabc9e51..10ce2e1bd1ac 100644 --- a/sys-fs/ncdu-bin/Manifest +++ b/sys-fs/ncdu-bin/Manifest @@ -14,6 +14,15 @@ DIST ncdu-2.6-linux-x86.tar.gz 363591 BLAKE2B fe2aa16b151c9a61a000f8fa860410bc91 DIST ncdu-2.6-linux-x86.tar.gz.asc 833 BLAKE2B 4391519e861694752c0fc3d72fb3ca5f19f45663cc0061d72924be4e145f024385fcfa24627458a175eaf45067bb43a2ee9c46a3e99de1b69f24a63bfafa6d7f SHA512 b6ff15431462f89ba03cc6bc1c21178956a48ac2535b1fa62f6edf4244c5b704ecf1e80735747a19a72ba3dc6e21f583eb15715959e16221feb6633926763aad DIST ncdu-2.6-linux-x86_64.tar.gz 348874 BLAKE2B 0cbbf2f4ce109e0f0c7aeddec044de86854facdc94153e04e11519d4c5d4d6af534678dea8ab1b343abc0cd681f5e29e9a9c3b04c104ef3405c7fcae8fba5556 SHA512 fd7a284165ffc19c7a3fabcad28ab17b30ed4d3117d045ca34fa144432d6a8fb051ebc9e4647a3ba8b1e3979864bd49924d0f3d9e9546b7bc19d99b8ba560ca9 DIST ncdu-2.6-linux-x86_64.tar.gz.asc 833 BLAKE2B d05e8c3a277c6c7e9d6a23db47b333cc712d8a2d33c31864d669d6993b55e9cf1b314539bf3a3f4d523346b919c4cb5678ab26170ad4d7b6a2ed8ba14f73eb94 SHA512 d51c5cf8716cc3ceb4922625bca98308772f63cde88ce24a12e9f3ab0e631edf9452c64019b42d9de164f796401b7cc3a91a20683f484df5f00a13652fb6b30d +DIST ncdu-2.7-linux-aarch64.tar.gz 369940 BLAKE2B a168fa3def0d5ae1d6d293ff53544b4b34b20361d7efdc415c8d0e85fbd04a49e767f64e840ee86a8f928a80b4702532af19e12227ae1edcf235cc25e43e3eae SHA512 75c1aae70ed16f5bcc4bebfc286a4dd9bf54ee8bf35f0ac33150a0f0c6f756e0b0779206e89afe322b65ad4873f5753cdff235eb980728602affbe6832f1cc9e +DIST ncdu-2.7-linux-aarch64.tar.gz.asc 833 BLAKE2B 6d42854f51abc9321d3759c493c8699de5447a8c53f8f763a47888b721e726eb989a1ddfcd03d25638427d3e828dcdfb0a86b3590991d7f933eedc4710b58410 SHA512 90934a823fcba110406e901c3dd58d6ed1ff0a29b30176a69572408a0fa85cc3de6d639ebd1343cb9d08cf69cf8664acd86535d293dc3b5cbd02d1a503ee85ca +DIST ncdu-2.7-linux-arm.tar.gz 370247 BLAKE2B 1d22a34287acc5059f627c418d0d441e36f6a8c1714317e9f0c83bc903e15e7e478e0139f32de0d91dabe2d2ae62ce60d25d73c0eca8239cf4979614a41759bb SHA512 74a7c4a3e689d7630038a5fd63b92ce5a03e3030e13eca40091e4f5251915e261ceefb9772b86145a22a4ae80c74c6e754766d196d4bf34512f65403118b736a +DIST ncdu-2.7-linux-arm.tar.gz.asc 833 BLAKE2B 50d51271ad6ab979f3fb2105582ea4487428a6d7dc81e5248d004a6eb5edb5c8ec285b4f1b4cc39ecead33cf0d7304570f92433ad64643e8fa6707161eb35e2c SHA512 67b8ba8ce641319521ea58d053278d30098c8b4b42673ab580a69e68496993c423e8863682e8cc90247e52edb4fb408525ac98cdb0057cecf31eadf3038216b8 +DIST ncdu-2.7-linux-x86.tar.gz 368703 BLAKE2B 37a67dcbff73e5dc759a83a08c302394b1fddfc9dafd8208d28a14e64e5bfc17cac030444820f0e4c7c76c9d78a530f557e720289bb30d934f08209bdbec02d1 SHA512 6ecebb5126b430aa8396c1aa15fd1c28ad68f086b292daaf871106504921d4863a843b239a8488780251dcc67d5fdefc795b38361300dc44e6c555f8f58c27fd +DIST ncdu-2.7-linux-x86.tar.gz.asc 833 BLAKE2B 553d894b448371bd5c25cac08bfeca89a30ad42818d2f6100621a4bf885f6c02f2b525a070cb6c0e8f7a0e20215eabf1cf63e2ac928475e62ae08f6d1945bd27 SHA512 e5ea949b8a9e5b3e77b999562d1bd476838d85c90f8e9c07f135cc4bf4629cb6a16c067ecc23a445e9e99048b3d66bdd2dcd1677ad53cdc56b68fbdc978575ec +DIST ncdu-2.7-linux-x86_64.tar.gz 353982 BLAKE2B 3f0388581201c6a810469b4cca0367c9ced1993ae37c291993cf68a3e17194ddd5e951312d7cad0b8fcdc11c9a5a7676839dcefe62d0f04684d56491f0d627cf SHA512 1e19ddc4fea35cbdb235e060cbccc10af90dd107443dd93f67a614f3579d6f48aabce601c65d02a01dc272c8a7ab2fcbd889b2a3490bf791702c0e222b83b025 +DIST ncdu-2.7-linux-x86_64.tar.gz.asc 833 BLAKE2B f9faa21167819133b017e5aaf459eb15dd540056eb8a708cb360934df4d41e6025e41a4db3558f359c781e9a6e9432b9970b501202ac81a5510dbe07cb8e9ce6 SHA512 edf98958de23e7caf0a41b0a895711ebf0fb1cd2cf65dbd30bbc23d0852fcd92a57538252da0e69b827acb94a04d561cab71993a15e461870af80691295a70e0 EBUILD ncdu-bin-2.5.ebuild 1103 BLAKE2B 1066d04d40e1a3e528f78120c43486a97a3e6b5cb4d85cbd059af5f8a37b06ac48a01dfa98394c335681383b4c0f9df9e783e610b322470e5acfcfb51791d56f SHA512 7db69b449aae19cc541201ef5930a54bd728eeef0eab71fc1391812cf0a7deca71364921abf3a699b451abb62c5e9df3771a47d369a447d6dc41b9d3ddbc28c9 EBUILD ncdu-bin-2.6.ebuild 1103 BLAKE2B 1066d04d40e1a3e528f78120c43486a97a3e6b5cb4d85cbd059af5f8a37b06ac48a01dfa98394c335681383b4c0f9df9e783e610b322470e5acfcfb51791d56f SHA512 7db69b449aae19cc541201ef5930a54bd728eeef0eab71fc1391812cf0a7deca71364921abf3a699b451abb62c5e9df3771a47d369a447d6dc41b9d3ddbc28c9 +EBUILD ncdu-bin-2.7.ebuild 1103 BLAKE2B 1066d04d40e1a3e528f78120c43486a97a3e6b5cb4d85cbd059af5f8a37b06ac48a01dfa98394c335681383b4c0f9df9e783e610b322470e5acfcfb51791d56f SHA512 7db69b449aae19cc541201ef5930a54bd728eeef0eab71fc1391812cf0a7deca71364921abf3a699b451abb62c5e9df3771a47d369a447d6dc41b9d3ddbc28c9 MISC metadata.xml 862 BLAKE2B aecbc2cfec9351b2be9087d297016826f9bea5f81ea690e480cbe0dce5c627f554875fb9db5b19f21373391ef4fb28c7cea3129d911e80b7be007a9a0a79ac0a SHA512 2c722040961b930791780f704edddd4cdf010df05e462a0d333f2fbf4966c0ecac08eef3b1e05baf34013c95a91cc79dc38ef5616e07ffcb4e386b8760f89683 diff --git a/sys-fs/ncdu-bin/ncdu-bin-2.7.ebuild b/sys-fs/ncdu-bin/ncdu-bin-2.7.ebuild new file mode 100644 index 000000000000..76fc2f6bba95 --- /dev/null +++ b/sys-fs/ncdu-bin/ncdu-bin-2.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit verify-sig + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu" +SRC_URI=" + amd64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86_64.tar.gz ) + arm? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-arm.tar.gz ) + arm64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-aarch64.tar.gz ) + x86? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86.tar.gz ) + verify-sig? ( + amd64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86_64.tar.gz.asc ) + arm? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-arm.tar.gz.asc ) + arm64? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-aarch64.tar.gz.asc ) + x86? ( https://dev.yorhel.nl/download/ncdu-${PV}-linux-x86.tar.gz.asc ) + ) +" +S="${WORKDIR}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-yorhel )" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc + +QA_PREBUILT="usr/bin/ncdu-bin" + +src_install() { + newbin ncdu ncdu-bin +} diff --git a/sys-fs/ncdu/Manifest b/sys-fs/ncdu/Manifest index 902484d5e272..0af6d7e30d61 100644 --- a/sys-fs/ncdu/Manifest +++ b/sys-fs/ncdu/Manifest @@ -1,10 +1,16 @@ DIST ncdu-1.20.tar.gz 150835 BLAKE2B 0bb6576ecbb3df281c67a48409db2118521760f378defd9c082f732519c9828451b77897ca49e777674ae73a5aac0fd975b94d5a95b1689cd552b5840ac3b5de SHA512 af9a45cc27bb3cdee7fd65236b9b48cb604f9e54208a762ed7b3b18333e07e87a8ae5a4cd0071496e7e382c60a7760734cad1f68fb69423a79fa3f050d2c09bb DIST ncdu-1.20.tar.gz.asc 833 BLAKE2B 487e3b4b1e83a2211e91307ff1ca1778059cc3f923e04b57bc5d4780d0108589a062861a25bafa58c357ad4495edce814a58eeb24087e06b958d8e23a02bbf22 SHA512 168bcc4255bbb7a576af39422797804726f84134dc342f59abfc825f93c5ee4e9fcaa9e0c18626ee87b96b2d19a7c57beaa8e1b3dc57eff2bd659add18027140 +DIST ncdu-1.21.tar.gz 152622 BLAKE2B e16d79a96533ecc8c5bbcbb32cc6080d61e859a9cf8e0cdf5abed28a9f848a347151fb6ec7c28aff3f3fd0420233883f5fd5c72981322227e22da4b01eebb7b7 SHA512 10ffb2fdacf465a410e8733acc3f2f7f6304998e8e6cb9b4c42b5c6aa6e588ef7d262b72d5d83d8bbc80964fa9850b4b4a9bc9c58224fb41598eeae399771674 +DIST ncdu-1.21.tar.gz.asc 833 BLAKE2B 12751c09235d6c91087141b249c76323627c75adb7d40e7ad0a839a4e25d738567a50f95906e95e1d6e3c820295b124ec1f01714b7718ff4adf5ee2a6d5d2570 SHA512 5051b67bed35ebc84302f121851ecaa17b146a5dccbc96f49966a39fd404d777450bf85a653be47ab01d8e675d3a821fbd9c8f25bb934abf481faa57cc8b1873 DIST ncdu-2.5.tar.gz 56019 BLAKE2B c10fb19f87c3d26334038ee96d857e547f9f6881518a675d9777a6c46cf456748861d84df190c14d6d2582f5ad3998ecdf9d00f0969c996221c0d1d9787570a3 SHA512 f4d499a3ab98a56667c75554c77951e4a42f5acdc1353875c108b0da469665777564405b8fcea5a731de473afacfda9f2c8701ba0ba989de1260119c64d7a9f8 DIST ncdu-2.5.tar.gz.asc 833 BLAKE2B 86babaf8720898a5bd83a2cc290deb2f0a8041087b9f0afddd2306766b82877bbf51f45ac3622761f231359b2e5f60b8d6c5479963aaf7a6abdf67d24fb18496 SHA512 a28751371f7e7a033379fb5f5dc885c69e716f8b6654b8ee9e5eb023a22b67ca99e3ee813ddc2e335d6e8db9bd5a9a19359910a1b8aad13132f7a8bed1d67d78 DIST ncdu-2.6.tar.gz 72088 BLAKE2B 21d45bb428a56a040083165b9d467a526cd83eaa05b6f88b90a0b5dac0fa70dc4fd7e37ff52debc619b06103a95dad8ddc26fc9e77b6118eeb39aa97bfa0fd0e SHA512 e94612a56db3831d993d6ffd8c69a4cc2418ebf4b9a810e28444c103225ccc1f53ae31e448b94d40ccf2ab7d3a0af6e8ee02bc700123aca872b3bb35108e3d14 DIST ncdu-2.6.tar.gz.asc 833 BLAKE2B 110bbb6e2db221316004d4491f174c40cdf8fca44e91290f7ea87fc6788de20c3fd6d90bd4b55e4e720736514509af87bcc5b6533b37a2889e20c023939776e6 SHA512 478afe4a51244bc11dfbea2c12fb217392186c1efe1403b44309e0f0e3d431393173282ebae32ceeca32f4ec3a93f35ca19ac962728cd3d7f06f26bccd56169b +DIST ncdu-2.7.tar.gz 71122 BLAKE2B 10363968820da2dd3cb17c73eb3cba877ca229b896f44bbdd2b8b04c9e3d13aec8476c1968fc5c1841c856e51a1cba64f840e3320e5655bb2eb2bf7258a88f0e SHA512 58d29583f09f6707b2a903fa37b0f263969b32a289e1f8f442044edb1a61351c7ac841dccebf92af227b35a9e6a90fa298a84dad607ad084f2a5883196935229 +DIST ncdu-2.7.tar.gz.asc 833 BLAKE2B d0dbf91b359bdfaca412601933e0da51cff8d7105df2e0d8767a0231c1fe3f7b4dfb0174b9744a68da1b3726884c77a13a162a21a4006b1d7de8c0917b133b66 SHA512 9f1c8a4b6b316d55a143805da159f22a4facf147ecf805130bcbdf68c83a5b8b0586b231780e7eedd16b3b5587332a06a81c95bb0d47cdd73c44ec3fe867ced8 EBUILD ncdu-1.20.ebuild 659 BLAKE2B 54817c34a87475b07af98fb846b7774b36f71384d33ff5eb31b87813dac43f6de72d84333b6a9ed172ab13a521ec9134bbd7c6e8d2269fee9c5e546a0eb20db1 SHA512 4cf3010ebd4db6ec1b79da28745c39093c8d76955fc6760fa9392f86ecb71bde0132abc7520f8a9f3f849d5feded9758e6ddb5fa525815f4546f179c6877b306 +EBUILD ncdu-1.21.ebuild 701 BLAKE2B 3c5f5e60baade3cb74b41d72f20eff98d40bd759f5b24b7ea94a38407cdc97fc60a3383560fa6251a503b2d42a7a845e2f93f80de0c0f5da37bb34adf1a5f031 SHA512 d4c481981f990c3df3bc29e5e99344f053cafef08de5ae510de58da9cb973ee73fb47df3cbc39b6d4982d348a3c2abdec22dbb0256edb0a9d0076407d6022c74 EBUILD ncdu-2.5-r1.ebuild 2980 BLAKE2B be80dae11d1e919b970c52bd1a8ad9705995831973e6dc4370b4434ad62c6203d49b48191d40a6ff1b2fb4c4be44d61cafbaec9c231d023d895647271c2ac217 SHA512 b77bfc1bd658e39edc1f10a99726f5fdd23d4f7e2855f1e9319c534d53a830873ff9eb547470e853478e89ed57cf73771b53815779e8a054246f1c1bd03f5acc EBUILD ncdu-2.6.ebuild 2998 BLAKE2B ebbdf6710ad8ebb1a429bc42813018b6cb57203ba482cb815f0f0dd91eb57982810c5646b968ff99b77652ed069721bc2739afc7995b2ac57134b94e7abf1991 SHA512 1623ffb8aeeb5190394d2fa17d22a37ac134a458ac571f5b2db5c28a39eb7950ec85c7415698e95a18f88be7f66e3123582becac249488cdd5b9035e0ab3f357 +EBUILD ncdu-2.7.ebuild 3054 BLAKE2B 539347d5a98a0ed01b0678dfac4d71bb90057955c9a2756bbfe548fe6c76f15089d95a2c2c82ae16ced76f21b7b04984d83f2df82bc2ab839e3da171c778ff38 SHA512 a92bd4fdfc2599f78be3fa34c59384bfe63ae8f2c32e47ba8478c1cebecaba46ac82eee6dbcf4cdc25e93f17a0bb893d451882f9b8da10cd5011ae464ab1de04 MISC metadata.xml 862 BLAKE2B aecbc2cfec9351b2be9087d297016826f9bea5f81ea690e480cbe0dce5c627f554875fb9db5b19f21373391ef4fb28c7cea3129d911e80b7be007a9a0a79ac0a SHA512 2c722040961b930791780f704edddd4cdf010df05e462a0d333f2fbf4966c0ecac08eef3b1e05baf34013c95a91cc79dc38ef5616e07ffcb4e386b8760f89683 diff --git a/sys-fs/ncdu/ncdu-1.21.ebuild b/sys-fs/ncdu/ncdu-1.21.ebuild new file mode 100644 index 000000000000..3e128d3937e4 --- /dev/null +++ b/sys-fs/ncdu/ncdu-1.21.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit verify-sig + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu https://code.blicky.net/yorhel/ncdu" +SRC_URI=" + https://dev.yorhel.nl/download/${P}.tar.gz + verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +DEPEND="sys-libs/ncurses:=[unicode(+)]" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-yorhel ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc diff --git a/sys-fs/ncdu/ncdu-2.7.ebuild b/sys-fs/ncdu/ncdu-2.7.ebuild new file mode 100644 index 000000000000..82b789c71db2 --- /dev/null +++ b/sys-fs/ncdu/ncdu-2.7.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit verify-sig edo + +DESCRIPTION="NCurses Disk Usage" +HOMEPAGE="https://dev.yorhel.nl/ncdu https://code.blicky.net/yorhel/ncdu" +SRC_URI=" + https://dev.yorhel.nl/download/${P}.tar.gz + verify-sig? ( https://dev.yorhel.nl/download/${P}.tar.gz.asc ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +EZIG_MIN="0.13" +EZIG_MAX_EXCLUSIVE="0.14" + +DEPEND=" + app-arch/zstd + sys-libs/ncurses:=[unicode(+)] +" +RDEPEND="${DEPEND}" +BDEPEND=" + || ( dev-lang/zig:${EZIG_MIN} dev-lang/zig-bin:${EZIG_MIN} ) + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-yorhel ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/yoranheling.asc + +# see https://github.com/ziglang/zig/issues/3382 +# For now, Zig doesn't support CFLAGS/LDFLAGS/etc. +QA_FLAGS_IGNORED="usr/bin/ncdu" + +DOCS=( "README.md" "ChangeLog" ) + +# Many thanks to Florian Schmaus (Flowdalic)! +# Adapted from https://github.com/gentoo/gentoo/pull/28986 +# Set the EZIG environment variable. +zig-set_EZIG() { + [[ -n ${EZIG} ]] && return + + if [[ -n ${EZIG_OVERWRITE} ]]; then + export EZIG="${EZIG_OVERWRITE}" + return + fi + + local candidate selected selected_ver ver + + for candidate in "${BROOT}"/usr/bin/zig-*; do + if [[ ! -L ${candidate} || ${candidate} != */zig?(-bin)-+([0-9.]) ]]; then + continue + fi + + ver=${candidate##*-} + + if [[ -n ${EZIG_EXACT_VER} ]]; then + ver_test "${ver}" -ne "${EZIG_EXACT_VER}" && continue + + selected="${candidate}" + selected_ver="${ver}" + break + fi + + if [[ -n ${EZIG_MIN} ]] \ + && ver_test "${ver}" -lt "${EZIG_MIN}"; then + # Candidate does not satisfy EZIG_MIN condition. + continue + fi + + if [[ -n ${EZIG_MAX_EXCLUSIVE} ]] \ + && ver_test "${ver}" -ge "${EZIG_MAX_EXCLUSIVE}"; then + # Candidate does not satisfy EZIG_MAX_EXCLUSIVE condition. + continue + fi + + if [[ -n ${selected_ver} ]] \ + && ver_test "${selected_ver}" -gt "${ver}"; then + # Candidate is older than the currently selected candidate. + continue + fi + + selected="${candidate}" + selected_ver="${ver}" + done + + if [[ -z ${selected} ]]; then + die "Could not find (suitable) zig installation in ${BROOT}/usr/bin" + fi + + export EZIG="${selected}" + export EZIG_VER="${selected_ver}" +} + +# Invoke zig with the optionally provided arguments. +ezig() { + zig-set_EZIG + + # Unfortunately, we cannot add more args here, since syntax is different + # for every subcommands. Yes, even target/cpu :( f.i. : + # -target/-mcpu for zig build-exe vs -Dtarget/-Dcpu for zig build- + # -OReleaseSafe for zig build-exe vs -DReleaseSafe for zig build + # (or even none, if hardcoded by upstream so choice is -Drelease=true/false) + # Ofc we can patch this, but still... + + edo "${EZIG}" "${@}" +} + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${P}.tar.gz{,.asc} + fi + default +} + +src_configure() { + zig-set_EZIG + export ZIG=${EZIG} +} + +src_test() { + ezig build test --release=fast -Dstrip +} + +src_install() { + emake PREFIX="${ED}"/usr install + einstalldocs +} |