Сравнение tox-0.2.20 с tox-9999
/usr/portage/net-libs/tox/tox-9999.ebuild 2024-12-25 14:59:51.255270144 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2025 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
7 | 7 | |
8 | 8 |
DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" |
9 | 9 |
HOMEPAGE="https://tox.chat https://github.com/TokTok/c-toxcore" |
10 |
MY_P="c-toxcore-${PV}" |
|
11 |
S="${WORKDIR}/${MY_P}" |
|
12 |
SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" |
|
10 | ||
11 |
if [[ ${PV} == 9999 ]]; then |
|
12 |
inherit git-r3 |
|
13 |
EGIT_REPO_URI="https://github.com/TokTok/c-toxcore.git" |
|
14 |
else |
|
15 |
MY_P="c-toxcore-${PV}" |
|
16 |
SRC_URI="https://github.com/TokTok/c-toxcore/releases/download/v${PV}/${MY_P}.tar.gz" |
|
17 |
KEYWORDS="~amd64 ~arm ~x86" |
|
18 |
S="${WORKDIR}/${MY_P}" |
|
19 |
fi |
|
13 | 20 | |
14 | 21 |
LICENSE="GPL-3+" |
15 | 22 |
SLOT="0/0.2" |
16 |
KEYWORDS="amd64 ~arm x86" |
|
17 | 23 |
IUSE="+av debug daemon dht-node experimental ipv6 key-utils log-debug +log-error log-info log-trace log-warn test" |
18 | 24 | |
19 | 25 |
REQUIRED_USE="?? ( log-debug log-error log-info log-trace log-warn ) |
... | ... | |
39 | 45 |
cmake_src_prepare |
40 | 46 | |
41 | 47 |
#Remove faulty tests |
42 |
for testname in group_topic, lan_discovery; do |
|
48 |
for testname in lan_discovery; do |
|
43 | 49 |
sed -i -e "/^auto_test(${testname})$/d" ./auto_tests/CMakeLists.txt || die |
44 | 50 |
done |
45 | 51 |
} |
... | ... | |
106 | 112 |
systemd_dounit "${FILESDIR}"/tox-bootstrapd.service |
107 | 113 |
fi |
108 | 114 |
} |
109 | ||
110 |
pkg_postinst() { |
|
111 |
if use daemon; then |
|
112 |
elog "Before you can run the daemon, you need to add nodes to" |
|
113 |
elog "configuration which exists at /etc/tox-bootstrapd.conf" |
|
114 |
elog "Details about these nodes can be found at https://nodes.tox.chat" |
|
115 |
elog "Then run, if necessary, #rc-update add tox-dht-daemon default" |
|
116 |
fi |
|
117 |
} |