From e1992419e87e541ebb989672589332572a71dffb Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Fri, 17 Jan 2025 17:31:09 +0900 Subject: [PATCH] [HALACR-16] rs_resource: common: HAL: Add new hal-api-codec [Role of HAL_MODULE_CODEC] Previously, the GStreamer element was used for codec HAL. But, the element has a dependency of GStreamer which is included in Platform image. and it should be rebuilt if the GStreamer is upgraded by Platform update. We can avoid this situation by adding Tizen codec HAL interfaces. The reference GStreamer element which uses Tizen codec HAL interfaces will be included in Platform image and no need to rebuild codec HAL backend in HAL image although the Platform is updated. [Newly added rootstrap information] /usr/lib/hal/libhal-api-codec.so* /usr/include/hal/hal-codec-interface*.h /usr/include/ /usr/lib Change-Id: I6988ce5714398c5a1ed764271d39a68de2a90620 Signed-off-by: Chanwoo Choi --- packaging/hal-rootstrap-data-common.spec | 2 ++ rs_resource/common/HAL/hal-api-codec-rs.xml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 rs_resource/common/HAL/hal-api-codec-rs.xml diff --git a/packaging/hal-rootstrap-data-common.spec b/packaging/hal-rootstrap-data-common.spec index 0368bac..0653f7f 100644 --- a/packaging/hal-rootstrap-data-common.spec +++ b/packaging/hal-rootstrap-data-common.spec @@ -189,6 +189,8 @@ Requires: pkgconfig(hal-api-radio) BuildRequires: pkgconfig(hal-api-radio) Requires: pkgconfig(hal-api-wifi) BuildRequires: pkgconfig(hal-api-wifi) +Requires: pkgconfig(hal-api-codec) +BuildRequires: pkgconfig(hal-api-codec) %endif %if "%{WITH_DA}" == "0" diff --git a/rs_resource/common/HAL/hal-api-codec-rs.xml b/rs_resource/common/HAL/hal-api-codec-rs.xml new file mode 100644 index 0000000..41c4749 --- /dev/null +++ b/rs_resource/common/HAL/hal-api-codec-rs.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + /usr/lib/hal/libhal-api-codec.so* + /usr/include/hal/hal-codec-interface*.h + + /usr/include/ + /usr/lib + -- 2.34.1