From 101ea57e31fc12bde42863703093793d3b9285dd092ad578e820407c8db12c79 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 6 Dec 2013 10:51:38 +0000 Subject: [PATCH] Accepting request 209581 from openSUSE:Factory:PowerLE second attempt for ppc64le OBS-URL: https://build.opensuse.org/request/show/209581 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=346 --- Mesa.changes | 5 +++++ Mesa.spec | 26 +++++++++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Mesa.changes b/Mesa.changes index d31d91b..47f0010 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 6 07:02:50 UTC 2013 - adrian@suse.de + +- disable llvm support for ppc64le, llvm does not support ppc64le + ------------------------------------------------------------------- Mon Dec 2 10:54:26 UTC 2013 - sndirsch@suse.com diff --git a/Mesa.spec b/Mesa.spec index 98e079f..3b6ec29 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -52,7 +52,9 @@ BuildRequires: pkgconfig BuildRequires: python-base BuildRequires: xorg-x11-util-devel BuildRequires: pkgconfig(libdrm) >= 2.4.24 +%ifnarch ppc64le BuildRequires: pkgconfig(xshmfence) +%endif %ifarch x86_64 %ix86 BuildRequires: pkgconfig(libdrm_intel) >= 2.4.38 %endif @@ -597,7 +599,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %postun -n libgbm1 -p /sbin/ldconfig -%ifnarch s390 aarch64 m68k +%ifnarch s390 aarch64 m68k ppc64le %post -n libxatracker2 -p /sbin/ldconfig @@ -606,6 +608,9 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %post -n libXvMC_nouveau %postun -n libXvMC_nouveau +%endif +%ifnarch s390 s390x aarch64 m68k + %post -n libXvMC_r600 %postun -n libXvMC_r600 @@ -730,7 +735,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/libgbm.so %_libdir/pkgconfig/gbm.pc -%ifnarch s390 ppc aarch64 m68k +%ifnarch s390 ppc aarch64 m68k ppc64le %files -n libxatracker2 %defattr(-,root,root) @@ -744,7 +749,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %endif -%ifnarch s390 s390x aarch64 m68k +%ifnarch s390 s390x aarch64 m68k ppc64le %files -n libXvMC_nouveau %defattr(-,root,root) @@ -752,6 +757,15 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/libXvMCnouveau.so.1 %_libdir/libXvMCnouveau.so.1.0.0 +%files -n libvdpau_nouveau +%defattr(-,root,root) +%_libdir/vdpau/libvdpau_nouveau.so +%_libdir/vdpau/libvdpau_nouveau.so.1 +%_libdir/vdpau/libvdpau_nouveau.so.1.0.0 + +%endif +%ifnarch s390 s390x aarch64 m68k + %files -n libXvMC_r600 %defattr(-,root,root) %_libdir/libXvMCr600.so @@ -764,12 +778,6 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ %_libdir/vdpau/libvdpau_r600.so.1 %_libdir/vdpau/libvdpau_r600.so.1.0.0 -%files -n libvdpau_nouveau -%defattr(-,root,root) -%_libdir/vdpau/libvdpau_nouveau.so -%_libdir/vdpau/libvdpau_nouveau.so.1 -%_libdir/vdpau/libvdpau_nouveau.so.1.0.0 - %endif %if %llvm_r600