Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/
Date: Fri, 01 Oct 2021 12:03:32
Message-Id: 1633089802.186a300867462a9d494155cb9cba16f20853cbae.sbraz@gentoo
1 commit: 186a300867462a9d494155cb9cba16f20853cbae
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 1 11:47:42 2021 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 1 12:03:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186a3008
7
8 net-p2p/airdcpp-webclient: add 2.11.2
9
10 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
11
12 net-p2p/airdcpp-webclient/Manifest | 1 +
13 .../airdcpp-webclient-2.11.2.ebuild | 61 ++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest
17 index 7b1823dcc79..2ac81f5df4f 100644
18 --- a/net-p2p/airdcpp-webclient/Manifest
19 +++ b/net-p2p/airdcpp-webclient/Manifest
20 @@ -1,2 +1,3 @@
21 DIST airdcpp-webclient-2.11.0.tar.gz 967326 BLAKE2B 47d257e47c332b4fd5351a680f0585360cb7329cd1bcf3c478d0a7847adbee68c024af7136eeb3b551188d3af7c4a6db2257eefaca7f82ee4670667a4a6e3e63 SHA512 926457e76b6bd29e0124c519b67d9e0f3cee48192c1b56e073b84d65f0171d53a7a4dbaf55e100f0685e01116935f4e4e2c193dab0ef0bed08d8101e12c33b82
22 DIST airdcpp-webclient-2.11.1.tar.gz 967966 BLAKE2B d95760f3ae945255a396f20504995a2ea8843071ab19574a6faac919fb411a0a4e44ebcb005afce0056d960729d6b8bdd9df4ca457cea91931eedb1d329c7a12 SHA512 03f6ce82467f824d1b4e10075bf9e28b45282fb977b3feb67fc948044ed592672a83182d4716d0c10591c0b7568417997b335e25827d8e78fbd3735605cd052e
23 +DIST airdcpp-webclient-2.11.2.tar.gz 978294 BLAKE2B cb15e02dc5381cc5f0ecb1b4d65cdd1c4a3d007f3ea1e78a159b8a62af03831318b8f6d8c0692c5a9145dda616627ea97f4bd3eeb1270a7452c7d78bf01d147f SHA512 281d4a9da88f23a4c02eef7f09c4fc2c91c44ac93d932ea4bfe097029b45dbd12a8d04d4ef8b493d261f5dade15b62ed4d564197fbfb2d9d98b9dfcc9a9e6379
24
25 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
26 new file mode 100644
27 index 00000000000..48c674e1b80
28 --- /dev/null
29 +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild
30 @@ -0,0 +1,61 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
37 +
38 +inherit cmake python-any-r1 systemd
39 +
40 +DESCRIPTION="Cross-platform Direct Connect client"
41 +HOMEPAGE="https://airdcpp-web.github.io/"
42 +SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +KEYWORDS="~amd64 ~x86"
45 +LICENSE="GPL-2+"
46 +SLOT="0"
47 +IUSE="debug nat-pmp +tbb +webui"
48 +
49 +RDEPEND="
50 + acct-user/airdcppd
51 + acct-group/airdcppd
52 + app-arch/bzip2
53 + dev-cpp/websocketpp
54 + dev-libs/boost:=
55 + dev-libs/leveldb:=
56 + dev-libs/libmaxminddb:=
57 + dev-libs/openssl:0=[-bindist(-)]
58 + net-libs/miniupnpc:=
59 + sys-libs/zlib
60 + virtual/libiconv
61 + nat-pmp? ( net-libs/libnatpmp:= )
62 + tbb? ( dev-cpp/tbb:= )
63 +"
64 +DEPEND="${RDEPEND}"
65 +BDEPEND="
66 + virtual/pkgconfig
67 + ${PYTHON_DEPS}
68 +"
69 +PDEPEND="webui? ( www-apps/airdcpp-webui )"
70 +
71 +src_configure() {
72 + local mycmakeargs=(
73 + -DENABLE_NATPMP=$(usex nat-pmp)
74 + -DENABLE_TBB=$(usex tbb)
75 + -DINSTALL_WEB_UI=OFF
76 + )
77 + CMAKE_BUILD_TYPE=$(usex debug Debug Gentoo) cmake_src_configure
78 +}
79 +
80 +src_install() {
81 + cmake_src_install
82 + newconfd "${FILESDIR}/airdcppd.confd" airdcppd
83 + newinitd "${FILESDIR}/airdcppd.initd" airdcppd
84 + systemd_dounit "${FILESDIR}/airdcppd.service"
85 +}
86 +
87 +pkg_postinst() {
88 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
89 + elog "Run 'airdcppd --configure' to set up ports and authentication"
90 + fi
91 +}