commit: 6ae9852be5e8d3c08625d9b0da9d7387ce5c5649
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 22:19:35 2025 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 22:21:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae9852b
net-p2p/airdcpp-webclient: add 2.13.3
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
net-p2p/airdcpp-webclient/Manifest | 1 +
.../airdcpp-webclient-2.13.3.ebuild | 64 ++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/net-p2p/airdcpp-webclient/Manifest
b/net-p2p/airdcpp-webclient/Manifest
index 770929d977c5..ce8cf5aa4f73 100644
--- a/net-p2p/airdcpp-webclient/Manifest
+++ b/net-p2p/airdcpp-webclient/Manifest
@@ -2,3 +2,4 @@ DIST airdcpp-webclient-2.11.4.tar.gz 958611 BLAKE2B
f0ff3a39c8615edbc541a952460b
DIST airdcpp-webclient-2.12.1.tar.gz 961603 BLAKE2B
bc17fb3b3643b1d699f7c0ef958616759d87cd96467318a592c1460e355d512a3efc0e793a3098f8074f02d5af47b1ef33b65fbe7a6c9a955bbdc472d323f637
SHA512
0f662311d208b937c946b41a617c82a0e72442fb7c2bef09d56ec71931bde35bd1024ce53cb3bf7deda3eaaac31ecbe8fa2c66c337c0833db655f80f5e5156be
DIST airdcpp-webclient-2.12.2.tar.gz 793005 BLAKE2B
777a8aa3e5425566ae15f6ae616796953c653890aac607f8c3799c7a959335a0c7bed9380e85a9f6174d989392d909056faff582d42292174c2609de4b7451dc
SHA512
29ad24d1714e86123ed0d3ef226934682001202c0197df9d83c4a225503786a5853cd4bf31f90eb30a98351fba0d246e02ca4ba9ffe71f6bda760021f095b9b2
DIST airdcpp-webclient-2.13.2.tar.gz 829418 BLAKE2B
c75654b169ab1958f5f9ab972499a8aca0b4ef7690fef86c5498068c072b179e2cfab30a8d8f80a2f950939d138a6e0876f9a4a696b72aacebb1386f062c83ac
SHA512
e3212d472e8af3005e5a0154670e7a2b1c7474c482700bc2d0f84e040d93fb06d96e8771de911d82ee1b158f7e98af24edee82f87bcd9ed70cb236fbf2794cb3
+DIST airdcpp-webclient-2.13.3.tar.gz 829955 BLAKE2B
990463a3c3cf05a6f503e385dc371353bc4a17703a4cfa9784167bdbd6ef49b557b7ccd230a2cd7fd0832115a6bfcbde4da5711b755305101280e5fe2fc1d99a
SHA512
c74c6ab57325a39b470e8cdfc99f59fd4e163df3b2a2d7bad8a2a9e07fd3b9372cf310dbc228a7f547adc5d9de54269b3cb19b7a710ab96ecb0fd2da0022e615
diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild
b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild
new file mode 100644
index 000000000000..91129dbea10e
--- /dev/null
+++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.13.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit cmake python-any-r1 systemd
+
+DESCRIPTION="Cross-platform Direct Connect client"
+HOMEPAGE="https://airdcpp-web.github.io/"
+SRC_URI="https://github.com/airdcpp-web/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+IUSE="nat-pmp +tbb +webui"
+
+RDEPEND="
+ acct-user/airdcppd
+ acct-group/airdcppd
+ app-arch/bzip2
+ dev-cpp/websocketpp
+ dev-libs/boost:=
+ dev-libs/leveldb:=
+ dev-libs/libmaxminddb:=
+ dev-libs/openssl:0=[-bindist(-)]
+ net-libs/miniupnpc:=
+ sys-libs/zlib
+ virtual/libiconv
+ nat-pmp? ( net-libs/libnatpmp:= )
+ tbb? ( dev-cpp/tbb:= )
+"
+DEPEND="
+ dev-cpp/nlohmann_json
+ ${RDEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+ ${PYTHON_DEPS}
+"
+PDEPEND="webui? ( www-apps/airdcpp-webui )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_NATPMP=$(usex nat-pmp)
+ -DENABLE_TBB=$(usex tbb)
+ -DINSTALL_WEB_UI=OFF
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ newconfd "${FILESDIR}/airdcppd.confd" airdcppd
+ newinitd "${FILESDIR}/airdcppd.initd" airdcppd
+ systemd_dounit "${FILESDIR}/airdcppd.service"
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Run 'airdcppd --configure' to set up ports and
authentication"
+ fi
+}