Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/L1-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ jobs:
-DPLUGIN_AVINPUT=ON
-DPLUGIN_HDMIINPUT=ON
-DPLUGIN_HDCPPROFILE=ON
-DPLUGIN_HDMICECSOURCE=ON
-DPLUGIN_HDMICECSINK=ON
-DPLUGIN_HDMICECSOURCE=OFF
-DPLUGIN_HDMICECSINK=OFF
-DUSE_THUNDER_R4=ON
-DHIDE_NON_EXTERNAL_SYMBOLS=OFF
&&
Expand Down Expand Up @@ -513,8 +513,8 @@ jobs:
-DPLUGIN_AVINPUT=ON
-DPLUGIN_HDMIINPUT=ON
-DPLUGIN_HDCPPROFILE=ON
-DPLUGIN_HDMICECSOURCE=ON
-DPLUGIN_HDMICECSINK=ON
-DPLUGIN_HDMICECSOURCE=OFF
-DPLUGIN_HDMICECSINK=OFF
-DRDK_SERVICES_L1_TEST=ON
-DUSE_THUNDER_R4=ON
-DHIDE_NON_EXTERNAL_SYMBOLS=OFF
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [1.3.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.2.0...1.3.0)

- Feature/rdkemw 1015 comrpc [`#129`](https://github.com/rdkcentral/entservices-inputoutput/pull/129)
- RDK-57440: Causing config issue for higher versions of cmake [`#146`](https://github.com/rdkcentral/entservices-inputoutput/pull/146)
- Merge tag '1.2.0' into develop [`7b1dccc`](https://github.com/rdkcentral/entservices-inputoutput/commit/7b1dccc6d7bbba3fdf649c900ad15996e6424a27)

#### [1.2.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.1.1...1.2.0)

> 17 June 2025

- RDKEMW-4135:Coverity integration with Entservices repo [`#147`](https://github.com/rdkcentral/entservices-inputoutput/pull/147)
- RDKEMW-4116 : VRR Feature Middleware changes. [`#103`](https://github.com/rdkcentral/entservices-inputoutput/pull/103)
- topic/RDK-58099: HdmiCecSink syntax error [`#142`](https://github.com/rdkcentral/entservices-inputoutput/pull/142)
Expand Down
21 changes: 20 additions & 1 deletion HdmiCecSink/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# limitations under the License.
set(PLUGIN_NAME HdmiCecSink)
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
set(PLUGIN_IMPLEMENTATION ${MODULE_NAME}Implementation)


set(PLUGIN_HDMICECSINK_STARTUPORDER "" CACHE STRING "To configure startup order of HdmiCecSink plugin")
Expand All @@ -26,10 +27,18 @@ add_library(${MODULE_NAME} SHARED
HdmiCecSink.cpp
Module.cpp)

add_library(${PLUGIN_IMPLEMENTATION} SHARED
HdmiCecSinkImplementation.cpp
Module.cpp)

set_target_properties(${MODULE_NAME} PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES)

set_target_properties(${PLUGIN_IMPLEMENTATION} PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES)

target_compile_definitions(${MODULE_NAME} PRIVATE MODULE_NAME=Plugin_${PLUGIN_NAME})

find_package(DS)
Expand All @@ -41,13 +50,23 @@ target_include_directories(${MODULE_NAME} PRIVATE ${CEC_INCLUDE_DIRS})
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})
set_source_files_properties(HdmiCecSink.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")


target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../helpers)
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${CEC_INCLUDE_DIRS})
target_include_directories(${PLUGIN_IMPLEMENTATION} PRIVATE ${DS_INCLUDE_DIRS})
set_source_files_properties(HdmiCecSinkImplementation.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")

target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )
target_link_libraries(${PLUGIN_IMPLEMENTATION} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )

if (NOT RDK_SERVICES_L1_TEST)
target_compile_options(${MODULE_NAME} PRIVATE -Wno-error=deprecated)
target_compile_options(${PLUGIN_IMPLEMENTATION} PRIVATE -Wno-error=deprecated)
endif ()

install(TARGETS ${MODULE_NAME}
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)

install(TARGETS ${PLUGIN_IMPLEMENTATION}
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)

write_config(${PLUGIN_NAME})
7 changes: 7 additions & 0 deletions HdmiCecSink/HdmiCecSink.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ precondition = ["Platform"]
callsign = "org.rdk.HdmiCecSink"
autostart = "false"
startuporder = "@PLUGIN_HDMICECSINK_STARTUPORDER@"

configuration = JSON()
rootobject = JSON()

rootobject.add("mode", "@PLUGIN_HDMICECSINK_MODE@")
rootobject.add("locator", "lib@[email protected]")
configuration.add("root", rootobject)
10 changes: 10 additions & 0 deletions HdmiCecSink/HdmiCecSink.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@ set (callsign "org.rdk.HdmiCecSink")
if(PLUGIN_HDMICECSINK_STARTUPORDER)
set (startuporder ${PLUGIN_HDMICECSINK_STARTUPORDER})
endif()


map()
key(root)
map()
kv(mode ${PLUGIN_HDMICECSOURCE_MODE})
kv(locator lib${PLUGIN_IMPLEMENTATION}.so)
end()
end()
ans(configuration)
Loading
Loading