summaryrefslogtreecommitdiff
path: root/net-misc
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/janus-gateway/Manifest2
-rw-r--r--net-misc/janus-gateway/janus-gateway-1.1.0.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/net-misc/janus-gateway/Manifest b/net-misc/janus-gateway/Manifest
index 04b843e..083e273 100644
--- a/net-misc/janus-gateway/Manifest
+++ b/net-misc/janus-gateway/Manifest
@@ -1,4 +1,6 @@
DIST janus-gateway-0.11.6.tar.gz 7099056 BLAKE2B 698d4276de300286250d401a372032aced2881efecf16464a886509091cb832781dad3ad1261770ae4b623ff5fa59e799682c31b6055eebd3f0b351c5d7ab624 SHA512 51f5d9dcd57dcd16c0801e2092711445374ce977c16dbb9b12a8370b1525aaa6bcafa10159d9b02618ba62f8e204cfda0bc2cb70f636c4456fca64896a9b8085
DIST janus-gateway-0.12.3.tar.gz 6178648 BLAKE2B d1c28934294439949058583fb59a21002f7fc4cb7ab0e4a9dee882ba4b7fb95a3ddf1e27458c180a8eedd7898243fe76a5f2b6da7803f78696e81b6db27c6466 SHA512 11e75976638a5ce6c1024502d426850baea96619065b90bcb6caacaeaa631978817a652fa3f3d76ba34ef76be41f6e8df21044bb92ef48393021ee61c3a6909c
+DIST janus-gateway-1.1.0.tar.gz 6337496 BLAKE2B 4150d6a1f5da5c425815d06c333fed684ffd74aeff40351013dac5f0d3bddf80501b7d64eaa7b7765560b5f5b43f4c7f98ee5412c1f9bcd1c6ad628690345d4a SHA512 75b9a5ee1a923b4827feaeabe9b738dda3203f74d21d3ddfbaf6900ba84d2fa18c9618f5ce1a4a10b2cc97cc6ccb349308687e76deffb08b6fe03847d2193ae6
EBUILD janus-gateway-0.11.6.ebuild 1635 BLAKE2B 08fcd932076ff5da5ec157ab42c8df4a1e6ca07846f0a3f410174fe5eec74bbcc229a8eb61135350e69da7bd84131119de0ec7d3ce27bf8745d70f034294a2f0 SHA512 3b3e5a139f9dc5d39fa197e0b462b512829595fb3ccc4e0b65d4911c4caf30348707fd4ff466a2e95835bb53a4900c4cf8f1c57db9c5e2e04d0fcbdc67d52250
EBUILD janus-gateway-0.12.3.ebuild 1636 BLAKE2B 599f6b0d063e90405307f7b55adf3f1830bc379196e5d18b53afeb29e51be76387837c0441771913169567d626ec24b961c65218434f7b75581e20b4e322f828 SHA512 359ea086fa738db033495648bb9a0aff16332601edabdc90b05253ad3e5933c920206495f2a490d3668ac9904ecfa19aa84df986f2724ac3877021a07f26b078
+EBUILD janus-gateway-1.1.0.ebuild 1636 BLAKE2B 599f6b0d063e90405307f7b55adf3f1830bc379196e5d18b53afeb29e51be76387837c0441771913169567d626ec24b961c65218434f7b75581e20b4e322f828 SHA512 359ea086fa738db033495648bb9a0aff16332601edabdc90b05253ad3e5933c920206495f2a490d3668ac9904ecfa19aa84df986f2724ac3877021a07f26b078
diff --git a/net-misc/janus-gateway/janus-gateway-1.1.0.ebuild b/net-misc/janus-gateway/janus-gateway-1.1.0.ebuild
new file mode 100644
index 0000000..f0ab9c7
--- /dev/null
+++ b/net-misc/janus-gateway/janus-gateway-1.1.0.ebuild
@@ -0,0 +1,81 @@
+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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+RESTRICT="mirror"
+
+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]
+ net-libs/usrsctp
+ 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-data-channels \
+ \
+ --enable-plugin-audiobridge \
+ --disable-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-systemd-sockets \
+ --disable-docs
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" configs
+ default
+}