Files
guru/media-video/livekit/livekit-1.13.7.ebuild
T
2026-09-29 18:03:09 +02:00

33 lines
688 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Real-time media server for WebRTC"
HOMEPAGE="https://livekit.com/"
SRC_URI="
https://github.com/livekit/livekit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://dblsaiko.net/pub/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND=">=dev-lang/go-1.26.0"
IUSE="test-server"
src_compile() {
ego build -o bin/livekit-server ./cmd/server
if use test-server; then
ego build -o bin/livekit-test-server ./cmd/test-server
fi
}
src_install() {
dobin bin/*
}