pkgname: libdatachannel pkgver: '0.24.5' pkgrel: '2' pkgdesc: 'C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets' url: 'https://github.com/paullouisageneau/libdatachannel' arch: x86_64 license: - 'MPL-2.0' depends: [] makedepends: - git - openssl - cmake - libjuice - libsrtp source: [] sha256sums: [] build: | git clone https://github.com/paullouisageneau/${pkgname} ${pkgname}-${pkgver} cd ${pkgname}-${pkgver} git checkout v${pkgver} git submodule update --init --recursive deps/{usrsctp,plog,json} cmake -B build . \ -DCMAKE_BUILD_TYPE='None' \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DUSE_GNUTLS=0 \ -DUSE_NICE=0 \ -DUSE_SYSTEM_JUICE=1 \ -DUSE_SYSTEM_SRTP=1 \ -DNO_EXAMPLES=0 \ -DNO_TESTS=1 \ -Wno-dev cmake --build build DESTDIR=${PKGDIR}/ cmake --install build install -Dm644 LICENSE \ ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE package: | true