Skip to content

Commit 894e784

Browse files
authored
Merge pull request #16 from rdkcentral/develop
Update
2 parents 29ac4f1 + 9d73332 commit 894e784

13 files changed

+1845
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
44

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

7+
#### [1.0.3](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.2...1.0.3)
8+
9+
- RDKEMW-1691 : Revert Unsupported plugin changes [`#13`](https://github.com/rdkcentral/entservices-inputoutput/pull/13)
10+
- Merge tag '1.0.2' into develop [`00db359`](https://github.com/rdkcentral/entservices-inputoutput/commit/00db359737a5db24230be599bbe5f3b0345b9673)
11+
712
#### [1.0.2](https://github.com/rdkcentral/entservices-inputoutput/compare/1.0.1...1.0.2)
813

14+
> 25 February 2025
15+
916
- RDKEMW-1691 : Remove unsupported plugins in rdk-e [`#4`](https://github.com/rdkcentral/entservices-inputoutput/pull/4)
1017
- RDK-55887: Update the Plugin Client with QueryInterface with CallSign [`#8`](https://github.com/rdkcentral/entservices-inputoutput/pull/8)
1118
- test [`43988dc`](https://github.com/rdkcentral/entservices-inputoutput/commit/43988dcac9cd750a0afab83f2e85c44f3cb79b7b)

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ if(PLUGIN_HDCPPROFILE)
5656
add_subdirectory(HdcpProfile)
5757
endif()
5858

59+
if(PLUGIN_HDMIINPUT)
60+
add_subdirectory(HdmiInput)
61+
endif()
62+
63+
5964
if(WPEFRAMEWORK_CREATE_IPKG_TARGETS)
6065
set(CPACK_GENERATOR "DEB")
6166
set(CPACK_DEB_COMPONENT_INSTALL ON)

HdmiInput/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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.4.0] - 2025-02-17
18+
### Added
19+
- Added support for Getting the Maximum HDMI Compatibility version for the given port.
20+
21+
## [1.0.0] - 2025-02-17
22+
### Added
23+
- Add CHANGELOG
24+
25+
### Change
26+
- Reset API version to 1.0.0
27+
- Change README to inform how to update changelog and API version

HdmiInput/CMakeLists.txt

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 HdmiInput)
19+
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})
20+
21+
set(PLUGIN_HDMIINPUT_STARTUPORDER "" CACHE STRING "To configure startup order of HdmiInput plugin")
22+
23+
find_package(${NAMESPACE}Plugins REQUIRED)
24+
if (USE_THUNDER_R4)
25+
find_package(${NAMESPACE}COM REQUIRED)
26+
else ()
27+
find_package(${NAMESPACE}Protocols REQUIRED)
28+
endif (USE_THUNDER_R4)
29+
30+
add_library(${MODULE_NAME} SHARED
31+
HdmiInput.cpp
32+
Module.cpp
33+
)
34+
35+
set_target_properties(${MODULE_NAME} PROPERTIES
36+
CXX_STANDARD 11
37+
CXX_STANDARD_REQUIRED YES)
38+
39+
target_compile_definitions(${MODULE_NAME} PRIVATE MODULE_NAME=Plugin_${PLUGIN_NAME})
40+
41+
target_include_directories(${MODULE_NAME} PRIVATE ../helpers)
42+
43+
if (USE_THUNDER_R4)
44+
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}COM::${NAMESPACE}COM)
45+
else ()
46+
target_link_libraries(${MODULE_NAME} PRIVATE ${NAMESPACE}Protocols::${NAMESPACE}Protocols)
47+
endif (USE_THUNDER_R4)
48+
49+
50+
find_package(DS)
51+
find_package(IARMBus)
52+
53+
target_include_directories(${MODULE_NAME} PRIVATE ${DS_INCLUDE_DIRS})
54+
target_include_directories(${MODULE_NAME} PRIVATE ${IARMBUS_INCLUDE_DIRS})
55+
target_include_directories(${MODULE_NAME} PRIVATE ../helpers)
56+
57+
set_source_files_properties(HdmiInput.cpp PROPERTIES COMPILE_FLAGS "-fexceptions")
58+
59+
target_link_libraries(${MODULE_NAME} PUBLIC ${NAMESPACE}Plugins::${NAMESPACE}Plugins ${IARMBUS_LIBRARIES} ${DS_LIBRARIES} )
60+
61+
install(TARGETS ${MODULE_NAME}
62+
DESTINATION lib/${STORAGE_DIRECTORY}/plugins)
63+
64+
write_config(${PLUGIN_NAME})

HdmiInput/HdmiInput.conf.in

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.HdmiInput"
3+
autostart = "false"
4+
startuporder = "@PLUGIN_HDMIINPUT_STARTUPORDER@"

HdmiInput/HdmiInput.config

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.HdmiInput")
4+
5+
if(PLUGIN_HDMIINPUT_STARTUPORDER)
6+
set (startuporder ${PLUGIN_HDMIINPUT_STARTUPORDER})
7+
endif()

0 commit comments

Comments
 (0)