Skip to content

Commit 3410ee7

Browse files
committed
RDKEMW-1691 : Revert Unsupported plugin changes.
1 parent fe008d6 commit 3410ee7

32 files changed

+4961
-0
lines changed

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ if(PLUGIN_AVOUTPUT)
4444
add_subdirectory(AVOutput)
4545
endif()
4646

47+
if(PLUGIN_HDMICEC2)
48+
add_subdirectory(HdmiCec_2)
49+
endif()
50+
4751
if(PLUGIN_HDMICECSOURCE)
4852
add_subdirectory(HdmiCecSource)
4953
endif()
@@ -60,6 +64,10 @@ if(PLUGIN_HDMIINPUT)
6064
add_subdirectory(HdmiInput)
6165
endif()
6266

67+
if(PLUGIN_COMPOSITEINPUT)
68+
add_subdirectory(CompositeInput)
69+
endif()
70+
6371
if(WPEFRAMEWORK_CREATE_IPKG_TARGETS)
6472
set(CPACK_GENERATOR "DEB")
6573
set(CPACK_DEB_COMPONENT_INSTALL ON)

CompositeInput/CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
All notable changes to this RDK Service will be documented in this file.
4+
5+
* Each RDK Service has a CHANGELOG file that contains all changes done so far. When version is updated, add a entry in the CHANGELOG.md at the top with user friendly information on what was changed with the new version. Please don't mention JIRA tickets in CHANGELOG.
6+
7+
* Please Add entry in the CHANGELOG for each version change and indicate the type of change with these labels:
8+
* **Added** for new features.
9+
* **Changed** for changes in existing functionality.
10+
* **Deprecated** for soon-to-be removed features.
11+
* **Removed** for now removed features.
12+
* **Fixed** for any bug fixes.
13+
* **Security** in case of vulnerabilities.
14+
15+
* Changes in CHANGELOG should be updated when commits are added to the main or release branches. There should be one CHANGELOG entry per JIRA Ticket. This is not enforced on sprint branches since there could be multiple changes for the same JIRA ticket during development.
16+
17+
## [1.1.5] - 2025-02-17
18+
### Added
19+
20+
Added support for handling the videoStreamInfoUpdate for composite Input.
21+
22+
## [1.0.0] - 2025-02-17
23+
### Added
24+
- Add CHANGELOG
25+
26+
### Change
27+
- Reset API version to 1.0.0
28+
- Change README to inform how to update changelog and API version

CompositeInput/CMakeLists.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# If not stated otherwise in this file or this component's license file the
2+
# following copyright and licenses apply:
3+
#
4+
# Copyright 2020 RDK Management
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
set(PLUGIN_NAME CompositeInput)
19+
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
20+
21+
set(PLUGIN_COMPOSITEINPUT_STARTUPORDER "" CACHE STRING "To configure startup order of CompositeInput plugin")
22+
23+
find_package(${NAMESPACE}Plugins REQUIRED)
24+
25+
add_library(${MODULE_NAME} SHARED
26+
CompositeInput.cpp
27+
Module.cpp)
28+
29+
set_target_properties(${MODULE_NAME} PROPERTIES
30+
CXX_STANDARD 11
31+
CXX_STANDARD_REQUIRED YES)
32+
33+
target_compile_definitions(${MODULE_NAME} PRIVATE MODULE_NAME=Plugin_${PLUGIN_NAME})
34+
35+
if (USE_THUNDER_R4)
36+
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}COM::${NAMESPACE}COM)
37+
else ()
38+
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Protocols::${NAMESPACE}Protocols)
39+
endif (USE_THUNDER_R4)
40+
41+
find_package(DS)
42+
find_package(IARMBus)
43+
44+
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})
45+
target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS})
46+
target_include_directories(${MODULE_NAME} PRIVATE ../helpers)
47+
48+
set_source_files_properties(CompositeInput.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")
49+
target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${DS_LIBRARIES} )
50+
51+
install(TARGETS ${MODULE_NAME}
52+
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)
53+
54+
write_config(${PLUGIN_NAME})
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
precondition = ["Platform"]
2+
callsign = "org.rdk.CompositeInput"
3+
autostart = "false"
4+
startuporder = "@PLUGIN_COMPOSITEINPUT_STARTUPORDER@"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
set (autostart false)
2+
set (preconditions Platform)
3+
set (callsign "org.rdk.CompositeInput")
4+
5+
if(PLUGIN_COMPOSITEINPUT_STARTUPORDER)
6+
set (startuporder ${PLUGIN_COMPOSITEINPUT_STARTUPORDER})
7+
endif()

0 commit comments

Comments
 (0)