void-packages/srcpkgs/ortp/template
Mark Hills 216001c73c ortp-devel: users of this library will depend on bctoolbox for builds
It has a header file dependency:

  /usr/include/ortp/rtpsession.h:34:10: fatal error: bctoolbox/list.h: No such file or directory

I looked at SDL_ttf and followed the pattern for how it deals with
the same situation.
2019-11-11 07:21:06 +01:00

26 lines
773 B
Bash

# Template file for 'ortp'
pkgname=ortp
version=1.0.2
revision=4
build_style=cmake
configure_args="-DENABLE_STATIC=OFF"
makedepends="bctoolbox-devel"
short_desc="Real-Time Transport Protocol (RFC 3550) library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.linphone.org/technical-corner/ortp"
distfiles="https://github.com/BelledonneCommunications/ortp/archive/${version}.tar.gz"
checksum=f8069cbb0c9679545e52d4080e07b4c2bea049f2571100332c90539490240d76
CFLAGS="-Wno-stringop-truncation"
ortp-devel_package() {
depends="bctoolbox-devel ortp-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/oRTP/cmake
vmove "usr/lib/*.so"
}
}