summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangYoun Kwak <sy.kwak@samsung.com>2024-06-18 13:29:25 +0900
committerSangYoun Kwak <sy.kwak@samsung.com>2024-06-18 13:49:42 +0900
commit2aa29a5ce4c4e3c91f8d8336337f70f15d25ae33 (patch)
tree8b5417abbe8f6cde2a4d42fb947eb7728fe44061
parentbf99754806a168ddd0e1765079c3b4fc05ede6b5 (diff)
downloadrootstrap-2aa29a5ce4c4e3c91f8d8336337f70f15d25ae33.tar.gz
rootstrap-2aa29a5ce4c4e3c91f8d8336337f70f15d25ae33.tar.bz2
rootstrap-2aa29a5ce4c4e3c91f8d8336337f70f15d25ae33.zip
Add new package libdrm
A new package is added: platform/upstream/libdrm Change-Id: Icd942fb9da352190594409f9df3310e6d0bda295 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
-rw-r--r--packaging/hal-rootstrap.spec1
-rw-r--r--rs_resource/OSS/libdrm-rs.xml59
2 files changed, 60 insertions, 0 deletions
diff --git a/packaging/hal-rootstrap.spec b/packaging/hal-rootstrap.spec
index 7b3dff0..8b63e92 100644
--- a/packaging/hal-rootstrap.spec
+++ b/packaging/hal-rootstrap.spec
@@ -79,6 +79,7 @@ BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(ttrace)
BuildRequires: pkgconfig(capi-system-peripheral-io)
+BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(hal-api-audio)
BuildRequires: pkgconfig(hal-api-bluetooth)
diff --git a/rs_resource/OSS/libdrm-rs.xml b/rs_resource/OSS/libdrm-rs.xml
new file mode 100644
index 0000000..38808a9
--- /dev/null
+++ b/rs_resource/OSS/libdrm-rs.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<rootstrap name="libdrm">
+ <emulator>
+ <rpm accept="libdrm" arch="i686"/>
+ <rpm accept="libdrm-devel" arch="i686"/>
+ </emulator>
+
+ <target>
+ <rpm accept="libdrm" arch="armv7l"/>
+ <rpm accept="libdrm-devel" arch="armv7l"/>
+ </target>
+
+ <pkgconfig>
+ <file>libdrm.pc</file>
+ </pkgconfig>
+
+ <necessary>
+ <file>/usr/include/exynos/exynos_drm.h</file>
+ <file>/usr/include/exynos/exynos_fimg2d.h</file>
+ <file>/usr/include/libdrm/amdgpu_drm.h</file>
+ <file>/usr/include/libdrm/drm_fourcc.h</file>
+ <file>/usr/include/libdrm/drm.h</file>
+ <file>/usr/include/libdrm/drm_mode.h</file>
+ <file>/usr/include/libdrm/drm_sarea.h</file>
+ <file>/usr/include/libdrm/exynos_drmif.h</file>
+ <file>/usr/include/libdrm/i915_drm.h</file>
+ <file>/usr/include/libdrm/mach64_drm.h</file>
+ <file>/usr/include/libdrm/mga_drm.h</file>
+ <file>/usr/include/libdrm/msm_drm.h</file>
+ <file>/usr/include/libdrm/nouveau_drm.h</file>
+ <file>/usr/include/libdrm/qxl_drm.h</file>
+ <file>/usr/include/libdrm/r128_drm.h</file>
+ <file>/usr/include/libdrm/radeon_drm.h</file>
+ <file>/usr/include/libdrm/savage_drm.h</file>
+ <file>/usr/include/libdrm/sis_drm.h</file>
+ <file>/usr/include/libdrm/tegra_drm.h</file>
+ <file>/usr/include/libdrm/vc4_drm.h</file>
+ <file>/usr/include/libdrm/vc4_packet.h</file>
+ <file>/usr/include/libdrm/vc4_qpu_defines.h</file>
+ <file>/usr/include/libdrm/via_drm.h</file>
+ <file>/usr/include/libdrm/vigs.h</file>
+ <file>/usr/include/libdrm/virtgpu_drm.h</file>
+ <file>/usr/include/libdrm/vmwgfx_drm.h</file>
+ <file>/usr/include/libsync.h</file>
+ <file>/usr/include/xf86drm.h</file>
+ <file>/usr/include/xf86drmMode.h</file>
+ <file>/usr/lib/libdrm_exynos.so</file>
+ <file>/usr/lib/libdrm_exynos.so.1</file>
+ <file>/usr/lib/libdrm_exynos.so.1.0.0</file>
+ <file>/usr/lib/libdrm_freedreno.so.1</file>
+ <file>/usr/lib/libdrm_freedreno.so.1.0.0</file>
+ <file>/usr/lib/libdrm.so</file>
+ <file>/usr/lib/libdrm.so.2</file>
+ <file>/usr/lib/libdrm.so.2.4.0</file>
+ <file>/usr/lib/libdrm_vigs.so</file>
+ <file>/usr/lib/libdrm_vigs.so.10</file>
+ <file>/usr/lib/libdrm_vigs.so.10.0.0</file>
+ </necessary>
+</rootstrap>