xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-support/srt/srt_1.4.4.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Secure Reliable Transport (SRT) Protocol"
2*4882a593SmuzhiyunDESCRIPTION = "Secure Reliable Transport (SRT) is an open source transport technology \
3*4882a593Smuzhiyunthat optimizes streaming performance across unpredictable networks, such as the Internet."
4*4882a593SmuzhiyunSECTION = "libs"
5*4882a593SmuzhiyunHOMEPAGE = "https://github.com/Haivision/srt"
6*4882a593SmuzhiyunLICENSE = "MPL-2.0"
7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRCREV = "8b32f3734ff6af7cc7b0fef272591cb80a2d1aae"
10*4882a593SmuzhiyunSRC_URI = "git://github.com/Haivision/srt;protocol=https;branch=master \
11*4882a593Smuzhiyun           file://0001-don-t-install-srt-ffplay.patch \
12*4882a593Smuzhiyun           "
13*4882a593SmuzhiyunUPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
14*4882a593SmuzhiyunS = "${WORKDIR}/git"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit cmake pkgconfig
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunEXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DENABLE_UNITTESTS=OFF"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunPACKAGECONFIG ??= "crypt"
21*4882a593SmuzhiyunPACKAGECONFIG[debug] = "-DENABLE_DEBUG=1,,"
22*4882a593SmuzhiyunPACKAGECONFIG[crypt] = "-DENABLE_ENCRYPTION=ON,-DENABLE_ENCRYPTION=OFF,openssl"
23*4882a593SmuzhiyunPACKAGECONFIG[utils] = "-DENABLE_APPS=ON,-DENABLE_APPS=OFF,"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunPACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'utils', '${PN}-utils', '', d)}"
26*4882a593SmuzhiyunFILES:${PN}-utils += "${bindir}"
27*4882a593SmuzhiyunRDEPENDS:${PN}-utils += "${PN}"
28