[HALACR-16] rs_resource: common: HAL: Add new hal-api-codec 90/318490/5
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 17 Jan 2025 08:31:09 +0000 (17:31 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 22 Jan 2025 07:37:53 +0000 (16:37 +0900)
[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]
<?xml version="1.0"?>
<rootstrap name="hal-api-codec">
  <email></email>
  <emulator>
    <rpm accept="hal-api-codec" arch="i686"/>
    <rpm accept="hal-api-codec-devel" arch="i686"/>
  </emulator>
  <target>
    <rpm accept="hal-api-codec" arch="armv7l"/>
    <rpm accept="hal-api-codec-devel" arch="armv7l"/>
  </target>
  <necessary>
      <file>/usr/lib/hal/libhal-api-codec.so*</file>
      <file>/usr/include/hal/hal-codec-interface*.h</file>
  </necessary>
  <include_path>/usr/include/</include_path>
  <library_path>/usr/lib</library_path>
</rootstrap>

Change-Id: I6988ce5714398c5a1ed764271d39a68de2a90620
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
packaging/hal-rootstrap-data-common.spec
rs_resource/common/HAL/hal-api-codec-rs.xml [new file with mode: 0644]

index 0368bac6570dd1400f2e1be5382566baa77b3331..0653f7f3dd3630bff8fba8487c5e842f2b50f32a 100644 (file)
@@ -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 (file)
index 0000000..41c4749
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<rootstrap name="hal-api-codec">
+  <email></email>
+  <emulator>
+    <rpm accept="hal-api-codec" arch="i686"/>
+    <rpm accept="hal-api-codec-devel" arch="i686"/>
+  </emulator>
+  <target>
+    <rpm accept="hal-api-codec" arch="armv7l"/>
+    <rpm accept="hal-api-codec-devel" arch="armv7l"/>
+  </target>
+  <necessary>
+      <file>/usr/lib/hal/libhal-api-codec.so*</file>
+      <file>/usr/include/hal/hal-codec-interface*.h</file>
+  </necessary>
+  <include_path>/usr/include/</include_path>
+  <library_path>/usr/lib</library_path>
+</rootstrap>