mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-04 14:56:41 +00:00
live555: Install a pkg-config file
Upstream ships no .pc file, so consumers have to hand-code the include directories and library list. Newer v4l2rtspserver only looks for live555 through pkg-config and otherwise downloads its own copy at configure time. Generate live555.pc Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 file changed
+11
@@ -57,6 +57,17 @@ do_install() {
|
||||
install -m 0755 ${S}/testProgs/${i} ${D}${bindir}/
|
||||
done
|
||||
install -m 0755 ${S}/mediaServer/live555MediaServer ${D}${bindir}/
|
||||
|
||||
# Upstream ships no pkg-config file; provide one
|
||||
install -d ${D}${libdir}/pkgconfig
|
||||
cat > ${D}${libdir}/pkgconfig/live555.pc <<'EOF'
|
||||
Name: live555
|
||||
Description: ${DESCRIPTION}
|
||||
Version: ${PV}
|
||||
Requires: openssl
|
||||
Libs: -L${libdir} -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment
|
||||
Cflags: -I${includedir}/liveMedia -I${includedir}/groupsock -I${includedir}/BasicUsageEnvironment -I${includedir}/UsageEnvironment
|
||||
EOF
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-dev = ""
|
||||
|
||||
Reference in new issue
Block a user