Package Details: janus-gateway-git 0.0.9.r0.gf500ae8-2

Git Clone URL: https://aur.archlinux.org/janus-gateway-git.git (read-only)
Package Base: janus-gateway-git
Description: WebRTC gateway.
Upstream URL: http://janus.conf.meetecho.com/
Licenses: GPL3
Provides: janus-gateway
Submitter: mporrato
Maintainer: mporrato
Last Packager: mporrato
Votes: 2
Popularity: 0.000000
First Submitted: 2014-12-21 18:03
Last Updated: 2015-06-13 10:07

Latest Comments

dimytch commented on 2017-01-16 12:36

depends=('libmicrohttpd' 'jansson' 'libnice' 'openssl' 'libsrtp' 'sofia-sip' 'libusrsctp-git' 'libwebsockets-git' 'libevent' 'librabbitmq-c' 'opus' 'libogg' 'glib2' 'ding-libs')

dimytch commented on 2016-09-23 12:58

That worked for me just now.
Have to restart build after fail and it was compiled. A secret miracle, maybe.

======PKGBUILD
pkgname=janus-gateway-git
pkgver=sometext
pkgrel=1
pkgdesc="WebRTC gateway."
arch=('i686' 'x86_64')
url="http://janus.conf.meetecho.com/"
license=('GPL3')
depends=('libmicrohttpd' 'jansson' 'libnice' 'openssl' 'libsrtp'
'sofia-sip' 'libusrsctp-git' 'libwebsockets15' 'libevent'
'librabbitmq-c' 'opus' 'libogg' 'glib2' 'ding-libs')
makedepends=('git' 'libtool' 'automake' 'autoconf' 'gcc' 'make' 'pkg-config' 'gengetopt' 'patch')
provides=(janus-gateway)
backup=('etc/janus/janus.cfg')
install=janus-gateway-git.install

source=('git+https://github.com/meetecho/janus-gateway.git')
md5sums=('SKIP')
_gitname="janus-gateway"

pkgver() {
cd "$srcdir/${_gitname}"
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g;s/^v//'
}

build() {
cd "$srcdir/${_gitname}"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --disable-docs --disable-data-channels --disable-rabbitmq
DESTDIR="$pkgdir/" make
}

package() {
cd "$srcdir/${_gitname}"
DESTDIR="$pkgdir/" make install configs
rm -f "$pkgdir/usr/share/janus/certs/mycert.{key,pem}"
}

dseg commented on 2016-01-29 11:33

I've added a new package 'janus-gateway' because this packages does not seem to build for me.
https://aur.archlinux.org/packages/janus-gateway/

FrozenCow commented on 2016-01-09 18:56

The PKGBUILD I used: https://gist.github.com/FrozenCow/0ed7d45cd38b6e499056

FrozenCow commented on 2016-01-09 18:37

The problem with libwebsockets is solved with https://github.com/meetecho/janus-gateway/pull/438. Maybe we can use that patch here too until it is merged?

adbjesus commented on 2015-10-08 15:04

Once again it's giving the websockets error when configuring.

A temporary solution is to add the --disable-websockets flag and it can compile.

mporrato commented on 2015-03-20 18:06

Updated PKGBUILD to use libwebsockets-git

insonifi commented on 2015-03-20 08:06

Looks like it doesn't build anymore with libwebsock-nothreads, I got following output when configuring: http://pastebin.com/KRAkkLQM

I tried to replace it with libwebsockets from AUR, but it still doesn't build: http://pastebin.com/RAD3gtRu

I also was totally able to build it without all optional features. So, I'm not sure whether it is dependecies or features themselves.