diff --git a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic/run-ptest b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic/run-ptest new file mode 100644 index 000000000..15268f697 --- /dev/null +++ b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic/run-ptest @@ -0,0 +1,16 @@ +#!/bin/sh +cd tests + +rm -rf tests.log + +# known good tests +TESTS="\ +ClientApiFunctionalityTest \ +" + +for TEST in $TESTS +do + ./kvspic_test --gtest_filter=*$TEST* >> tests.log 2>&1 +done + +sed -e '/OK/ s/^/PASS: / ; /FAILED/ s/^/FAIL: /' tests.log diff --git a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic_git.bb b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic_git.bb index 829c366bf..e250ea35d 100644 --- a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic_git.bb +++ b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-pic_git.bb @@ -1,49 +1,63 @@ -# -*- mode: Conf; -*- SUMMARY = "Amazon Kinesis Video Streams PIC" DESCRIPTION = "Platform independent code layer for KVS Producer SDK" HOMEPAGE = "https://github.com/awslabs/amazon-kinesis-video-streams-pic" LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" PROVIDES += "aws/amazon-kvs-producer-pic" -inherit cmake - BRANCH ?= "master" -SDIR ?= "amazon-kvs-producer-pic" +SRC_URI = "git://github.com/awslabs/amazon-kinesis-video-streams-pic.git;protocol=https;branch=${BRANCH} \ + file://run-ptest \ + " + +# this recipe should be released only together with amazon-kvs-producer-sdk-c and amazon-kvs-producer-sdk-cpp +UPSTREAM_VERSION_UNKNOWN = "1" +# set to match only git_invalid_tag_regex because UPSTREAM_VERSION_UNKNOWN seems to be broken for git +UPSTREAM_CHECK_GITTAGREGEX = "git_invalid_tag_regex" +# this SRCREV commit id should not different than this: +# https://github.com/awslabs/amazon-kinesis-video-streams-producer-c/blob/80c74ac9200b58427a8fcb7782a03b1774020983/CMake/Dependencies/libkvspic-CMakeLists.txt#L10 +SRCREV = "c8325887faa3a4a296c4367b281c778be69875b6" -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" +S = "${WORKDIR}/git" -SRC_URI = "git://github.com/awslabs/amazon-kinesis-video-streams-pic.git;protocol=https;branch=${BRANCH}" +inherit cmake pkgconfig ptest -# this project do not use version tags, use latest commit -UPSTREAM_CHECK_COMMITS = "1" -SRCREV = "dc4bc6cb87cf97cd3b1dc3e8027e0c75cdfa13b3" +PACKAGECONFIG ??= "\ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)} \ + " -S = "${WORKDIR}/git" +# enable PACKAGECONFIG = "static" to build static instead of shared libs +PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON," + +PACKAGECONFIG[with-tests] = "-DBUILD_TEST=ON,-DBUILD_TEST=OFF,gtest" -DEPENDS = "gtest " -RDEPENDS:${PN} = "" CFLAGS:append = " -Wl,-Bsymbolic" -EXTRA_OECMAKE += " \ +EXTRA_OECMAKE += "\ -DBUILD_DEPENDENCIES=OFF \ - -DBUILD_TEST=FALSE \ - -DCODE_COVERAGE=FALSE \ - -DCOMPILER_WARNINGS=OFF \ + -DCODE_COVERAGE=OFF \ -DADDRESS_SANITIZER=OFF \ -DMEMORY_SANITIZER=OFF \ -DTHREAD_SANITIZER=OFF \ -DUNDEFINED_BEHAVIOR_SANITIZER=OFF \ -DDEBUG_HEAP=OFF \ -DALIGNED_MEMORY_MODEL=OFF \ - \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$D/usr \ " -FILES:${PN} = "${libdir}/pkgconfig/*.pc" -FILES:${PN}-dev = "${includedir}/com/amazonaws/kinesis/video/*" +FILES:${PN} += "${libdir}/pkgconfig/*.pc" + +FILES:${PN}-dev += "${includedir}/com/amazonaws/kinesis/video/*" + +FILES:${PN}-ptest += "${libdir}/*.so" # Notify that libraries are not versioned FILES_SOLIBSDEV = "" +do_install_ptest () { + install -d ${D}${PTEST_PATH}/tests + cp -r ${B}/kvspic_test ${D}${PTEST_PATH}/tests/ +} + BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-c_1.4.1.bb b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-c_1.4.1.bb index d87071010..69d8fee3c 100644 --- a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-c_1.4.1.bb +++ b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-c_1.4.1.bb @@ -2,26 +2,54 @@ SUMMARY = "Amazon Kinesis Video Streams C Producer" DESCRIPTION = "Amazon Kinesis Video Streams Producer SDK for C/C++ makes it easy to build an on-device application that securely connects to a video stream, and reliably publishes video and other media data to Kinesis Video Streams. It takes care of all the underlying tasks required to package the frames and fragments generated by the device's media pipeline. The SDK also handles stream creation, token rotation for secure and uninterrupted streaming, processing acknowledgements returned by Kinesis Video Streams, and other tasks." HOMEPAGE = "https://github.com/awslabs/amazon-kinesis-video-streams-producer-c" LICENSE = "Apache-2.0" -PROVIDES += "aws/amazon-kvs-producer-sdk-c" +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" -inherit cmake -inherit pkgconfig +DEPENDS += "\ + amazon-kvs-producer-pic \ + curl \ + libwebsockets \ + mbedtls \ + openssl \ + " -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" +PROVIDES += "aws/amazon-kvs-producer-sdk-c" BRANCH ?= "master" SRC_URI = "git://github.com/awslabs/amazon-kinesis-video-streams-producer-c.git;protocol=https;branch=${BRANCH}" -SRCREV = "80c74ac9200b58427a8fcb7782a03b1774020983" +# this recipe should be released only together with amazon-kvs-producer-sdk-pic and amazon-kvs-producer-sdk-cpp +UPSTREAM_VERSION_UNKNOWN = "1" +# set to match only git_invalid_tag_regex because UPSTREAM_VERSION_UNKNOWN seems to be broken for git +UPSTREAM_CHECK_GITTAGREGEX = "git_invalid_tag_regex" +# this SRCREV commit id should not different to this specified here: +# https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/70f74f14cf27b09f71dc1889f36eb6e04cdd90a8/CMake/Dependencies/libkvscproducer-CMakeLists.txt#L10 +SRCREV = "79da5b6d6ad67560cc08530f967e9187a6d1c594" + S = "${WORKDIR}/git" -DEPENDS = "openssl curl gtest amazon-kvs-producer-pic mbedtls libwebsockets" +inherit cmake pkgconfig ptest + +PACKAGECONFIG ??= "\ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'with-tests', '', d)} \ + " + +# enable PACKAGECONFIG = "static" to build static instead of shared libs +PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON -DBUILD_STATIC=OFF,," + +PACKAGECONFIG[with-tests] = "-DBUILD_TEST=ON,-DBUILD_TEST=OFF,gtest" + +FILES:${PN} += "\ + ${libdir}/libcproducer.so \ + ${libdir}/pkgconfig/*.pc \ + " + +FILES:${PN}-dev += "${includedir}/com/amazonaws/kinesis/video/*" + RDEPENDS:${PN} = "" CFLAGS:append = " -Wl,-Bsymbolic" -EXTRA_OECMAKE += " \ +EXTRA_OECMAKE += "\ -DBUILD_DEPENDENCIES=OFF \ - -DBUILD_TEST=OFF \ -DCODE_COVERAGE=OFF \ -DCOMPILER_WARNINGS=OFF \ -DADDRESS_SANITIZER=OFF \ @@ -30,16 +58,16 @@ EXTRA_OECMAKE += " \ -DUNDEFINED_BEHAVIOR_SANITIZER=OFF \ -DDEBUG_HEAP=OFF \ -DALIGNED_MEMORY_MODEL=OFF \ - \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$D/usr \ " -FILES:${PN} = "${libdir}/libcproducer.so \ - ${libdir}/pkgconfig/*.pc" -FILES:${PN}-dev = "${includedir}/com/amazonaws/kinesis/video/*" - # Notify that libraries are not versioned FILES_SOLIBSDEV = "" +do_install_ptest () { + install -d ${D}${PTEST_PATH}/tests + cp -r ${B}/tst/* ${D}${PTEST_PATH}/tests/ +} + BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-sdk/amazon-kvs-producer-sdk/files/amazon-kvs-producer-sdk-cpp-deps.patch b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-cpp/amazon-kvs-producer-sdk-cpp-deps.patch similarity index 100% rename from recipes-sdk/amazon-kvs-producer-sdk/files/amazon-kvs-producer-sdk-cpp-deps.patch rename to recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-cpp/amazon-kvs-producer-sdk-cpp-deps.patch diff --git a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-cpp_3.3.1.bb b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-cpp_3.3.1.bb index a0f346eb8..953c69046 100644 --- a/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-cpp_3.3.1.bb +++ b/recipes-sdk/amazon-kvs-producer-sdk/amazon-kvs-producer-sdk-cpp_3.3.1.bb @@ -1,90 +1,91 @@ -# -*- mode: Conf; -*- SUMMARY = "Amazon Kinesis Video Streams CPP Producer" DESCRIPTION = "Amazon Kinesis Video Streams Producer SDK for C/C++ makes it easy to build an on-device application that securely connects to a video stream, and reliably publishes video and other media data to Kinesis Video Streams. It takes care of all the underlying tasks required to package the frames and fragments generated by the device's media pipeline. The SDK also handles stream creation, token rotation for secure and uninterrupted streaming, processing acknowledgements returned by Kinesis Video Streams, and other tasks." HOMEPAGE = "https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp" LICENSE = "Apache-2.0" -PROVIDES += "aws/amazon-kvs-producer-sdk-cpp" - -inherit cmake pkgconfig +LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" -BRANCH ?= "master" +DEPENDS += "\ + amazon-kvs-producer-sdk-c \ + log4cplus \ + openssl \ + " -LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658" +PROVIDES += "aws/amazon-kvs-producer-sdk-cpp" -SRC_URI = "git://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git;protocol=https;branch=${BRANCH} \ - file://amazon-kvs-producer-sdk-cpp-deps.patch" +BRANCH ?= "master" +SRC_URI = "\ + git://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git;protocol=https;branch=${BRANCH} \ + file://amazon-kvs-producer-sdk-cpp-deps.patch \ + " SRCREV = "70f74f14cf27b09f71dc1889f36eb6e04cdd90a8" S = "${WORKDIR}/git" -DEPENDS = "openssl amazon-kvs-producer-sdk-c gtest log4cplus" -RDEPENDS:${PN} = "" +inherit cmake pkgconfig + +FILES:${PN} = "${libdir}/libKinesisVideoProducer.so" +FILES:${PN}-dev = "${includedir}/com/amazonaws/kinesis/video/*" + CFLAGS:append = " -Wl,-Bsymbolic" -EXTRA_OECMAKE += " \ - -DBUILD_DEPENDENCIES=OFF \ - -DBUILD_GSTREAMER_PLUGIN=OFF \ - -DBUILD_JNI=OFF \ - -DBUILD_STATIC=OFF \ - -DBUILD_DEPENDENCIES=OFF \ - -DBUILD_OPENSSL_PLATFORM=OFF \ - -DCODE_COVERAGE=OFF \ - -DCOMPILER_WARNINGS=OFF \ - -DADDRESS_SANITIZER=OFF \ - -DMEMORY_SANITIZER=OFF \ - -DTHREAD_SANITIZER=OFF \ - -DUNDEFINED_BEHAVIOR_SANITIZER=OFF \ - -DBUILD_TEST=OFF \ - -DBUILD_SHARED_LIBS=ON \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=$D/usr \ -" +EXTRA_OECMAKE += "\ + -DBUILD_DEPENDENCIES=OFF \ + -DBUILD_GSTREAMER_PLUGIN=OFF \ + -DBUILD_JNI=OFF \ + -DBUILD_STATIC=OFF \ + -DBUILD_DEPENDENCIES=OFF \ + -DBUILD_OPENSSL_PLATFORM=OFF \ + -DCODE_COVERAGE=OFF \ + -DCOMPILER_WARNINGS=OFF \ + -DADDRESS_SANITIZER=OFF \ + -DMEMORY_SANITIZER=OFF \ + -DTHREAD_SANITIZER=OFF \ + -DUNDEFINED_BEHAVIOR_SANITIZER=OFF \ + -DBUILD_TEST=OFF \ + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=$D/usr \ + " do_install() { - install -d ${D}/usr/lib - install -d ${D}/usr/include/com - install -d ${D}/usr/include/com/amazonaws - install -d ${D}/usr/include/com/amazonaws/kinesis - install -d ${D}/usr/include/com/amazonaws/kinesis/video - install -d ${D}/usr/include/com/amazonaws/kinesis/video/producer - install -d ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni - install -d ${D}/usr/include/com/amazonaws/kinesis/video/producer/credential-providers - install -d ${D}/usr/include/com/amazonaws/kinesis/video/producer/gstreamer - - install -m 0640 ${WORKDIR}/git/src/CachingEndpointOnlyCallbackProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/CachingEndpointOnlyCallbackProvider.h - install -m 0640 ${WORKDIR}/git/src/ThreadSafeMap.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/ThreadSafeMap.h - install -m 0640 ${WORKDIR}/git/src/DefaultCallbackProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/DefaultCallbackProvider.h - install -m 0640 ${WORKDIR}/git/src/StreamCallbackProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/StreamCallbackProvider.h - install -m 0640 ${WORKDIR}/git/src/KinesisVideoProducer.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/KinesisVideoProducer.h - install -m 0640 ${WORKDIR}/git/src/DefaultDeviceInfoProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/DefaultDeviceInfoProvider.h - install -m 0640 ${WORKDIR}/git/src/CallbackProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/CallbackProvider.h - install -m 0640 ${WORKDIR}/git/src/StreamTags.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/StreamTags.h - install -m 0640 ${WORKDIR}/git/src/Logger.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/Logger.h - install -m 0640 ${WORKDIR}/git/src/KinesisVideoStream.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/KinesisVideoStream.h - install -m 0640 ${WORKDIR}/git/src/ClientCallbackProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/ClientCallbackProvider.h - - install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.h - install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/SyncMutex.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni/SyncMutex.h - install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/JNICommon.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni/JNICommon.h - install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/Parameters.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni/Parameters.h - install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/com_amazonaws_kinesisvideo_internal_producer_jni_NativeKinesisVideoProducerJni.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni/com_amazonaws_kinesisvideo_internal_producer_jni_NativeKinesisVideoProducerJni.h - install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/TimedSemaphore.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/jni/TimedSemaphore.h - - install -m 0640 ${WORKDIR}/git/src/credential-providers/RotatingCredentialProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/credential-providers/RotatingCredentialProvider.h - install -m 0640 ${WORKDIR}/git/src/credential-providers/IotCertCredentialProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/credential-providers/IotCertCredentialProvider.h - - install -m 0640 ${WORKDIR}/git/src/gstreamer/KvsSinkStreamCallbackProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/KvsSinkStreamCallbackProvider.h - install -m 0640 ${WORKDIR}/git/src/gstreamer/KvsSinkDeviceInfoProvider.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/credential-providers/KvsSinkDeviceInfoProvider.h - install -m 0640 ${WORKDIR}/git/src/gstreamer/gstkvssink.h ${D}/usr/include/com/amazonaws/kinesis/video/producer/credential-providers/gstkvssink.h - - install -m 0755 ${B}/libKinesisVideoProducer.so ${D}/usr/lib + install -d ${D}${libdir} + install -d ${D}${includedir}/com + install -d ${D}${includedir}/com/amazonaws + install -d ${D}${includedir}/com/amazonaws/kinesis + install -d ${D}${includedir}/com/amazonaws/kinesis/video + install -d ${D}${includedir}/com/amazonaws/kinesis/video/producer + install -d ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni + install -d ${D}${includedir}/com/amazonaws/kinesis/video/producer/credential-providers + install -d ${D}${includedir}/com/amazonaws/kinesis/video/producer/gstreamer + + install -m 0640 ${WORKDIR}/git/src/CachingEndpointOnlyCallbackProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/CachingEndpointOnlyCallbackProvider.h + install -m 0640 ${WORKDIR}/git/src/ThreadSafeMap.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/ThreadSafeMap.h + install -m 0640 ${WORKDIR}/git/src/DefaultCallbackProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/DefaultCallbackProvider.h + install -m 0640 ${WORKDIR}/git/src/StreamCallbackProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/StreamCallbackProvider.h + install -m 0640 ${WORKDIR}/git/src/KinesisVideoProducer.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/KinesisVideoProducer.h + install -m 0640 ${WORKDIR}/git/src/DefaultDeviceInfoProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/DefaultDeviceInfoProvider.h + install -m 0640 ${WORKDIR}/git/src/CallbackProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/CallbackProvider.h + install -m 0640 ${WORKDIR}/git/src/StreamTags.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/StreamTags.h + install -m 0640 ${WORKDIR}/git/src/Logger.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/Logger.h + install -m 0640 ${WORKDIR}/git/src/KinesisVideoStream.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/KinesisVideoStream.h + install -m 0640 ${WORKDIR}/git/src/ClientCallbackProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/ClientCallbackProvider.h + + install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni/KinesisVideoClientWrapper.h + install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/SyncMutex.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni/SyncMutex.h + install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/JNICommon.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni/JNICommon.h + install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/Parameters.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni/Parameters.h + install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/com_amazonaws_kinesisvideo_internal_producer_jni_NativeKinesisVideoProducerJni.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni/com_amazonaws_kinesisvideo_internal_producer_jni_NativeKinesisVideoProducerJni.h + install -m 0640 ${WORKDIR}/git/src/JNI/include/com/amazonaws/kinesis/video/producer/jni/TimedSemaphore.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/jni/TimedSemaphore.h + + install -m 0640 ${WORKDIR}/git/src/credential-providers/RotatingCredentialProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/credential-providers/RotatingCredentialProvider.h + install -m 0640 ${WORKDIR}/git/src/credential-providers/IotCertCredentialProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/credential-providers/IotCertCredentialProvider.h + + install -m 0640 ${WORKDIR}/git/src/gstreamer/KvsSinkStreamCallbackProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/KvsSinkStreamCallbackProvider.h + install -m 0640 ${WORKDIR}/git/src/gstreamer/KvsSinkDeviceInfoProvider.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/credential-providers/KvsSinkDeviceInfoProvider.h + install -m 0640 ${WORKDIR}/git/src/gstreamer/gstkvssink.h ${D}${includedir}/com/amazonaws/kinesis/video/producer/credential-providers/gstkvssink.h + + install -m 0755 ${B}/libKinesisVideoProducer.so ${D}${libdir}/ } -FILES:${PN} = "${libdir}/libKinesisVideoProducer.so" -FILES:${PN}-dev = "${includedir}/com/amazonaws/kinesis/video/*" - -# Notify that libraries are not versioned -FILES_SOLIBSDEV = "" - BBCLASSEXTEND = "native nativesdk"