void-packages/srcpkgs/baresip/template

35 lines
1.2 KiB
Bash

# Template file for 'baresip'
pkgname=baresip
version=3.6.0
revision=2
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=9996197bcba8bd2cbbed209f39b52dd811d2f4e35386819370da075b7d24b864
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
}
}