Add new package libtzplatform-config
authorSangYoun Kwak <sy.kwak@samsung.com>
Wed, 19 Jun 2024 03:38:22 +0000 (12:38 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Wed, 19 Jun 2024 05:22:40 +0000 (14:22 +0900)
A new package is added: platform/core/system/tizen-platform-config

Change-Id: I799de105bbbb4bfcdd0152974914791783f34e02
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/hal-rootstrap.spec
rs_resource/NativeAPI/libtzplatform-config-rs.xml [new file with mode: 0644]

index 8b63e92..5e97714 100644 (file)
@@ -80,6 +80,7 @@ BuildRequires:        pkgconfig(libudev)
 BuildRequires: pkgconfig(ttrace)
 BuildRequires: pkgconfig(capi-system-peripheral-io)
 BuildRequires: pkgconfig(libdrm)
+BuildRequires: pkgconfig(libtzplatform-config)
 
 BuildRequires:  pkgconfig(hal-api-audio)
 BuildRequires:  pkgconfig(hal-api-bluetooth)
diff --git a/rs_resource/NativeAPI/libtzplatform-config-rs.xml b/rs_resource/NativeAPI/libtzplatform-config-rs.xml
new file mode 100644 (file)
index 0000000..49d1ea9
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<rootstrap name="libtzplatform-config">
+
+  <emulator>
+    <rpm accept="libtzplatform-config" arch="i686"/>
+    <rpm accept="libtzplatform-config-devel" arch="i686"/>
+  </emulator>
+  <target>
+    <rpm accept="libtzplatform-config" arch="armv7l"/>
+    <rpm accept="libtzplatform-config-devel" arch="armv7l"/>
+  </target>
+
+  <pkgconfig>
+    <file>libtzplatform-config.pc</file>
+  </pkgconfig>
+
+  <necessary>
+    <file>/usr/include/tzplatform_config_public.h</file>
+    <file>/usr/include/tzplatform_variables.h</file>
+    <file>/usr/lib/libtzplatform-config-2.0.so*</file>
+  </necessary>
+
+</rootstrap>