blob: 5e84c6f7e38b647284df76256abab4ba9c38bc19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Maurizio Porrato <maurizio.porrato@gmail.com>
pkgname=janus-gateway
pkgver=0.2.3
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' 'libwebsockets' 'libevent'
'librabbitmq-c' 'opus' 'libogg' 'glib2' 'ding-libs')
makedepends=('gengetopt' 'paho-mqtt-c-git')
provides=(janus-gateway)
backup=('etc/janus/janus.cfg')
install=janus-gateway.install
source=("https://github.com/meetecho/janus-gateway/archive/v${pkgver}.tar.gz")
sha256sums=('95d24024e4854a43fdc44b422e5472eb298d840abc3260b94a3623eb9e3d300b')
build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --disable-docs
DESTDIR="$pkgdir/" make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
DESTDIR="$pkgdir/" make install configs
rm -f "$pkgdir/usr/share/janus/certs/mycert.{key,pem}"
}
|