a few changes for weston, the wayland reference compositor (#790542):
- enable gbm and shared-glapi in configure command (the latter is required by the former) and add subpackages libgbm and libgbm-devel - add --with-egl-platforms=x11,wayland,drm to configure command and add subpackages libwayland-egl and libwayland-egl-devel
This commit is contained in:
parent
c31938b87e
commit
e94ec35108
83
mesa.spec
83
mesa.spec
@ -30,7 +30,7 @@
|
|||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 8.0.1
|
Version: 8.0.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -70,6 +70,8 @@ BuildRequires: libxml2-python
|
|||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: libtalloc-devel
|
BuildRequires: libtalloc-devel
|
||||||
BuildRequires: bison flex
|
BuildRequires: bison flex
|
||||||
|
BuildRequires: pkgconfig(wayland-client)
|
||||||
|
BuildRequires: pkgconfig(wayland-server)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Mesa
|
Mesa
|
||||||
@ -197,6 +199,48 @@ Requires: mesa-libOSMesa = %{version}-%{release}
|
|||||||
Mesa offscreen rendering development package
|
Mesa offscreen rendering development package
|
||||||
|
|
||||||
|
|
||||||
|
%package libgbm
|
||||||
|
Summary: Mesa gbm library
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires(post): /sbin/ldconfig
|
||||||
|
Requires(postun): /sbin/ldconfig
|
||||||
|
Provides: libgbm
|
||||||
|
|
||||||
|
%description libgbm
|
||||||
|
Mesa gbm runtime library.
|
||||||
|
|
||||||
|
|
||||||
|
%package libgbm-devel
|
||||||
|
Summary: Mesa libgbm development package
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: mesa-libgbm%{?_isa} = %{version}-%{release}
|
||||||
|
Provides: libgbm-devel
|
||||||
|
|
||||||
|
%description libgbm-devel
|
||||||
|
Mesa libgbm development package
|
||||||
|
|
||||||
|
|
||||||
|
%package libwayland-egl
|
||||||
|
Summary: Mesa libwayland-egl library
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires(post): /sbin/ldconfig
|
||||||
|
Requires(postun): /sbin/ldconfig
|
||||||
|
Provides: libwayland-egl
|
||||||
|
|
||||||
|
%description libwayland-egl
|
||||||
|
Mesa libwayland-egl runtime library.
|
||||||
|
|
||||||
|
|
||||||
|
%package libwayland-egl-devel
|
||||||
|
Summary: Mesa libwayland-egl development package
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: mesa-libwayland-egl%{?_isa} = %{version}-%{release}
|
||||||
|
Provides: libwayland-egl-devel
|
||||||
|
|
||||||
|
%description libwayland-egl-devel
|
||||||
|
Mesa libwayland-egl development package
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
%setup -q -n Mesa-%{version}%{?snapshot} -b0 -b2
|
||||||
#setup -q -n mesa-%{gitdate} -b2
|
#setup -q -n mesa-%{gitdate} -b2
|
||||||
@ -228,6 +272,9 @@ export CXXFLAGS="$RPM_OPT_FLAGS"
|
|||||||
--enable-gles1 \
|
--enable-gles1 \
|
||||||
--enable-gles2 \
|
--enable-gles2 \
|
||||||
--disable-gallium-egl \
|
--disable-gallium-egl \
|
||||||
|
--with-egl-platforms=x11,wayland,drm \
|
||||||
|
--enable-shared-glapi \
|
||||||
|
--enable-gbm \
|
||||||
%if %{with_hardware}
|
%if %{with_hardware}
|
||||||
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
||||||
--enable-gallium-llvm \
|
--enable-gallium-llvm \
|
||||||
@ -304,6 +351,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%postun libEGL -p /sbin/ldconfig
|
%postun libEGL -p /sbin/ldconfig
|
||||||
%post libGLES -p /sbin/ldconfig
|
%post libGLES -p /sbin/ldconfig
|
||||||
%postun libGLES -p /sbin/ldconfig
|
%postun libGLES -p /sbin/ldconfig
|
||||||
|
%post libgbm -p /sbin/ldconfig
|
||||||
|
%postun libgbm -p /sbin/ldconfig
|
||||||
|
%post libwayland-egl -p /sbin/ldconfig
|
||||||
|
%postun libwayland-egl -p /sbin/ldconfig
|
||||||
|
|
||||||
%files libGL
|
%files libGL
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -424,7 +475,37 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libOSMesa.so
|
%{_libdir}/libOSMesa.so
|
||||||
%{_libdir}/pkgconfig/osmesa.pc
|
%{_libdir}/pkgconfig/osmesa.pc
|
||||||
|
|
||||||
|
%files libgbm
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc docs/COPYING
|
||||||
|
%{_libdir}/libgbm.so.1
|
||||||
|
%{_libdir}/libgbm.so.1.*
|
||||||
|
|
||||||
|
%files libgbm-devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/libgbm.so
|
||||||
|
%{_includedir}/gbm.h
|
||||||
|
%{_libdir}/pkgconfig/gbm.pc
|
||||||
|
|
||||||
|
%files libwayland-egl
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc docs/COPYING
|
||||||
|
%{_libdir}/libwayland-egl.so.1
|
||||||
|
%{_libdir}/libwayland-egl.so.1.*
|
||||||
|
|
||||||
|
%files libwayland-egl-devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_libdir}/libwayland-egl.so
|
||||||
|
%{_libdir}/pkgconfig/wayland-egl.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 18 2012 Thorsten Leemhuis <fedora@leemhuis.info> 8.0.1-2
|
||||||
|
- a few changes for weston, the wayland reference compositor (#790542):
|
||||||
|
- enable gbm and shared-glapi in configure command (the latter is required by
|
||||||
|
the former) and add subpackages libgbm and libgbm-devel
|
||||||
|
- add --with-egl-platforms=x11,wayland,drm to configure command and add
|
||||||
|
subpackages libwayland-egl and libwayland-egl-devel
|
||||||
|
|
||||||
* Fri Feb 17 2012 Adam Jackson <ajax@redhat.com> 8.0.1-1
|
* Fri Feb 17 2012 Adam Jackson <ajax@redhat.com> 8.0.1-1
|
||||||
- Mesa 8.0.1
|
- Mesa 8.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user