Accepting request 104198 from home:jengelh:branches:X11:XOrg
Dependencies update OBS-URL: https://build.opensuse.org/request/show/104198 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=188
This commit is contained in:
parent
bb2a4a58b4
commit
ae5c8dcaaf
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 12 19:24:03 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Update dependencies according to configure.ac,
|
||||
use pkgconfig symbols
|
||||
- Parallel build with %_smp_mflags
|
||||
- Remove redundant tags/sections
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 20:01:37 UTC 2012 - sndirsch@suse.com
|
||||
|
||||
|
35
Mesa.spec
35
Mesa.spec
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
%define _version 7.11.1
|
||||
|
||||
@ -23,27 +22,38 @@ Version: 7.11.1
|
||||
Release: 0
|
||||
|
||||
Name: Mesa
|
||||
BuildRequires: autoconf >= 2.59
|
||||
BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libdrm-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libtalloc-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxml2-python
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: python-base
|
||||
BuildRequires: xorg-x11-util-devel
|
||||
BuildRequires: pkgconfig(dri2proto) >= 2.1
|
||||
BuildRequires: pkgconfig(glproto) >= 1.4.11
|
||||
BuildRequires: pkgconfig(libdrm) >= 2.4.24
|
||||
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.24
|
||||
BuildRequires: pkgconfig(libdrm_nouveau) >= 0.6
|
||||
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.24
|
||||
BuildRequires: pkgconfig(libudev) > 150
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(x11-xcb)
|
||||
BuildRequires: pkgconfig(xcb-dri2)
|
||||
BuildRequires: pkgconfig(xcb-glx)
|
||||
BuildRequires: pkgconfig(xdamage)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xfixes)
|
||||
BuildRequires: pkgconfig(xxf86vm)
|
||||
%ifarch %ix86 x86_64
|
||||
BuildRequires: llvm-devel
|
||||
%endif
|
||||
Url: http://www.mesa3d.org
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
Provides: xorg-x11-Mesa = %{version} intel-i810-Mesa = %{version} Mesa7 = %{version}
|
||||
Obsoletes: xorg-x11-Mesa < %{version} intel-i810-Mesa < %{version} Mesa7 < %{version}
|
||||
Obsoletes: Mesa-nouveau3d
|
||||
@ -54,6 +64,8 @@ Provides: XFree86-Mesa-64bit = %{version} Mesa-64bit < %{version}
|
||||
%endif
|
||||
#
|
||||
Summary: System for rendering interactive 3-D graphics
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
Source: MesaLib-%{_version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
Source3: README.updates
|
||||
@ -172,7 +184,7 @@ autoreconf -fi
|
||||
%endif
|
||||
--disable-glut \
|
||||
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
# build and install Indirect Rendering only libGL
|
||||
make realclean
|
||||
@ -183,13 +195,13 @@ make realclean
|
||||
--with-gallium-drivers="" \
|
||||
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
sed -i 's/GL_LIB = .*/GL_LIB = IndirectGL/g' configs/autoconf
|
||||
make %{?jobs:-j%jobs}
|
||||
make %{?_smp_mflags}
|
||||
cp -a %{_lib}/libIndirectGL.so.* %{_lib}/libOSMesa.so* \
|
||||
$RPM_BUILD_ROOT/usr/%{_lib}
|
||||
for dir in ../xc/doc/man/{GL/gl,GL/glx,GLU}; do
|
||||
pushd $dir
|
||||
xmkmf -a
|
||||
make %{?jobs:-j%jobs};
|
||||
make %{?_smp_mflags}
|
||||
make install.man DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} LIBMANSUFFIX=3gl
|
||||
popd
|
||||
done
|
||||
@ -202,9 +214,6 @@ mkdir -p $RPM_BUILD_ROOT/etc
|
||||
install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
|
||||
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user