Files
meta-openembedded/meta-multimedia/recipes-support/srt/srt_1.4.2.bb
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00

29 lines
1.2 KiB
BlitzBasic

SUMMARY = "Secure Reliable Transport (SRT) Protocol"
DESCRIPTION = "Secure Reliable Transport (SRT) is an open source transport technology \
that optimizes streaming performance across unpredictable networks, such as the Internet."
SECTION = "libs"
HOMEPAGE = "https://github.com/Haivision/srt"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
SRCREV = "50b7af06f3a0a456c172b4cb3aceafa8a5cc0036"
SRC_URI = "git://github.com/Haivision/srt;protocol=https;branch=master \
file://0001-don-t-install-srt-ffplay.patch \
file://0001-core-Fix-build-with-GCC-11.-1806.patch \
"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DENABLE_UNITTESTS=OFF"
PACKAGECONFIG ??= "crypt"
PACKAGECONFIG[debug] = "-DENABLE_DEBUG=1,,"
PACKAGECONFIG[crypt] = "-DENABLE_ENCRYPTION=ON,-DENABLE_ENCRYPTION=OFF,openssl"
PACKAGECONFIG[utils] = "-DENABLE_APPS=ON,-DENABLE_APPS=OFF,"
PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'utils', '${PN}-utils', '', d)}"
FILES:${PN}-utils += "${bindir}"
RDEPENDS:${PN}-utils += "${PN}"