diff options
author | Louis Sautier <sbraz@gentoo.org> | 2021-10-01 13:47:42 +0200 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2021-10-01 14:03:22 +0200 |
commit | 186a300867462a9d494155cb9cba16f20853cbae (patch) | |
tree | 60bc08fd2a84238cffef85acddadc586bc011fd0 /net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild | |
parent | www-apps/mediawiki: bump to 1.36.2 (diff) | |
download | gentoo-186a300867462a9d494155cb9cba16f20853cbae.tar.gz gentoo-186a300867462a9d494155cb9cba16f20853cbae.tar.bz2 gentoo-186a300867462a9d494155cb9cba16f20853cbae.zip |
net-p2p/airdcpp-webclient: add 2.11.2
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild')
-rw-r--r-- | net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild new file mode 100644 index 000000000000..48c674e1b803 --- /dev/null +++ b/net-p2p/airdcpp-webclient/airdcpp-webclient-2.11.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +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 +} |