### this file is sourced not run
PKGVER=5.2.51
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=libortp-$PKGVER.tar.gz
MD5SUM=5cdb817dcaee943083e9b3636b1369ea
SRC_URL=https://github.com/BelledonneCommunications/ortp/archive/refs/tags/$PKGVER.tar.gz
BUNDLE=

SLACKREQ=libbctoolbox
SLACKDESC="libortp: libortp $PKGVER (C library for RTP protocol)
libortp: 
libortp: oRTP is a C library implementing the RTP protocol (rfc3550). It is 
libortp: available for most unix clones (primilarly Linux and HP-UX), and 
libortp: Microsoft Windows.
libortp:
libortp: http://www.linphone.org/technical-corner/ortp
libortp: https://github.com/BelledonneCommunications/ortp
libortp: 
libortp: 
libortp:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CMAKEFLAGS="$CMAKEFLAGS \
		-DENABLE_SHARED=ON \
		-DENABLE_STATIC=OFF  \
		-DENABLE_STRICT=OFF \
		-DENABLE_DOC=OFF \
		-DENABLE_UNIT_TESTS=OFF \
		-DENABLE_PERF=ON \
	" && # static won't compile with trx
	pkg_build_cmake fdbuild &&
	pkg_build_slackdesc
}


