SHA256
1
0
forked from pool/Mesa

Accepting request 258365 from home:mayerjosua:branches:X11:XOrg

move dri devle files from Mesa-devel to their own package.
This prevents pkgconfig(dri) from pulling in *all* of Mesa, which can be troublesome if one uses his own non-mesa packages for libraries such as libGL and libGLESv2.

OBS-URL: https://build.opensuse.org/request/show/258365
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=403
This commit is contained in:
Stefan Dirsch 2014-10-27 07:38:50 +00:00 committed by Git OBS Bridge
parent 1a69aaaaa8
commit f70f436e9d
2 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Oct 25 10:24:33 UTC 2014 - josua.mayer97@gmail.com
- add Mesa-devel-dri package:
This way dri.pc will no longer pull in all of Mesa, just as
packages requiring dri do not have to require Mesa-devel anymore
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 13 19:48:42 UTC 2014 - seanpwatson@live.com Mon Oct 13 19:48:42 UTC 2014 - seanpwatson@live.com

View File

@ -167,6 +167,7 @@ just Mesa or The Mesa 3-D graphics library.
Summary: Libraries, includes and more to develop Mesa applications Summary: Libraries, includes and more to develop Mesa applications
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Requires: Mesa = %version Requires: Mesa = %version
Requires: Mesa-dri-devel = %version
Requires: Mesa-libEGL-devel = %version Requires: Mesa-libEGL-devel = %version
Requires: Mesa-libGL-devel = %version Requires: Mesa-libGL-devel = %version
Requires: Mesa-libGLESv1_CM-devel = %version Requires: Mesa-libGLESv1_CM-devel = %version
@ -380,6 +381,15 @@ Development files for the Mesa GL API module which is responsible for
dispatching all the gl* functions. It is intended to be mainly used by dispatching all the gl* functions. It is intended to be mainly used by
the Mesa-libGLES* packages. the Mesa-libGLES* packages.
%package -n Mesa-dri-devel
Summary: Development files for the DRI API
Group: Development/Libraries/C and C++
Requires: Mesa = %version
%description -n Mesa-dri-devel
This package contains the development environment required for
compiling programs and libraries using the DRI API.
%package -n libgbm1 %package -n libgbm1
Summary: Generic buffer management API Summary: Generic buffer management API
Group: System/Libraries Group: System/Libraries
@ -833,10 +843,13 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libglapi.so %_libdir/libglapi.so
%files devel %files -n Mesa-dri-devel
%defattr(-,root,root) %defattr(-,root,root)
%doc docs/*.html
%_includedir/GL/internal %_includedir/GL/internal
%_libdir/pkgconfig/dri.pc %_libdir/pkgconfig/dri.pc
%files devel
%defattr(-,root,root)
%doc docs/*.html
%changelog %changelog