Accepting request 233580 from home:Andreas_Schwab:Factory

- no shared llvm libs on ppc64
- vdpau no longer enabled by default
- xa or gallium-gbm implies gallium-loader

OBS-URL: https://build.opensuse.org/request/show/233580
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=374
This commit is contained in:
Stefan Dirsch 2014-05-12 13:08:48 +00:00 committed by Git OBS Bridge
parent b394ad0e2e
commit 2a76c69a39
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 12 09:32:19 UTC 2014 - schwab@suse.de
- no shared llvm libs on ppc64
- vdpau no longer enabled by default
- xa or gallium-gbm implies gallium-loader
-------------------------------------------------------------------
Sat May 10 14:00:50 UTC 2014 - tobias.johannes.klausmann@mni.thm.de

View File

@ -18,12 +18,20 @@
%define glamor 1
# --enable-gallium-egl requires non-empty --with-gallium-drivers (default
# is r300,r600,svga,swrast, which also enables VDPAU support for r600)
# is r300,r600,svga,swrast)
%ifnarch s390 s390x aarch64 m68k
%define egl_gallium 1
%define vdpau_r600 1
%else
%define egl_gallium 0
%endif
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x
%define gallium_loader 1
%else
%define gallium_loader 0
%endif
%ifarch %ix86 x86_64 %arm ppc64
%define vdpau_r600 1
%else
%define vdpau_r600 0
%endif
%ifarch %ix86 x86_64
@ -36,7 +44,7 @@
%else
%define xvmc_support 0
%endif
%ifarch %ix86 x86_64 %arm ppc64 ia64 ppc %sparc hppa
%ifarch %ix86 x86_64 %arm ppc64
%define vdpau_nouveau 1
%else
%define vdpau_nouveau 0
@ -553,6 +561,9 @@ autoreconf -fi
%ifarch %arm ppc64
--enable-xa \
--enable-gallium-llvm \
%ifarch ppc64
--disable-llvm-shared-libs \
%endif
--with-dri-drivers=nouveau \
%ifarch %arm
--with-gallium-drivers=r300,r600,nouveau,swrast,svga,freedreno \
@ -665,6 +676,8 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
%if %egl_gallium
%dir %_libdir/egl/
%_libdir/egl/egl_gallium.so
%endif
%if %gallium_loader
%dir %_libdir/gallium-pipe/
%_libdir/gallium-pipe/pipe_*.so
%endif