summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>