Сравнение tox-0.2.18-r2 с tox-9999

/usr/portage/net-libs/tox/tox-9999.ebuild 2023-10-09 14:52:34.604368479 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit cmake systemd
7

  
8
MY_P="c-toxcore-${PV}"
9
S="${WORKDIR}/${MY_P}"
6
inherit cmake git-r3 systemd
10 7

  
11 8
DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform"
12
HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore"
13
SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz"
9
HOMEPAGE="https://tox.chat"
10
SRC_URI=""
11
EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git"
14 12

  
15 13
LICENSE="GPL-3+"
16 14
SLOT="0/0.2"
17
KEYWORDS="~amd64 ~arm ~x86"
15
KEYWORDS=""
18 16
IUSE="+av debug daemon dht-node ipv6 key-utils log-debug +log-error log-info log-trace log-warn test"
17
RESTRICT="!test? ( test )"
19 18

  
20 19
REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn )
21 20
		daemon? ( dht-node )"
22
RESTRICT="!test? ( test )"
23 21

  
24 22
BDEPEND="virtual/pkgconfig"
25 23
DEPEND="dev-libs/libsodium:=[asm,urandom,-minimal]
......
28 26
		media-libs/opus
29 27
	)
30 28
	daemon? ( dev-libs/libconfig:= )"
31

  
32
RDEPEND="${DEPEND}
29
RDEPEND="
30
	${DEPEND}
33 31
	daemon? (
34 32
		acct-group/tox
35 33
		acct-user/tox
......
39 37
src_prepare() {
40 38
	cmake_src_prepare
41 39

  
42
	#Remove faulty tests
40
	#remove faulty tests
43 41
	for testname in lan_discovery save_load; do
44 42
		sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die
45 43
	done
......
57 55
		-DDHT_BOOTSTRAP=$(usex dht-node ON OFF)
58 56
		-DENABLE_SHARED=ON
59 57
		-DENABLE_STATIC=OFF
60
		-DFULLY_STATIC=OFF
61
		-DMUST_BUILD_TOXAV=$(usex av ON OFF)
62
	)
63

  
58
		-DMUST_BUILD_TOXAV=$(usex av ON OFF))
64 59
	if use test; then
65 60
		mycmakeargs+=(
66 61
			-DTEST_TIMEOUT_SECONDS=150
67 62
			-DNON_HERMETIC_TESTS=OFF
68
			-DUSE_IPV6=$(usex ipv6 ON OFF)
69
		)
63
			-DUSE_IPV6=$(usex ipv6 ON OFF))
70 64
	else
71 65
		mycmakeargs+=(-DUSE_IPV6=OFF)
72 66
	fi
......
83 77
		mycmakeargs+=(-DMIN_LOGGER_LEVEL="ERROR")
84 78
	else
85 79
		mycmakeargs+=(-DMIN_LOGGER_LEVEL="")
86
		einfo "Logging disabled"
80
		einfo "Logging Disabled"
87 81
	fi
88

  
89 82
	cmake_src_configure
90 83
}
91 84

  
......
111 104
		ewarn "developers and is on their TODO list. For more information,"
112 105
		ewarn "please see 'https://github.com/toktok/c-toxcore/issues/1144'"
113 106
		ewarn ""
114
		ewarn "There is currently an unresolved issue with tox DHT Bootstrap node"
115
		ewarn "that causes the program to be built with a null library reference."
107
		ewarn "There is currently an unresolved issuer with tox DHT Bootstrap node"
108
		ewarn "that causes the program to be built with a null libray reference."
116 109
		ewarn "This causes an infinite loop for certain revdep-rebuild commands."
117
		ewarn "If you aren't running a node, please consider disabling the dht-node use flag."
110
		ewarn "If you aren't running a node, consider disabling the dht node use flag"
118 111
	fi
119 112
}
Спасибо!