blob: 567ea68edf731c84ad56eaf7072233b71edfb862 [file] [log] [blame]
Andrew Geissler4b7c1152020-11-30 19:55:29 -06001SUMMARY = "Secure Reliable Transport (SRT) Protocol"
2DESCRIPTION = "Secure Reliable Transport (SRT) is an open source transport technology \
3that optimizes streaming performance across unpredictable networks, such as the Internet."
4SECTION = "libs"
5HOMEPAGE = "https://github.com/Haivision/srt"
6LICENSE = "MPL-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
8
9SRCREV = "50b7af06f3a0a456c172b4cb3aceafa8a5cc0036"
10SRC_URI = "git://github.com/Haivision/srt;protocol=https \
11 file://0001-don-t-install-srt-ffplay.patch \
12 "
13UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
14S = "${WORKDIR}/git"
15
16inherit cmake pkgconfig
17
18EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DENABLE_UNITTESTS=OFF"
19
20PACKAGECONFIG ??= "crypt"
21PACKAGECONFIG[debug] = "-DENABLE_DEBUG=1,,"
22PACKAGECONFIG[crypt] = "-DENABLE_ENCRYPTION=ON,-DENABLE_ENCRYPTION=OFF,openssl"
23PACKAGECONFIG[utils] = "-DENABLE_APPS=ON,-DENABLE_APPS=OFF,"
24
25PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'utils', '${PN}-utils', '', d)}"
26FILES_${PN}-utils += "${bindir}"
27RDEPENDS_${PN}-utils += "${PN}"