From cad32dd1d71ddba8e1d899011f655ff3f6e1dd22 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 3 Dec 2022 12:18:56 +0000 Subject: bump nextcloud-spreed-signaling --- .../nextcloud-spreed-signaling-1.0.0.ebuild | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 net-misc/nextcloud-spreed-signaling/nextcloud-spreed-signaling-1.0.0.ebuild (limited to 'net-misc/nextcloud-spreed-signaling/nextcloud-spreed-signaling-1.0.0.ebuild') diff --git a/net-misc/nextcloud-spreed-signaling/nextcloud-spreed-signaling-1.0.0.ebuild b/net-misc/nextcloud-spreed-signaling/nextcloud-spreed-signaling-1.0.0.ebuild new file mode 100644 index 0000000..fb53366 --- /dev/null +++ b/net-misc/nextcloud-spreed-signaling/nextcloud-spreed-signaling-1.0.0.ebuild @@ -0,0 +1,40 @@ +EAPI=7 + +inherit go-module + +DESCRIPTION="standalone signaling server for Nextcloud Talk" +HOMEPAGE="https://github.com/strukturag/nextcloud-spreed-signaling" + +#go-module_set_globals + +# build the deps tarball like +# https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html +# says +SRC_URI="https://github.com/strukturag/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://www.thenautilus.net/gentoo-tarballs/${P}-deps.tar.xz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="net-misc/nats-server + net-misc/janus-gateway + net-im/coturn" +BDEPEND=">=dev-lang/go-1.17.0 + >=dev-libs/protobuf-3.20.0" + +# NOTE: this won't actually work when run from portage, because the +# sandbox (correcly) prevents it from downloading stuff; build it +# manually with `ebuild ... compile`, install, qmerge + +src_compile() { + export GOPATHBIN="$(pwd)/bin" + emake -j1 build +} + +src_install() { + newbin bin/signaling nextcloud-spreed-signaling + newbin bin/proxy nextcloud-spreed-proxy + einstalldocs + dodoc proxy.conf.in server.conf.in +} -- cgit v1.2.3