summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/mesa.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index 315293bff00..2d3d21bed6b 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -28,6 +28,7 @@ BuildRequires: pkgconfig(libdrm) >= 2.4.75
BuildRequires: pkgconfig(libudev) > 150
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-server)
+BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(tpl-egl)
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(libtdm)
@@ -68,8 +69,8 @@ cp %{SOURCE1002} .
--disable-dri3 \
--enable-gles2 \
--enable-shared-glapi \
- --disable-gbm \
- --with-platforms=tizen \
+ --enable-gbm \
+ --with-platforms=tizen,wayland,drm \
%ifarch %ix86 x86_64
--with-dri-drivers="i915,swrast" \
--with-gallium-drivers="i915,swrast"
@@ -101,4 +102,5 @@ cp 99-GPU-Acceleration.rules %{buildroot}/etc/udev/rules.d
%{_libdir}/libglapi*
%{_libdir}/driver/*
%{_libdir}/dri/*
+%{_libdir}/libgbm*
/etc/udev/rules.d/99-GPU-Acceleration.rules