2017-10-23 07:22:08 +02:00
|
|
|
# Template file for 'spreed-webrtc'
|
|
|
|
pkgname=spreed-webrtc
|
|
|
|
version=0.29.7
|
2018-01-24 09:54:26 +01:00
|
|
|
revision=4
|
2017-10-23 07:22:08 +02:00
|
|
|
build_style=go
|
|
|
|
go_import_path="github.com/strukturag/spreed-webrtc"
|
|
|
|
go_package="${go_import_path}/src/app/spreed-webrtc-server"
|
|
|
|
hostmakedepends="automake nodejs git"
|
|
|
|
conf_files="/etc/spreed/webrtc.conf"
|
|
|
|
short_desc="WebRTC audio/video call and conferencing server and web client"
|
|
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
|
|
|
|
license="AGPL-3"
|
|
|
|
homepage="https://github.com/strukturag/spreed-webrtc"
|
|
|
|
distfiles="https://github.com/strukturag/spreed-webrtc/archive/v${version}.tar.gz"
|
|
|
|
checksum=d05b820fe3883840eadf8b96bda663397991849d9bda4750fc7c4e642c9c3268
|
|
|
|
|
|
|
|
system_accounts="_spreed_webrtc"
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
./autogen.sh
|
|
|
|
./configure ${configure_args}
|
|
|
|
make assets
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vsconf server.conf.in
|
|
|
|
vmkdir etc/spreed 755
|
|
|
|
vinstall server.conf.in 644 etc/spreed webrtc.conf # Match Ubuntu packaging and thus online docs
|
|
|
|
|
|
|
|
export SHARE=/usr/share/spreed-webrtc-server
|
|
|
|
make DESTDIR="${DESTDIR}" install-assets
|
|
|
|
|
|
|
|
vsv spreed-webrtc-server
|
|
|
|
}
|