summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2021-01-15 14:36:15 +0000
committerdakkar <dakkar@thenautilus.net>2021-01-15 14:36:15 +0000
commit1dfc1c1dcd95229c3fd42b1a6474ea91f29c0937 (patch)
tree3fd50a712730246ebf29d21d9f7914e8d76c7477 /net-misc
parentlibnice, newer version (diff)
downloadgentoo-overlay-1dfc1c1dcd95229c3fd42b1a6474ea91f29c0937.tar.gz
gentoo-overlay-1dfc1c1dcd95229c3fd42b1a6474ea91f29c0937.tar.bz2
gentoo-overlay-1dfc1c1dcd95229c3fd42b1a6474ea91f29c0937.zip
janus gateway, for nextcloud
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/janus-gateway/Manifest2
-rw-r--r--net-misc/janus-gateway/janus-gateway-0.10.9.ebuild79
2 files changed, 81 insertions, 0 deletions
diff --git a/net-misc/janus-gateway/Manifest b/net-misc/janus-gateway/Manifest
new file mode 100644
index 0000000..5c9a2e7
--- /dev/null
+++ b/net-misc/janus-gateway/Manifest
@@ -0,0 +1,2 @@
+DIST janus-gateway-0.10.9.tar.gz 7051654 BLAKE2B f3db56d7b173947874aeccc61a9353739bebdc5d56a02bb9834a6db18f53757b0014c9f569e0a20e5292c2aa181065d0516bc54b05b0e7b5b9eaa361a13ec711 SHA512 b99acce7a9c7bdcdf3ab1918926677fb08f26c8de498b98c141de369347db06dd4dd33c94bca2fd86339c4ec311e78afd26d30253e6bd69724deab680a77b4f6
+EBUILD janus-gateway-0.10.9.ebuild 1596 BLAKE2B 738f2413ab6874a0f6678ee4a4f2a387f8ec8bc135efc8b77e4351d9a04c608366065712c737a3cc020bec4f32c8cf2ec76aebf2c4a62f720f8afc04c94688cc SHA512 0668764682eecbb6a5798515438f3c926774baac3c63d3a843a56266f3cee1b92fd91217604bb193ae1c36e781704577d159d93659093e71903f1702387576a4
diff --git a/net-misc/janus-gateway/janus-gateway-0.10.9.ebuild b/net-misc/janus-gateway/janus-gateway-0.10.9.ebuild
new file mode 100644
index 0000000..38a1d5d
--- /dev/null
+++ b/net-misc/janus-gateway/janus-gateway-0.10.9.ebuild
@@ -0,0 +1,79 @@
+EAPI=7
+
+inherit autotools
+
+# this is not a general Janus ebuild, I'm only setting up the bits
+# needed by nextcloud-spreed-signaling
+
+DESCRIPTION="open source, general purpose, WebRTC server"
+HOMEPAGE="https://janus.conf.meetecho.com/"
+SRC_URI="https://github.com/meetecho/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-libs/jansson
+ dev-libs/libconfig
+ >=net-libs/libnice-0.1.16
+ >=dev-libs/openssl-1.0.1e
+ net-libs/libsrtp:2[openssl,aesicm]
+ net-libs/libwebsockets[ssl]
+ net-misc/curl
+ media-libs/opus
+ media-libs/libogg
+
+ dev-libs/glib
+ sys-libs/zlib
+ dev-util/gengetopt
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-libsrtp2 \
+ --enable-aes-gcm \
+ --enable-turn-rest-api \
+ --enable-json-logger \
+ \
+ --enable-unix-sockets \
+ --enable-websockets-event-handler \
+ --disable-rest \
+ --disable-rabbitmq \
+ --disable-rabbitmq-event-handler \
+ --disable-mqtt \
+ --disable-mqtt-event-handler \
+ --disable-nanomsg \
+ --disable-nanomsg-event-handler \
+ \
+ --enable-plugin-audiobridge \
+ --enable-plugin-duktape \
+ --enable-plugin-echotest \
+ --disable-plugin-lua \
+ --enable-plugin-recordplay \
+ --disable-plugin-sip \
+ --enable-plugin-streaming \
+ --enable-plugin-textroom \
+ --enable-plugin-videocall \
+ --enable-plugin-videoroom \
+ --enable-plugin-voicemail \
+ \
+ --disable-boringssl \
+ --disable-data-channels \
+ --disable-systemd-sockets \
+ --disable-docs
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" configs
+ default
+}