Skip to content
Closed
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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ 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.0.4](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.3...1.0.4)

- RDKEMW-1061: RDK-E Add COMRPC [`#29`](https://github.com/rdkcentral/entservices-inputoutput/pull/29)
- Merge pull request #27 from rdkcentral/feature/RDKEMW-1061-RDK-E-Add-… [`#28`](https://github.com/rdkcentral/entservices-inputoutput/pull/28)
- RDKEMW-1061: RDK-E Add COMRPC [`#27`](https://github.com/rdkcentral/entservices-inputoutput/pull/27)
- Merge tag '1.0.3' into develop [`9d73332`](https://github.com/rdkcentral/entservices-inputoutput/commit/9d7333267973f791c7183192c7fce499cbc26efc)

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

> 3 March 2025

- RDKEMW-1691 : Revert Unsupported plugin changes [`#13`](https://github.com/rdkcentral/entservices-inputoutput/pull/13)
- RDKEMW-1691 - Changelog updates for 1.0.3 [`bdbe8c0`](https://github.com/rdkcentral/entservices-inputoutput/commit/bdbe8c0e9572f79e390106242ca7b84880a208ad)
- Merge tag '1.0.2' into develop [`00db359`](https://github.com/rdkcentral/entservices-inputoutput/commit/00db359737a5db24230be599bbe5f3b0345b9673)

#### [1.0.2](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.1...1.0.2)
Expand Down
51 changes: 43 additions & 8 deletions HdmiCecSource/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# If not stated otherwise in this file or this component's license file the

Check failure on line 1 in HdmiCecSource/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'HdmiCecSource/CMakeLists.txt' (Match: rdkcentral/rdkservices/1, 84 lines, url: https://github.com/rdkcentral/rdkservices/archive/GRT_v1.tar.gz, file: HdmiCecSource/CMakeLists.txt)
# following copyright and licenses apply:

Check failure on line 2 in HdmiCecSource/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'HdmiCecSource/CMakeLists.txt' (Match: rdkcentral/rdkservices/1, 73 lines, url: https://github.com/rdkcentral/rdkservices/archive/GRT_v1.tar.gz, file: PlayerInfo/CMakeLists.txt)

Check failure on line 2 in HdmiCecSource/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'HdmiCecSource/CMakeLists.txt' (Match: rdkcentral/rdkservices/1, 63 lines, url: https://github.com/rdkcentral/rdkservices/archive/GRT_v1.tar.gz, file: DeviceInfo/CMakeLists.txt)
#
# Copyright 2020 RDK Management
#
Expand All @@ -14,37 +14,72 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set(PLUGIN_NAME HdmiCecSource)
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
set(PLUGIN_IMPLEMENTATION ${MODULE_NAME}Implementation)

set(PLUGIN_HDMICECSOURCE_STARTUPORDER "" CACHE STRING "To configure startup order of HdmiCecSource plugin")

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

set_source_files_properties(HdmiCecSource.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")
set_source_files_properties(HdmiCecSourceImplementation.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")

find_package(${NAMESPACE}Plugins REQUIRED)
find_package(${NAMESPACE}Definitions REQUIRED)
find_package(CompileSettingsDebug CONFIG REQUIRED)

add_library(${MODULE_NAME} SHARED
HdmiCecSource.cpp
Module.cpp)

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

target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../helpers)

target_link_libraries(${MODULE_NAME}
PRIVATE
CompileSettingsDebug::CompileSettingsDebug
${NAMESPACE}Plugins::${NAMESPACE}Plugins
${NAMESPACE}Definitions::${NAMESPACE}Definitions
${IARMBUS_LIBRARIES})

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

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

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

find_package(DS)
find_package(IARMBus)
find_package(CEC)

target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS} ../helpers)
target_include_directories(${MODULE_NAME} PRIVATE ${CEC_INCLUDE_DIRS})
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})

target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${CEC_LIBRARIES} ${DS_LIBRARIES} )
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})


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

target_link_libraries(${PLUGIN_IMPLEMENTATION}
PRIVATE
CompileSettingsDebug::CompileSettingsDebug
${NAMESPACE}Plugins::${NAMESPACE}Plugins)

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 HdmiCecSource/HdmiCecSource.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ precondition = ["Platform"]
callsign = "org.rdk.HdmiCecSource"
autostart = "false"
startuporder = "@PLUGIN_HDMICECSOURCE_STARTUPORDER@"

configuration = JSON()
rootobject = JSON()

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


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