From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C7F50158170 for ; Sat, 20 Jul 2024 01:57:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57218E2A20; Sat, 20 Jul 2024 01:57:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 38B78E2A20 for ; Sat, 20 Jul 2024 01:57:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26DFC342FF8 for ; Sat, 20 Jul 2024 01:57:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BD2B1E37 for ; Sat, 20 Jul 2024 01:57:19 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1721440602.960ca10a6b94c205cd57b77e612b369b7e2f589b.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/airdcpp-webclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/airdcpp-webclient/Manifest net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild X-VCS-Directories: net-p2p/airdcpp-webclient/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 960ca10a6b94c205cd57b77e612b369b7e2f589b X-VCS-Branch: master Date: Sat, 20 Jul 2024 01:57:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e665a93-89a9-4de5-9d2d-53e7dc454204 X-Archives-Hash: 58fdeced90d5b7f223cabf0fa26c008f commit: 960ca10a6b94c205cd57b77e612b369b7e2f589b Author: Louis Sautier gentoo org> AuthorDate: Thu Jul 18 00:08:57 2024 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sat Jul 20 01:56:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960ca10a net-p2p/airdcpp-webclient: add 2.12.2 * Update license (upstream changed it for this release). * Introduce new build dependency (dev-cpp/nlohmann_json). * Fix CMake build type to use cmake.eclass's default. Signed-off-by: Louis Sautier gentoo.org> net-p2p/airdcpp-webclient/Manifest | 1 + .../airdcpp-webclient-2.12.2.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest index 69c843fdfa1f..be8c4be7a72a 100644 --- a/net-p2p/airdcpp-webclient/Manifest +++ b/net-p2p/airdcpp-webclient/Manifest @@ -1,2 +1,3 @@ DIST airdcpp-webclient-2.11.4.tar.gz 958611 BLAKE2B f0ff3a39c8615edbc541a952460b831eefd37f1825da4881da147c54a00612479382a9d69d4399f55fbdd77c77ab6716097594c8d10c6a3839db5ae14d11cc87 SHA512 0ab8fbdc6d1b815546724bfdcd436aa2e07ffdb499b91a3506db18c2f494f76bc1203d0d9d3cfd3ae6ad9d0f2fb4038df46aada0515747e2477c7f6595a05436 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 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild new file mode 100644 index 000000000000..2950bd3fec76 --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.12.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 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="debug 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_BUILD_TYPE=$(usex debug Debug RelWithDebInfo) 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 +}