1 |
commit: d182bdd6156ef87ed587c9380ae9eb4e66c7781f |
2 |
Author: soredake <fdsfgs <AT> krutt <DOT> org> |
3 |
AuthorDate: Sat Sep 3 22:02:02 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 21 21:57:34 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d182bdd6 |
7 |
|
8 |
net-libs/tox: bump version to 20160904 |
9 |
|
10 |
net-libs/tox/Manifest | 1 + |
11 |
net-libs/tox/tox-0_pre20160904.ebuild | 76 +++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 77 insertions(+) |
13 |
|
14 |
diff --git a/net-libs/tox/Manifest b/net-libs/tox/Manifest |
15 |
index edf391c..d7e03c0 100644 |
16 |
--- a/net-libs/tox/Manifest |
17 |
+++ b/net-libs/tox/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST tox-0_pre20160201.tar.gz 393867 SHA256 4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19 SHA512 25cd407855bb8a7b916ab36fd84558c08b3d428e9299ad45f362481d2df0cf29f7d74c00f20b5ce5f6f30f1e1db490f3e34b44f55c71b30e23b6d74566587305 WHIRLPOOL 818f2a12eec2a9ac62082a0bd98868bfa48f80453d650475b4be7d64b7d73de1515724f8006a9b0e4a9260be205a9d1dcb556c6fd6052a6d5978d763820db5b2 |
20 |
+DIST tox-0_pre20160904.tar.gz 395495 SHA256 2d4a0d096bdb81b12b10551765fb9f87270e170f10f387f700b3def68cb6c35c SHA512 c0da52ac908141e97e96510a05431cbfb4b9aae81faf4c136c95e21b90a23e3bbe6db88303e48c0f4f3c74ca954229787564b7aa41bfb462afb0d8f8430cdaa1 WHIRLPOOL abd3f61784fac93d983e453515d1e8bc87f7d76651a53ce6f566a277d7ec7c1e03294d95781364ce9ab30f2698c6f5cd552bfa4888f8d5d0d315daf038980c63 |
21 |
|
22 |
diff --git a/net-libs/tox/tox-0_pre20160904.ebuild b/net-libs/tox/tox-0_pre20160904.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000..caf7249 |
25 |
--- /dev/null |
26 |
+++ b/net-libs/tox/tox-0_pre20160904.ebuild |
27 |
@@ -0,0 +1,76 @@ |
28 |
+# Copyright 1999-2016 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+# $Id$ |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+inherit autotools systemd user vcs-snapshot |
35 |
+ |
36 |
+DESCRIPTION="Encrypted P2P, messaging, and audio/video calling platform" |
37 |
+HOMEPAGE="https://tox.chat" |
38 |
+EGIT_COMMIT="755f084e8720b349026c85afbad58954cb7ff1d4" |
39 |
+SRC_URI="https://github.com/irungentoo/toxcore/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-3+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="+av daemon log-debug log-error log-info log-trace log-warn +no-log ntox static-libs test" |
45 |
+ |
46 |
+REQUIRED_USE="^^ ( no-log log-trace log-debug log-info log-warn log-error )" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ av? ( media-libs/libvpx:= |
50 |
+ media-libs/opus ) |
51 |
+ daemon? ( dev-libs/libconfig ) |
52 |
+ ntox? ( sys-libs/ncurses:0= ) |
53 |
+ >=dev-libs/libsodium-0.6.1:=[asm,urandom]" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ test? ( dev-libs/check ) |
56 |
+ virtual/pkgconfig" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ default |
60 |
+ eautoreconf |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ econf \ |
65 |
+ $(usex log-trace "--enable-logging --with-log-level=TRACE" "") \ |
66 |
+ $(usex log-debug "--enable-logging --with-log-level=DEBUG" "") \ |
67 |
+ $(usex log-info "--enable-logging --with-log-level=INFO" "") \ |
68 |
+ $(usex log-warn "--enable-logging --with-log-level=WARNING" "") \ |
69 |
+ $(usex log-error "--enable-logging --with-log-level=ERROR" "") \ |
70 |
+ $(use_enable av) \ |
71 |
+ $(use_enable test tests) \ |
72 |
+ $(use_enable ntox) \ |
73 |
+ $(use_enable daemon) \ |
74 |
+ $(use_enable static-libs static) |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ default |
79 |
+ if use daemon; then |
80 |
+ newinitd "${FILESDIR}"/initd tox-dht-daemon |
81 |
+ newconfd "${FILESDIR}"/confd tox-dht-daemon |
82 |
+ insinto /etc |
83 |
+ doins "${FILESDIR}"/tox-bootstrapd.conf |
84 |
+ systemd_dounit "${FILESDIR}"/tox-bootstrapd.service |
85 |
+ fi |
86 |
+ |
87 |
+ find "${D}" -name '*.la' -delete || die |
88 |
+} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ if use daemon; then |
92 |
+ enewgroup ${PN} |
93 |
+ enewuser ${PN} -1 -1 -1 ${PN} |
94 |
+ if [[ -f ${EROOT}var/lib/tox-dht-bootstrap/key ]]; then |
95 |
+ ewarn "Backwards compatability with the bootstrap daemon might have been" |
96 |
+ ewarn "broken a while ago. To resolve this issue, REMOVE the following files:" |
97 |
+ ewarn " ${EROOT}var/lib/tox-dht-bootstrap/key" |
98 |
+ ewarn " ${EROOT}etc/tox-bootstrapd.conf" |
99 |
+ ewarn " ${EROOT}run/tox-dht-bootstrap/tox-dht-bootstrap.pid" |
100 |
+ ewarn "Then just re-emerge net-libs/tox" |
101 |
+ fi |
102 |
+ fi |
103 |
+} |