From 22a0ec1ac7ddadd3aff6e53f10055eabeda2d071 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 18 Oct 2020 20:37:41 +0200 Subject: net-p2p/airdcpp-webclient: bump to 2.9.0 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Louis Sautier --- net-p2p/airdcpp-webclient/Manifest | 1 + .../airdcpp-webclient-2.9.0.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 net-p2p/airdcpp-webclient/airdcpp-webclient-2.9.0.ebuild (limited to 'net-p2p') diff --git a/net-p2p/airdcpp-webclient/Manifest b/net-p2p/airdcpp-webclient/Manifest index 132aeebec89c..80554fc19020 100644 --- a/net-p2p/airdcpp-webclient/Manifest +++ b/net-p2p/airdcpp-webclient/Manifest @@ -1,2 +1,3 @@ DIST airdcpp-webclient-2.6.1.tar.gz 908393 BLAKE2B 8734cdfc1b0e380d231cf6e571d215b7cec196fe012bf842fd2257496f252dd803eee0a308e97033f959652dbd4d21bd2b96559c4a4262a8f7ddd2c491c7d263 SHA512 bad35d09475ef9a95f358bce99d1143586e3eedb58b3c5c74570c707f099ed1b1214714c093f74c6e2bbfa733077dcaf3e590ae3d821330938f9ec32c75a7152 DIST airdcpp-webclient-2.8.1.tar.gz 945274 BLAKE2B e98ea603d52f041fed1a60a2c6dd4bff141c230bd554ccc6e7f013a28bd2ef8f2001e5343d3233d09b7cc9ef7e1af8b45a18757f59d29cdfb592763375c01e0c SHA512 c75b20591deb62a62dfb26df1536c521073643d3d7893d2ac85f2206c52a1786349a980994084abf840d1610000128247e6ae94aecf31b1d5266224086257ca7 +DIST airdcpp-webclient-2.9.0.tar.gz 967670 BLAKE2B f10c4a44e724f178f55f79ca2a0711f29933a11112e18106bc12833d45971bb51867b00c6ef2a74f4c4eafaedbb7da47d7dcc97959d03794aeeb626ee727df4c SHA512 c0b6dc30aa5b2dbb40096b530c5cb7d5c46dc085b04e6277384d98ce9120988bd471a95995267def42323dafe0b99f760aba07f181d2211b27db20b31adad142 diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.9.0.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.9.0.ebuild new file mode 100644 index 000000000000..acb5cd4995b0 --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.9.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) + +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" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+" +SLOT="0" +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="${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 Gentoo) 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 +} -- cgit v1.2.3-65-gdbad