diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-15 03:04:45 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-15 03:04:45 -0500 |
| commit | 2c34c3402bb20be0fbb58513da479b431ecc7320 (patch) | |
| tree | 53a49676a7aa41b31db56731ff381a8dcce4d2de /net-libs | |
| parent | 22ab5437b999b26eb3960d336dd392ccab062827 (diff) | |
| download | baldeagleos-repo-2c34c3402bb20be0fbb58513da479b431ecc7320.tar.gz baldeagleos-repo-2c34c3402bb20be0fbb58513da479b431ecc7320.tar.xz baldeagleos-repo-2c34c3402bb20be0fbb58513da479b431ecc7320.zip | |
Adding metadata
Diffstat (limited to 'net-libs')
| -rw-r--r-- | net-libs/tox/Manifest | 2 | ||||
| -rw-r--r-- | net-libs/tox/tox-0.2.23.ebuild (renamed from net-libs/tox/tox-0.2.20.ebuild) | 48 |
2 files changed, 38 insertions, 12 deletions
diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest index 5797cbe69c1b..2cd59d8bfbd2 100644 --- a/net-libs/tox/Manifest +++ b/net-libs/tox/Manifest @@ -1,3 +1,3 @@ -DIST c-toxcore-0.2.20.tar.gz 862660 BLAKE2B 77f0d423f3579f83f114e2201315d8bb97a951a79aeefaf9ef6e012c7c98b6bba7889359a405746c976ac4689112a9366bdf291998c6f835972e540d01782b20 SHA512 84497bd8d542d8ccb4d77d9210852a0e73a0f2c4885b8282c39263042555495c37196b5f2ddf37f393bcc2b84d839bba3506da2c68440e4d5329d086b2ebefb6 DIST c-toxcore-0.2.22.tar.gz 959762 BLAKE2B 976d702f7b036eea8941c73d656c35e32e2fb8be758c7588c758f4efa033077647aaadfe45572999698fbdb253811751e951441f928c10bfcc30b12b2bcfd3dd SHA512 c42fba4da94eb5ec28f4b9c8afb3ad61ec36c1a17dabb6dd5530caa31b66192bdb0b057a2e939dccb7ffe91ec24691e8953e0641cd33f0dd7edea921910f7b1a +DIST c-toxcore-0.2.23.tar.gz 972079 BLAKE2B 671c3cab36c467f14129c14e512a4d34323a76343c60a50b407855cc1ad9fd891e17d26360c7609a24f246b3609d1ef0e841a2e1158976a4cf0293a956d7de81 SHA512 3a56e5ec28b90fe60fb86ac3e703bc3a4fd4fae6a3e87d725d6efdb23064e887a04f0f00f6ff979a9b18b6b8c93dda9e85d22ffe3c712b8653f09c6d1dd003e0 DIST toktok-cmp-52bfcfa17d2eb4322da2037ad625f5575129cece.tar.gz 40169 BLAKE2B 761a81845f1d577853b95464acb52e7c507808c498d5ab0518e5cc8e26150e3b4448e095ffd554f512ca7771b1c88c1c7200442f42c599d71005722992ea977f SHA512 fc336deb0a42b9ef2b5ddb24ffe6fe68bad34587dc23ceb5893ac164f0c5228a5626689d602ed8903c8c4f7f213f1f2a1d17f016ab2561d835cfb05c217a5542 diff --git a/net-libs/tox/tox-0.2.20.ebuild b/net-libs/tox/tox-0.2.23.ebuild index 7b713e490f0a..5902fda9a2fc 100644 --- a/net-libs/tox/tox-0.2.20.ebuild +++ b/net-libs/tox/tox-0.2.23.ebuild @@ -1,19 +1,34 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake systemd +# The notice is triggered by a docker file, which is unused here. +# https://bugs.gentoo.org/964599 +CMAKE_QA_COMPAT_SKIP=1 +CMP_COMMIT="52bfcfa17d2eb4322da2037ad625f5575129cece" + DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" -MY_P="c-toxcore-${PV}" -S="${WORKDIR}/${MY_P}" -SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git" + EGIT_SUBMODULES=( third_party/cmp ) +else + MY_P="c-toxcore-${PV}" + SRC_URI=" + https://github.com/TokTok/c-toxcore/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz + https://github.com/TokTok/cmp/archive/${CMP_COMMIT}.tar.gz -> toktok-cmp-${CMP_COMMIT}.tar.gz + " + KEYWORDS="~amd64 ~arm ~x86" + S="${WORKDIR}/${MY_P}" +fi LICENSE="GPL-3+" SLOT="0/0.2" -KEYWORDS="amd64 ~arm x86" IUSE="+av debug daemon dht-node experimental ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) @@ -35,13 +50,22 @@ RDEPEND="${DEPEND} ) key-utils? ( || ( sys-devel/gcc[openmp] llvm-runtimes/clang-runtime[openmp] ) )" -src_prepare() { - cmake_src_prepare +# Skip flaky tests. +CMAKE_SKIP_TESTS=( + scenario_group_topic + scenario_lan_discovery + scenario_tox_many +) + +src_unpack() { + default - #Remove faulty tests - for testname in group_topic, lan_discovery; do - sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die - done + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + else + rm -d ${MY_P}/third_party/cmp || die + mv cmp-${CMP_COMMIT} ${MY_P}/third_party/cmp || die + fi } src_configure() { @@ -92,6 +116,8 @@ src_configure() { } src_test() { + # Some tests appear to get flaky with multiple jobs running. + # https://bugs.gentoo.org/730434 cmake_src_test -j1 } |
