summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangjin Lee <lsj119@samsung.com>2017-07-12 15:57:20 +0900
committerSangjin Lee <lsj119@samsung.com>2017-07-12 15:57:20 +0900
commit7be6080fae0f77ea0316bdbab6d083f5fb7b1068 (patch)
tree4b06934c270a94f1f4bf7ce5d650404982073ef2
parent005ace690811d2f611d076554058d69c8d44df27 (diff)
downloadmesa-7be6080fae0f77ea0316bdbab6d083f5fb7b1068.tar.gz
mesa-7be6080fae0f77ea0316bdbab6d083f5fb7b1068.tar.bz2
mesa-7be6080fae0f77ea0316bdbab6d083f5fb7b1068.zip
Change-Id: I01b5965b832df43765606865e254bc89514b915e
-rw-r--r--packaging/mesa.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index b3079c74fb0..47fd7a5bd29 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -36,6 +36,10 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.24
%endif
+%if "%{_with_emulator}" == "1"
+ExclusiveArch:
+%endif
+
%description
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
@@ -63,16 +67,14 @@ cp %{SOURCE1002} .
--disable-dri3 \
--enable-gles2 \
--enable-shared-glapi \
+ --disable-gbm \
+ --with-egl-platforms=tizen \
%ifarch %ix86 x86_64
- --with-egl-platforms=drm,wayland \
--with-dri-drivers="i915,swrast" \
- --with-gallium-drivers="i915,swrast" \
- --enable-xa
+ --with-gallium-drivers="i915,swrast"
%else
- --with-egl-platforms=tizen \
- --with-dri-drivers="" \
- --with-gallium-drivers=vc4 \
- --disable-gbm
+ --with-dri-drivers="swrast" \
+ --with-gallium-drivers="vc4,swrast"
%endif
make %{?jobs:-j%jobs}