add jami
This commit is contained in:
1
net-libs/dhtnet/Manifest
Normal file
1
net-libs/dhtnet/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
EBUILD dhtnet-9999.ebuild 1241 BLAKE2B 927e694104a1fa3ce86b8385c88b678d040477df2e1ddd0333cba14de305238e737a0ba4ff18c1f97b4a778c98873a78fed60c7af9831aef3117f141a4ed4d4b SHA512 36d832b12e36a42219c8fb5cf9ccf25c8bbc0ee6d47a7e7563c63f068b13e4e7ef52b57a734167fe80061755c62174ae52edfb6073d4a2d600ad22ef92c4c318
|
||||
62
net-libs/dhtnet/dhtnet-9999.ebuild
Normal file
62
net-libs/dhtnet/dhtnet-9999.ebuild
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="The DHTNet library is designed to establish secure peer-to-peer connections using public-key authentication"
|
||||
HOMEPAGE="https://github.com/savoirfairelinux/dhtnet"
|
||||
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/savoirfairelinux/${PN}"
|
||||
EGIT_COMMIT="6c5ee3a21556d668d047cdedb5c4b746c3c6bdb2"
|
||||
else
|
||||
SRC_URI="https://github.com/savoirfairelinux/dhtnet/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="tools"
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/yaml-cpp
|
||||
net-libs/libnatpmp
|
||||
net-libs/libupnp
|
||||
app-crypt/argon2
|
||||
net-libs/opendht
|
||||
net-libs/pjproject[sfl(+),speex(+),gsm(+),portaudio(+)]
|
||||
dev-libs/libfmt
|
||||
dev-cpp/asio
|
||||
dev-cpp/msgpack-cxx
|
||||
|| (
|
||||
net-libs/gnutls
|
||||
dev-libs/nettle
|
||||
)
|
||||
tools? ( sys-libs/readline:0 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDHTNET_PUPNP=ON
|
||||
-DDHTNET_NATPMP=ON
|
||||
-DBUILD_TOOLS=$(usex tools)
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_DEPENDENCIES=OFF
|
||||
-DDNC_SYSTEMD=OFF
|
||||
-DBUILD_EXAMPLE=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user