spreed-webrtc: build for go1.20

This commit is contained in:
Đoàn Trần Công Danh 2023-08-24 21:03:53 +07:00
parent 6b5d0be6c2
commit dd44c74ac5

View File

@ -1,12 +1,12 @@
# Template file for 'spreed-webrtc'
pkgname=spreed-webrtc
version=0.29.7
revision=11
revision=12
build_style=go
go_import_path="github.com/strukturag/spreed-webrtc"
go_package="${go_import_path}/src/app/spreed-webrtc-server"
go_mod_mode=off
hostmakedepends="automake nodejs git which"
hostmakedepends="automake nodejs git which go1.20"
conf_files="/etc/spreed/webrtc.conf"
short_desc="WebRTC audio/video call and conferencing server and web client"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
@ -16,11 +16,11 @@ distfiles="https://github.com/strukturag/spreed-webrtc/archive/v${version}.tar.g
checksum=d05b820fe3883840eadf8b96bda663397991849d9bda4750fc7c4e642c9c3268
system_accounts="_spreed_webrtc"
export GOTOOLCHAIN=go1.20
broken="GOTOOLCHAIN not supported"
pre_build() {
export GOTOOLCHAIN="go1.26"
./autogen.sh
./configure ${configure_args}
make assets