34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'baresip'
|
|
pkgname=baresip
|
|
version=2.10.0
|
|
revision=2
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="libgsm-devel libpng-devel openssl-devel libsndfile-devel
|
|
opus-devel re-devel rem-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"
|
|
# 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=1bbeda0cb6c0f0480fb67f4fcc389df42384da7da909d9d950538fbbbfb92495
|
|
|
|
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
|
|
}
|
|
}
|