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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DDD04138335 for ; Sat, 9 Feb 2019 00:03:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFADAE08CD; Sat, 9 Feb 2019 00:03:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B2F3E08CD for ; Sat, 9 Feb 2019 00:03:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 500FB335DA2 for ; Sat, 9 Feb 2019 00:03:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA8C7537 for ; Sat, 9 Feb 2019 00:03:45 +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: <1549670324.9803d7f8eb348d93eaf0e484516a323e53741391.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.5.1.ebuild X-VCS-Directories: net-p2p/airdcpp-webclient/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 9803d7f8eb348d93eaf0e484516a323e53741391 X-VCS-Branch: master Date: Sat, 9 Feb 2019 00:03:45 +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: 3dd8fd62-b79e-454c-95c1-71d9dc71681f X-Archives-Hash: da43cfb680203850df48653cab1e80ca commit: 9803d7f8eb348d93eaf0e484516a323e53741391 Author: Louis Sautier gentoo org> AuthorDate: Fri Feb 8 23:58:41 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Fri Feb 8 23:58:44 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9803d7f8 net-p2p/airdcpp-webclient: bump to 2.5.1, EAPI=7 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Louis Sautier gentoo.org> net-p2p/airdcpp-webclient/Manifest | 1 + .../airdcpp-webclient-2.5.1.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest index beb8b3597a2..f20a307dd74 100644 --- a/net-p2p/airdcpp-webclient/Manifest +++ b/net-p2p/airdcpp-webclient/Manifest @@ -1,2 +1,3 @@ DIST airdcpp-webclient-2.4.0.tar.gz 899040 BLAKE2B a498624fb273ecc756c6d1ce9fc6ebc4b44e0e6788ae41208a308d9e204a4657503e9123c7ed41c9a5d1ffca6a1eda54a3fdddb609244cea54b41605927281d9 SHA512 6598fd6bebae65381dd97763da4a69ce32e4d3f5cb16e5cbd66bd29d973e36c3a616138c84426c462cfd275b39b8d4bd4c0162de9dba3c02b603735ad842a3a7 DIST airdcpp-webclient-2.5.0.tar.gz 900078 BLAKE2B 53f5e096a3a6cc7c77c92bef32a7aaf0fb7b5e49740718252c7b4e233b80c52ca27029ba24fef4f1ab9c4c360da182accffb8ba7de27ef9b0b4aaa011005b689 SHA512 cf0220e3f2096304e393a4bd833e81c1427dbd144a56498712c9e18f2ec14f35d9112ad0ff05f54aad5a57126d68fc46c2bf20806dd7464a5bdb301543b08809 +DIST airdcpp-webclient-2.5.1.tar.gz 898980 BLAKE2B a930a13d34068977d0184ea56163cb9ae0f47bd92cfb724145f287742fb034ebc89f0a55fc5b07a8761de0749d3725912d4f4682542ac60c93b003a08ed24c9f SHA512 297aa780ecc35f48000eba1cc3b6f284a64954fbcc257ed58c84f2c88901b1c01c17228883c6569fa1333f0e41067f9fe7623ef24e458844544f6d6cc2b45c4c diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.5.1.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.5.1.ebuild new file mode 100644 index 00000000000..6e5120d6044 --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.5.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) + +inherit cmake-utils python-any-r1 user + +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" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="nat-pmp +tbb +webui" + +RDEPEND=" + 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=" + virtual/pkgconfig + ${PYTHON_DEPS} + ${RDEPEND} +" +PDEPEND="webui? ( www-apps/airdcpp-webui )" + +pkg_setup() { + python-any-r1_pkg_setup + enewgroup airdcppd + enewuser airdcppd -1 -1 /var/lib/airdcppd airdcppd +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_WEB_UI=OFF + -DENABLE_NATPMP=$(usex nat-pmp) + -DENABLE_TBB=$(usex tbb) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + newconfd "${FILESDIR}/airdcppd.confd" airdcppd + newinitd "${FILESDIR}/airdcppd.initd" airdcppd + keepdir /var/lib/airdcppd + fowners airdcppd:airdcppd /var/lib/airdcppd +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Run 'airdcppd --configure' to set up ports and authentication" + fi +}