void-packages/srcpkgs/baresip/template

35 lines
1.2 KiB
Bash

# Template file for 'baresip'
pkgname=baresip
version=3.11.0
revision=1
build_style=cmake
hostmakedepends="pkg-config glib-devel"
makedepends="libgsm-devel libpng-devel openssl-devel libsndfile-devel
opus-devel re-devel spandsp-devel speex-devel speexdsp-devel
tiff-devel twolame-devel cairo-devel gst-plugins-base1-devel jack-devel
gstreamer1-devel gtk+3-devel mpg123-devel SDL2-devel ffmpeg-devel libvpx-devel
libX11-devel v4l-utils-devel x265-devel libXext-devel webrtc-audio-processing-devel
fdk-aac-devel libmosquitto-devel codec2-devel"
# sndio-devel Currently not hooked up in their cmake build system
short_desc="Modular SIP User-Agent with audio and video support"
maintainer="John <me@johnnynator.dev>"
license="BSD-3-Clause"
homepage="https://github.com/baresip/baresip"
changelog="https://raw.githubusercontent.com/baresip/baresip/main/CHANGELOG.md"
distfiles="https://github.com/baresip/baresip/archive/refs/tags/v${version}.tar.gz"
checksum=2b03fbbdb59ac1de91c0264ebb7256886c298e9efe0bcb0b9514ea00a4d48f40
post_install() {
vlicense LICENSE
}
baresip-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}