Skip to content

Commit 66c281e

Browse files
committed
amazon-kvs-webrtc-sdk: disable download of kvs-common-lws
As we use the system-installed version of kvsCommonLws, we do not need to download it again.
1 parent f8769e4 commit 66c281e

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

recipes-sdk/amazon-kvs-webrtc-sdk/amazon-kvs-webrtc-sdk_1.12.1.bb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ PROVIDES += "aws/amazon-kvs-webrtc-sdk"
2121
BRANCH = "main"
2222
SRC_URI = "\
2323
git://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c.git;protocol=https;branch=${BRANCH} \
24+
file://001-disable-download-of-kvs-common-lws.patch \
2425
file://run-ptest \
2526
file://ptest_result.py \
2627
"
@@ -40,8 +41,6 @@ PACKAGECONFIG[with-samples] = "-DBUILD_SAMPLE=ON ,-DBUILD_SAMPLE=OFF,"
4041
# enable PACKAGECONFIG = "static" to build static instead of shared libs
4142
PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON,"
4243

43-
do_configure[network] = "1"
44-
4544
FILES:${PN} += "\
4645
${@bb.utils.contains('PACKAGECONFIG', 'with-samples', '/samples/*', '', d)} \
4746
${libdir} \
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
This will disable the download of the kvsCommonLws library, which is not needed for the build.
2+
As we use the system-installed version of kvsCommonLws, we do not need to download it again.
3+
4+
Upstream-Status: Inappropriate [oe-specific]
5+
6+
Index: amazon-kvs-webrtc-sdk-1.12.1/CMakeLists.txt
7+
===================================================================
8+
--- amazon-kvs-webrtc-sdk-1.12.1.orig/CMakeLists.txt
9+
+++ amazon-kvs-webrtc-sdk-1.12.1/CMakeLists.txt
10+
@@ -265,16 +265,6 @@ if(BUILD_DEPENDENCIES)
11+
message(STATUS "Finished building dependencies.")
12+
endif()
13+
14+
-# building kvsCommonLws also builds kvspic
15+
-set(BUILD_ARGS
16+
- -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
17+
- -DBUILD_STATIC=${BUILD_STATIC_LIBS}
18+
- -DUSE_OPENSSL=${USE_OPENSSL}
19+
- -DUSE_MBEDTLS=${USE_MBEDTLS}
20+
- -DKVS_DEFAULT_STACK_SIZE=${KVS_DEFAULT_STACK_SIZE}
21+
- -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS})
22+
-build_dependency(kvsCommonLws ${BUILD_ARGS})
23+
-
24+
############# find dependent libraries ############
25+
26+
find_package(Threads)

0 commit comments

Comments
 (0)