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

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

  
4 4
EAPI=8
......
6 6
inherit cmake systemd
7 7

  
8 8
MY_P="c-toxcore-${PV}"
9
S="${WORKDIR}/${MY_P}"
10

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

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

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

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

  
32
RDEPEND="${DEPEND}
32 33
	daemon? (
33 34
		acct-group/tox
34 35
		acct-user/tox
35
	)"
36

  
37
S="${WORKDIR}/${MY_P}"
36
	)
37
	key-utils? ( || ( sys-devel/gcc[openmp] sys-devel/clang-runtime[openmp] ) )"
38 38

  
39 39
src_prepare() {
40 40
	cmake_src_prepare
41 41

  
42 42
	#Remove faulty tests
43
	for testname in lan_discovery save_compatibility set_status_message; do
44
		sed -i -e "/^auto_test(${testname})$/d" CMakeLists.txt || die
43
	for testname in lan_discovery save_load; do
44
		sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die
45 45
	done
46 46
}
47 47

  
......
49 49
	local mycmakeargs=(
50 50
		-DAUTOTEST=$(usex test ON OFF)
51 51
		-DBOOTSTRAP_DAEMON=$(usex daemon ON OFF)
52
		-DBUILD_FUN_UTILS=$(usex key-utils ON OFF)
53
		-DBUILD_FUZZ_TESTS=OFF #Upstream reports that this breaks all other tests
52 54
		-DBUILD_MISC_TESTS=$(usex test ON OFF)
53 55
		-DBUILD_TOXAV=$(usex av ON OFF)
56
		-DCMAKE_BUILD_TYPE=$(usex debug Debug Release)
54 57
		-DDHT_BOOTSTRAP=$(usex dht-node ON OFF)
55 58
		-DENABLE_SHARED=ON
56 59
		-DENABLE_STATIC=OFF
60
		-DFULLY_STATIC=OFF
57 61
		-DMUST_BUILD_TOXAV=$(usex av ON OFF)
58 62
	)
59 63

  
60 64
	if use test; then
61 65
		mycmakeargs+=(
62 66
			-DTEST_TIMEOUT_SECONDS=150
67
			-DNON_HERMETIC_TESTS=OFF
63 68
			-DUSE_IPV6=$(usex ipv6 ON OFF)
64 69
		)
65 70
	else
Спасибо!