Add missing features for the VisionFive2 96/311296/2 accepted/tizen/unified/20240521.104308 accepted/tizen/unified/20240620.050725 accepted/tizen/unified/dev/20240620.011405 accepted/tizen/unified/x/20240521.064025
authorAleksander Świniarski <a.swiniarski@samsung.com>
Thu, 16 May 2024 10:14:47 +0000 (12:14 +0200)
committerAleksander Świniarski <a.swiniarski@samsung.com>
Mon, 20 May 2024 11:19:39 +0000 (13:19 +0200)
This commit adds following missing feature values for the VisionFive2:
* tizen.org/feature/camera
* tizen.org/feature/camera.back
* tizen.org/feature/media.video_recording
* tizen.org/feature/media.audio_recording

These feature are needed in the following test suites of the WebTCT:
* tct-capability-tests
* tct-mediacapture-w3c-tests
* tct-media-cordova-tests

Change-Id: Ibbf3f35466e2645d84fc22d5daa356f7c66393cd
Signed-off-by: Aleksander Świniarski <a.swiniarski@samsung.com>
packaging/platform-preset-boards-visionfive2-hal-backend.inc

index 18b9aa313d6812af9eb449d44aff8e060427a501..e465ecec06c4b77a25872ec9a18c74391bdb8a99 100644 (file)
@@ -125,6 +125,7 @@ Packages of Audio HAL and Feature for VISIONFIVE2.
 %files sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Audio
 %posttrans sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Audio
 %tizen_hal_feature tizen.org/feature/microphone true
+%tizen_hal_feature tizen.org/feature/media.audio_recording true
 
 ### VISIONFIVE2-GPS ###
 %package sub2-Preset_boards-VISIONFIVE2_HAL_Backend-GPS
@@ -145,6 +146,13 @@ Requires:  media-config-generic
 %description sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Camera_Common
 Packages of Camera HAL and Feature for VISIONFIVE2(Common).
 %files sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Camera_Common
+%posttrans sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Camera_Common
+%tizen_hal_feature tizen.org/feature/camera true
+%tizen_hal_feature tizen.org/feature/camera.back true
+%tizen_hal_feature tizen.org/feature/camera.back.flash false
+%tizen_hal_feature tizen.org/feature/camera.front false
+%tizen_hal_feature tizen.org/feature/camera.front.flash false
+%tizen_hal_feature tizen.org/feature/media.video_recording true
 
 ### VISIONFIVE2-Display ###
 %package sub2-Preset_boards-VISIONFIVE2_HAL_Backend-Display