# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=belle-sip pkgver=5.2.86 pkgrel=0 pkgdesc="SIP (RFC3261) implementation written in C" url="https://www.linphone.org/" arch="all !riscv64" # java license="GPL-2.0-or-later" options="!check" # no test available makedepends="cmake libantlr3c libantlr3c-dev bctoolbox-dev zlib-dev mbedtls-dev java-jre-headless belr-dev samurai" subpackages="$pkgname-dev" source="https://gitlab.linphone.org/BC/public/belle-sip/-/archive/$pkgver/belle-sip-$pkgver.tar.gz antlr.jar::https://github.com/antlr/website-antlr3/blob/gh-pages/download/antlr-3.4-complete.jar?raw=true" build() { cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_MODULE_PATH=/usr/lib/cmake \ -DCMAKE_SKIP_INSTALL_RPATH=ON \ -DENABLE_STATIC=NO \ -DENABLE_SHARED=YES \ -DENABLE_TESTS=NO \ -DENABLE_STRICT=NO cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 70f8dc7990982ecb425b45a3638b791e29b3fa4d3d683b2e41c4cff2bafb83766bafe3592cc65bb9a4234d2dbcf10a9aa85fb07191d58acc7cade326ef75f792 belle-sip-5.2.86.tar.gz 04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 antlr.jar "