2007-01-10 01:57:03 +01:00
|
|
|
#
|
2011-04-27 09:08:15 +02:00
|
|
|
# spec file for package Mesa
|
2007-01-10 01:57:03 +01:00
|
|
|
#
|
2014-01-13 12:55:17 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 01:57:03 +01:00
|
|
|
#
|
2008-08-11 23:05:30 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2012-02-09 21:16:37 +01:00
|
|
|
#
|
|
|
|
|
- Update to Mesa 8.0.1
* Removed all DRI drivers that did not support DRI2.
Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and
unichrome were removed.
* Removed all remnants of paletted texture support. As required
by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded
to a color (e.g., RGBA) texture. However, the data cannot be
stored internally as color-index.
* Removed support for GL_APPLE_client_storage extension.
* Removed the classic Mesa r300 and r600 drivers, which are
superseded by the gallium drivers for this hardware.
* Removed the dead Gallium i965, cell and failover drivers,
which were either broken and with nobody in sight to fix
the situation or deprecated.
- obsoletes u_GLX-SWrast-Make-GLX-with-SWrast-enabled-work-on-olde.patch
(git commit #63a6fd6603574c1c01324fbeb0863e39d3864c16)
- obsoletes U_Mesa-7.11-llvm3.patch
- obsoletes Mesa-llvm-3.0.patch
- disabled u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
for now (obsolete as well?)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=196
2012-02-23 14:38:22 +01:00
|
|
|
|
2012-05-27 00:31:19 +02:00
|
|
|
%define glamor 1
|
2014-04-01 11:29:15 +02:00
|
|
|
# --enable-gallium-egl requires non-empty --with-gallium-drivers (default
|
2014-05-12 15:08:48 +02:00
|
|
|
# is r300,r600,svga,swrast)
|
2013-11-25 17:43:31 +01:00
|
|
|
%ifnarch s390 s390x aarch64 m68k
|
2013-07-15 15:37:01 +02:00
|
|
|
%define egl_gallium 1
|
2013-08-12 13:31:54 +02:00
|
|
|
%else
|
|
|
|
%define egl_gallium 0
|
2014-05-12 15:08:48 +02:00
|
|
|
%endif
|
|
|
|
%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le s390x
|
|
|
|
%define gallium_loader 1
|
|
|
|
%else
|
|
|
|
%define gallium_loader 0
|
|
|
|
%endif
|
2014-08-25 10:07:28 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64 ppc64le
|
2014-05-12 15:08:48 +02:00
|
|
|
%define vdpau_r600 1
|
|
|
|
%else
|
2014-04-01 11:29:15 +02:00
|
|
|
%define vdpau_r600 0
|
2013-08-12 13:31:54 +02:00
|
|
|
%endif
|
|
|
|
%ifarch %ix86 x86_64
|
2013-07-17 04:25:46 +02:00
|
|
|
%define llvm_r600 1
|
2013-08-12 13:31:54 +02:00
|
|
|
%else
|
2013-10-07 15:32:11 +02:00
|
|
|
%define llvm_r600 0
|
2013-07-26 10:56:04 +02:00
|
|
|
%endif
|
2014-04-01 11:29:15 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64
|
|
|
|
%define xvmc_support 1
|
|
|
|
%else
|
|
|
|
%define xvmc_support 0
|
|
|
|
%endif
|
2014-05-12 15:08:48 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64
|
2014-04-01 11:29:15 +02:00
|
|
|
%define vdpau_nouveau 1
|
|
|
|
%else
|
|
|
|
%define vdpau_nouveau 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# llvm-config on ppc64 is currently broken (bnc#871128)
|
|
|
|
# /usr/lib64/libLLVMSupport.a(Process.cpp.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
|
|
|
|
# /home/abuild/rpmbuild/BUILD/llvm/lib/Support/Process.cpp:(.text+0xcd4): undefined reference to `setupterm'
|
|
|
|
%ifarch ppc64
|
|
|
|
%define egl_gallium 0
|
|
|
|
%endif
|
2013-07-15 15:37:01 +02:00
|
|
|
|
2013-08-21 13:54:17 +02:00
|
|
|
%define _name_archive MesaLib
|
2014-08-07 14:38:38 +02:00
|
|
|
%define _version 10.2.5
|
2008-02-25 17:29:39 +01:00
|
|
|
|
2012-02-22 00:59:17 +01:00
|
|
|
Name: Mesa
|
2014-08-07 14:38:38 +02:00
|
|
|
Version: 10.2.5
|
2011-12-01 12:25:10 +01:00
|
|
|
Release: 0
|
2012-08-27 11:57:08 +02:00
|
|
|
BuildRequires: autoconf >= 2.60
|
2011-12-01 12:25:10 +01:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc-c++
|
2013-07-15 15:37:01 +02:00
|
|
|
%if %llvm_r600
|
|
|
|
BuildRequires: libelf-devel
|
|
|
|
%endif
|
2014-04-25 10:38:43 +02:00
|
|
|
BuildRequires: imake
|
2011-12-01 12:25:10 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libtalloc-devel
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: libtool
|
2011-12-01 12:25:10 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python-base
|
2014-05-05 10:12:09 +02:00
|
|
|
BuildRequires: python-xml
|
2014-04-25 10:38:43 +02:00
|
|
|
BuildRequires: pkgconfig(dri2proto)
|
|
|
|
BuildRequires: pkgconfig(dri3proto)
|
|
|
|
BuildRequires: pkgconfig(glproto)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(libdrm) >= 2.4.24
|
2014-04-25 10:38:43 +02:00
|
|
|
BuildRequires: pkgconfig(presentproto)
|
2013-12-02 11:29:34 +01:00
|
|
|
BuildRequires: pkgconfig(xshmfence)
|
2014-01-16 10:39:56 +01:00
|
|
|
%ifarch %arm
|
|
|
|
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.43
|
|
|
|
%endif
|
2012-02-24 16:08:05 +01:00
|
|
|
%ifarch x86_64 %ix86
|
2013-07-15 15:37:01 +02:00
|
|
|
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.38
|
2012-02-24 16:08:05 +01:00
|
|
|
%endif
|
2013-07-15 15:37:01 +02:00
|
|
|
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.41
|
|
|
|
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.45
|
2013-02-04 17:42:19 +01:00
|
|
|
BuildRequires: pkgconfig(libkms) >= 1.0.0
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(libudev) > 150
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-server)
|
|
|
|
%endif
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
|
|
BuildRequires: pkgconfig(xcb-dri2)
|
2013-12-02 11:29:34 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-dri3)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-glx)
|
2013-12-02 11:29:34 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-present)
|
2012-02-13 11:05:48 +01:00
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xxf86vm)
|
2013-07-15 15:37:01 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2013-09-25 10:23:56 +02:00
|
|
|
%ifarch %arm ppc64 s390x %ix86 x86_64
|
2011-09-06 14:53:53 +02:00
|
|
|
BuildRequires: llvm-devel
|
2011-09-05 11:56:52 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
BuildRequires: libXvMC-devel
|
|
|
|
BuildRequires: libvdpau-devel
|
2013-03-13 17:30:13 +01:00
|
|
|
|
2007-10-31 17:10:54 +01:00
|
|
|
Url: http://www.mesa3d.org
|
2012-02-22 00:59:17 +01:00
|
|
|
Provides: Mesa7 = %{version}
|
|
|
|
Obsoletes: Mesa7 < %{version}
|
|
|
|
Provides: intel-i810-Mesa = %{version}
|
|
|
|
Obsoletes: intel-i810-Mesa < %{version}
|
2013-09-20 13:57:54 +02:00
|
|
|
Provides: Mesa-libIndirectGL1 = %{version}
|
|
|
|
Obsoletes: Mesa-libIndirectGL1 < %{version}
|
2012-02-22 00:59:17 +01:00
|
|
|
Provides: xorg-x11-Mesa = %{version}
|
2011-09-01 13:33:29 +02:00
|
|
|
Obsoletes: Mesa-nouveau3d
|
2012-03-01 14:56:33 +01:00
|
|
|
Obsoletes: xorg-x11-Mesa < %{version}
|
2008-11-03 12:26:40 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
2012-03-01 14:56:33 +01:00
|
|
|
Obsoletes: Mesa-64bit < %{version}
|
|
|
|
Obsoletes: XFree86-Mesa-64bit < %{version}
|
2012-02-22 00:59:17 +01:00
|
|
|
Provides: Mesa-64bit < %{version}
|
|
|
|
Provides: XFree86-Mesa-64bit = %{version}
|
2008-11-03 12:26:40 +01:00
|
|
|
%endif
|
|
|
|
#
|
2010-07-19 13:29:59 +02:00
|
|
|
Summary: System for rendering interactive 3-D graphics
|
2012-02-13 11:05:48 +01:00
|
|
|
License: MIT
|
|
|
|
Group: System/Libraries
|
2013-12-02 11:39:41 +01:00
|
|
|
Source: %{_name_archive}-%{_version}.tar.bz2
|
2009-12-16 09:22:00 +01:00
|
|
|
Source2: baselibs.conf
|
2007-01-10 01:57:03 +01:00
|
|
|
Source3: README.updates
|
|
|
|
Source4: manual-pages.tar.bz2
|
2012-02-21 11:57:47 +01:00
|
|
|
Source6: %name-rpmlintrc
|
2014-05-05 10:12:09 +02:00
|
|
|
|
2010-03-26 00:19:38 +01:00
|
|
|
# to be upstreamed
|
2011-06-10 12:03:49 +02:00
|
|
|
Patch11: u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
|
2012-05-30 22:23:12 +02:00
|
|
|
# Patch from Fedora, fix 16bpp in llvmpipe
|
2012-05-30 22:32:01 +02:00
|
|
|
Patch13: u_mesa-8.0.1-fix-16bpp.patch
|
2012-08-24 11:43:18 +02:00
|
|
|
# Patch from Fedora, use shmget when available, under llvmpipe
|
2013-05-02 14:57:35 +02:00
|
|
|
Patch15: u_mesa-8.0-llvmpipe-shmget.patch
|
2014-07-30 09:26:57 +02:00
|
|
|
Patch16: U_mesa-glx-Reduce-error-log-level.patch
|
2014-08-22 16:05:52 +02:00
|
|
|
Patch17: u_Suppress-any-libGL-.-warnings-when-LIBGL_DEBUG-is-se.patch
|
2013-03-13 17:30:13 +01:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Mesa is a 3-D graphics library with an API which is very similar to
|
|
|
|
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
|
|
|
|
syntax or state machine, it is being used with authorization from
|
|
|
|
Silicon Graphics, Inc.(SGI). However, the author does not possess an
|
|
|
|
OpenGL license from SGI, and makes no claim that Mesa is in any way a
|
|
|
|
compatible replacement for OpenGL or associated with SGI. Those who
|
|
|
|
want a licensed implementation of OpenGL should contact a licensed
|
|
|
|
vendor.
|
|
|
|
|
|
|
|
Please do not refer to the library as MesaGL (for legal reasons). It's
|
|
|
|
just Mesa or The Mesa 3-D graphics library.
|
|
|
|
|
|
|
|
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
|
|
|
|
2012-02-22 00:59:17 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Libraries, includes and more to develop Mesa applications
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: Mesa = %version
|
|
|
|
Requires: Mesa-libEGL-devel = %version
|
|
|
|
Requires: Mesa-libGL-devel = %version
|
|
|
|
Requires: Mesa-libGLESv1_CM-devel = %version
|
|
|
|
Requires: Mesa-libGLESv2-devel = %version
|
2012-08-27 11:57:08 +02:00
|
|
|
Requires: Mesa-libglapi-devel = %version
|
|
|
|
Requires: libOSMesa-devel = %version
|
2012-02-22 00:59:17 +01:00
|
|
|
Requires: libgbm-devel
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-03-13 17:30:13 +01:00
|
|
|
Requires: libwayland-egl-devel
|
|
|
|
%endif
|
2012-02-22 00:59:17 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
2012-03-01 14:56:33 +01:00
|
|
|
Obsoletes: Mesa-devel-64bit < %{version}
|
|
|
|
Obsoletes: XFree86-Mesa-devel-64bit < %{version}
|
2012-02-22 00:59:17 +01:00
|
|
|
Provides: Mesa-devel-64bit = %{version}
|
|
|
|
Provides: XFree86-Mesa-devel-64bit = %{version}
|
|
|
|
%endif
|
|
|
|
#
|
|
|
|
Provides: Mesa-devel-static = %{version}
|
|
|
|
Provides: xorg-x11-Mesa-devel = %{version}
|
2012-03-01 14:56:33 +01:00
|
|
|
Obsoletes: Mesa-devel-static < %{version}
|
|
|
|
Obsoletes: xorg-x11-Mesa-devel < %{version}
|
2013-09-20 13:57:54 +02:00
|
|
|
Provides: Mesa-libIndirectGL-devel = %{version}
|
|
|
|
Obsoletes: Mesa-libIndirectGL-devel < %{version}
|
2012-02-22 00:59:17 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Mesa is a 3-D graphics library with an API which is very similar to
|
|
|
|
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
|
|
|
|
syntax or state machine, it is being used with authorization from
|
|
|
|
Silicon Graphics, Inc.(SGI). However, the author does not possess an
|
|
|
|
OpenGL license from SGI, and makes no claim that Mesa is in any way a
|
|
|
|
compatible replacement for OpenGL or associated with SGI. Those who
|
|
|
|
want a licensed implementation of OpenGL should contact a licensed
|
|
|
|
vendor.
|
|
|
|
|
|
|
|
Please do not refer to the library as MesaGL (for legal reasons). It's
|
|
|
|
just Mesa or The Mesa 3-D graphics library.
|
|
|
|
|
|
|
|
* OpenGL is a trademark of Silicon Graphics Incorporated.
|
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%package -n Mesa-libEGL1
|
|
|
|
# Kudos to Debian for the descriptions
|
|
|
|
Summary: Free implementation of the EGL API
|
|
|
|
Group: System/Libraries
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%description -n Mesa-libEGL1
|
|
|
|
This package contains the EGL native platform graphics interface
|
|
|
|
library. EGL provides a platform-agnostic mechanism for creating
|
|
|
|
rendering surfaces for use with other graphics libraries, such as
|
|
|
|
OpenGL|ES and OpenVG.
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
This package contains modules to interface with the existing system
|
|
|
|
GLX or DRI2 drivers to provide OpenGL via EGL. The Mesa main package
|
|
|
|
provides drivers to provide hardware-accelerated OpenGL|ES and OpenVG
|
|
|
|
support.
|
|
|
|
|
|
|
|
%package -n Mesa-libEGL-devel
|
|
|
|
Summary: Development files for the EGL API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: Mesa-libEGL1 = %version
|
|
|
|
# Other requires taken care of by pkgconfig already
|
|
|
|
|
|
|
|
%description -n Mesa-libEGL-devel
|
|
|
|
This package contains the development environment required for
|
|
|
|
compiling programs against EGL native platform graphics interface
|
|
|
|
library. EGL provides a platform-agnostic mechanism for creating
|
|
|
|
rendering surfaces for use with other graphics libraries, such as
|
|
|
|
OpenGL|ES and OpenVG.
|
|
|
|
|
|
|
|
This package provides the development environment for compiling
|
|
|
|
programs against the EGL library.
|
|
|
|
|
|
|
|
%package -n Mesa-libGL1
|
|
|
|
Summary: The GL/GLX runtime of the Mesa 3D graphics library
|
|
|
|
Group: System/Libraries
|
2012-06-08 16:09:06 +02:00
|
|
|
Requires: Mesa = %version
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%description -n Mesa-libGL1
|
|
|
|
Mesa is a software library for 3D computer graphics that provides a
|
|
|
|
generic OpenGL implementation for rendering three-dimensional
|
|
|
|
graphics.
|
|
|
|
|
|
|
|
GLX ("OpenGL Extension to the X Window System") provides the
|
|
|
|
interface connecting OpenGL and the X Window System: it enables
|
|
|
|
programs wishing to use OpenGL to do so within a window provided by
|
|
|
|
the X Window System.
|
|
|
|
|
|
|
|
%package -n Mesa-libGL-devel
|
|
|
|
Summary: GL/GLX development files of the OpenGL API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: Mesa-libGL1 = %version
|
|
|
|
|
|
|
|
%description -n Mesa-libGL-devel
|
|
|
|
Mesa is a software library for 3D computer graphics that provides a
|
|
|
|
generic OpenGL implementation for rendering three-dimensional
|
|
|
|
graphics.
|
|
|
|
|
|
|
|
This package includes headers and static libraries for compiling
|
|
|
|
programs with Mesa.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv1_CM1
|
2012-10-16 10:42:59 +02:00
|
|
|
Summary: Free implementation of the OpenGL|ES 1.x Common Profile API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv1_CM1
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 1.x provides an API for fixed-function hardware.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv1_CM-devel
|
2012-10-16 10:42:59 +02:00
|
|
|
Summary: Development files for the OpenGL ES 1.x API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: Mesa-libGLESv1_CM1 = %version
|
|
|
|
Requires: pkgconfig(egl)
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv1_CM-devel
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 1.x provides an API for fixed-function hardware.
|
|
|
|
|
|
|
|
This package provides a development environment for building programs
|
|
|
|
using the OpenGL|ES 1.x APIs.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv2-2
|
2013-03-13 17:30:13 +01:00
|
|
|
Summary: Free implementation of the OpenGL|ES 2.x API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv2-2
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 2.x provides an API for programmable hardware including
|
|
|
|
vertex and fragment shaders.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv2-devel
|
2013-03-13 17:30:13 +01:00
|
|
|
Summary: Development files for the OpenGL ES 2.x API
|
2012-02-21 11:57:47 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: Mesa-libGLESv2-2 = %version
|
|
|
|
Requires: pkgconfig(egl)
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv2-devel
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
OpenGL|ES 2.x provides an API for programmable hardware including
|
|
|
|
vertex and fragment shaders.
|
|
|
|
|
|
|
|
This package provides a development environment for building
|
2013-03-13 17:30:13 +01:00
|
|
|
applications using the OpenGL|ES 2.x APIs.
|
|
|
|
|
|
|
|
%package -n Mesa-libGLESv3-devel
|
|
|
|
Summary: Development files for the OpenGL ES 3.x API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
#Requires: Mesa-libGLESv3-3 = %version
|
|
|
|
Requires: pkgconfig(egl)
|
|
|
|
|
|
|
|
%description -n Mesa-libGLESv3-devel
|
|
|
|
OpenGL|ES is a cross-platform API for full-function 2D and 3D
|
|
|
|
graphics on embedded systems - including consoles, phones, appliances
|
|
|
|
and vehicles. It contains a subset of OpenGL plus a number of
|
|
|
|
extensions for the special needs of embedded systems.
|
|
|
|
|
|
|
|
This package provides a development environment for building
|
|
|
|
applications using the OpenGL|ES 3.x APIs.
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%package -n libOSMesa9
|
2012-02-21 11:57:47 +01:00
|
|
|
Summary: Mesa Off-screen rendering extension
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%description -n libOSMesa9
|
2012-02-21 11:57:47 +01:00
|
|
|
OSmesa is a Mesa extension that allows programs to render to an
|
|
|
|
off-screen buffer using the OpenGL API without having to create a
|
|
|
|
rendering context on an X Server. It uses a pure software renderer.
|
|
|
|
|
2012-08-27 11:57:08 +02:00
|
|
|
%package -n libOSMesa-devel
|
|
|
|
Summary: Development files for the Mesa Offscreen Rendering extension
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-09-03 13:00:50 +02:00
|
|
|
Requires: libOSMesa9 = %version
|
2012-08-27 11:57:08 +02:00
|
|
|
|
|
|
|
%description -n libOSMesa-devel
|
|
|
|
Development files for the OSmesa Mesa extension that allows programs to render to an
|
|
|
|
off-screen buffer using the OpenGL API without having to create a
|
|
|
|
rendering context on an X Server. It uses a pure software renderer.
|
|
|
|
|
|
|
|
%package -n Mesa-libglapi0
|
|
|
|
Summary: Free implementation of the GL API
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n Mesa-libglapi0
|
|
|
|
The Mesa GL API module is responsible for dispatching all the gl*
|
|
|
|
functions. It is intended to be mainly used by the Mesa-libGLES*
|
|
|
|
packages.
|
|
|
|
|
|
|
|
%package -n Mesa-libglapi-devel
|
|
|
|
Summary: Development files for the free implementation of the GL API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: Mesa-libglapi0 = %version
|
|
|
|
|
|
|
|
%description -n Mesa-libglapi-devel
|
2013-07-15 15:37:01 +02:00
|
|
|
Development files for the Mesa GL API module which is responsible for
|
2012-08-27 11:57:08 +02:00
|
|
|
dispatching all the gl* functions. It is intended to be mainly used by
|
|
|
|
the Mesa-libGLES* packages.
|
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%package -n libgbm1
|
|
|
|
Summary: Generic buffer management API
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgbm1
|
|
|
|
This package contains the GBM buffer management library. It provides
|
|
|
|
a mechanism for allocating buffers for graphics rendering tied to
|
|
|
|
Mesa.
|
|
|
|
|
|
|
|
GBM is intended to be used as a native platform for EGL on drm or
|
|
|
|
openwfd.
|
|
|
|
|
|
|
|
%package -n libgbm-devel
|
|
|
|
Summary: Development files for the EGL API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgbm1 = %version
|
|
|
|
|
|
|
|
%description -n libgbm-devel
|
|
|
|
This package contains the GBM buffer management library. It provides
|
|
|
|
a mechanism for allocating buffers for graphics rendering tied to
|
|
|
|
Mesa.
|
|
|
|
|
|
|
|
GBM is intended to be used as a native platform for EGL on drm or
|
|
|
|
openwfd.
|
|
|
|
|
|
|
|
This package provides the development environment for compiling
|
|
|
|
programs against the GBM library.
|
|
|
|
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
|
|
|
|
%package -n libwayland-egl1
|
|
|
|
Summary: Additional egl functions for wayland
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libwayland-egl1
|
|
|
|
This package provides additional functions for egl-using programs
|
|
|
|
that run within the wayland framework. This allows for applications
|
|
|
|
that need not run full-screen and cooperate with a compositor.
|
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%package -n libwayland-egl-devel
|
2013-02-04 17:42:19 +01:00
|
|
|
Summary: Development files for libwayland-egl1
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libwayland-egl1 = %version
|
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%description -n libwayland-egl-devel
|
2013-02-04 17:42:19 +01:00
|
|
|
This package is required to link wayland client applications to the EGL
|
|
|
|
implementation of Mesa.
|
|
|
|
%endif
|
|
|
|
|
2013-12-02 11:29:34 +01:00
|
|
|
%package -n libxatracker2
|
2012-04-24 11:10:24 +02:00
|
|
|
Summary: XA state tracker
|
|
|
|
Group: System/Libraries
|
|
|
|
Version: 1.0.0
|
|
|
|
Release: 0
|
|
|
|
|
2013-12-02 11:29:34 +01:00
|
|
|
%description -n libxatracker2
|
2012-04-24 11:10:24 +02:00
|
|
|
This package contains the XA state tracker for gallium3D driver.
|
|
|
|
It superseeds the Xorg state tracker and provides an infrastructure
|
2013-07-15 15:37:01 +02:00
|
|
|
to accelerate Xorg 2D operations. It is currently used by vmwgfx
|
2012-04-24 11:10:24 +02:00
|
|
|
video driver.
|
|
|
|
|
|
|
|
%package -n libxatracker-devel
|
|
|
|
Summary: Development files for the XA API
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Version: 1.0.0
|
|
|
|
Release: 0
|
2013-12-02 11:29:34 +01:00
|
|
|
Requires: libxatracker2 = %version
|
2012-04-24 11:10:24 +02:00
|
|
|
|
|
|
|
%description -n libxatracker-devel
|
|
|
|
This package contains the XA state tracker for gallium3D driver.
|
|
|
|
It superseeds the Xorg state tracker and provides an infrastructure
|
2013-07-15 15:37:01 +02:00
|
|
|
to accelerate Xorg 2D operations. It is currently used by vmwgfx
|
2012-04-24 11:10:24 +02:00
|
|
|
video driver.
|
|
|
|
|
|
|
|
This package provides the development environment for compiling
|
|
|
|
programs against the XA state tracker.
|
|
|
|
|
2012-06-12 17:58:01 +02:00
|
|
|
%package -n libXvMC_nouveau
|
|
|
|
Summary: XVMC state tracker for Nouveau
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libXvMC_nouveau
|
2012-06-13 16:41:18 +02:00
|
|
|
This package contains the XvMC state tracker for Nouveau. This is
|
|
|
|
still "work in progress", i.e. expect poor video quality, choppy
|
|
|
|
videos and artefacts all over.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%package -n libXvMC_r600
|
|
|
|
Summary: XVMC state tracker for R600
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libXvMC_r600
|
2013-07-15 15:37:01 +02:00
|
|
|
This package contains the XvMC state tracker for R600. This is
|
2012-06-13 16:41:18 +02:00
|
|
|
still "work in progress", i.e. expect poor video quality, choppy
|
|
|
|
videos and artefacts all over.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%package -n libvdpau_nouveau
|
|
|
|
Summary: XVMC state tracker for Nouveau
|
|
|
|
Group: System/Libraries
|
2013-10-24 15:15:59 +02:00
|
|
|
Supplements: xf86-video-nouveau
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%description -n libvdpau_nouveau
|
2013-10-25 12:39:52 +02:00
|
|
|
This package contains the VDPAU state tracker for Nouveau.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%package -n libvdpau_r600
|
|
|
|
Summary: XVMC state tracker for R600
|
|
|
|
Group: System/Libraries
|
2013-10-24 15:15:59 +02:00
|
|
|
Supplements: xf86-video-ati
|
2012-06-12 17:58:01 +02:00
|
|
|
|
|
|
|
%description -n libvdpau_r600
|
2013-10-25 12:39:52 +02:00
|
|
|
This package contains the VDPAU state tracker for R600.
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2013-07-15 15:37:01 +02:00
|
|
|
%package -n libvdpau_radeonsi
|
|
|
|
Summary: XVMC state tracker for radeonsi
|
|
|
|
Group: System/Libraries
|
2013-10-24 15:15:59 +02:00
|
|
|
Supplements: xf86-video-ati
|
2012-09-03 13:00:50 +02:00
|
|
|
|
2013-07-15 15:37:01 +02:00
|
|
|
%description -n libvdpau_radeonsi
|
2013-10-25 12:39:52 +02:00
|
|
|
This package contains the VDPAU state tracker for radeonsi.
|
2012-09-03 13:00:50 +02:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%prep
|
2013-08-21 13:54:17 +02:00
|
|
|
%setup -n %{name}-%{_version} -b4 -q
|
2010-07-19 13:29:59 +02:00
|
|
|
# remove some docs
|
|
|
|
rm -rf docs/README.{VMS,WIN32,OS2}
|
2014-03-05 11:39:53 +01:00
|
|
|
### disabled, but not dropped yet; these still need investigation in
|
|
|
|
### order to figure out whether the issue is still reproducable and
|
|
|
|
### hence a fix is required
|
- Update to Mesa 8.0.1
* Removed all DRI drivers that did not support DRI2.
Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and
unichrome were removed.
* Removed all remnants of paletted texture support. As required
by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded
to a color (e.g., RGBA) texture. However, the data cannot be
stored internally as color-index.
* Removed support for GL_APPLE_client_storage extension.
* Removed the classic Mesa r300 and r600 drivers, which are
superseded by the gallium drivers for this hardware.
* Removed the dead Gallium i965, cell and failover drivers,
which were either broken and with nobody in sight to fix
the situation or deprecated.
- obsoletes u_GLX-SWrast-Make-GLX-with-SWrast-enabled-work-on-olde.patch
(git commit #63a6fd6603574c1c01324fbeb0863e39d3864c16)
- obsoletes U_Mesa-7.11-llvm3.patch
- obsoletes Mesa-llvm-3.0.patch
- disabled u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
for now (obsolete as well?)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=196
2012-02-23 14:38:22 +01:00
|
|
|
#%patch11 -p1
|
2013-09-20 13:57:54 +02:00
|
|
|
#%patch15 -p1
|
|
|
|
#%patch13 -p1
|
2014-03-18 12:29:12 +01:00
|
|
|
###
|
2014-07-30 09:26:57 +02:00
|
|
|
%patch16 -p1
|
2014-08-22 16:05:52 +02:00
|
|
|
%patch17 -p1
|
2011-09-09 17:37:55 +02:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%build
|
2010-03-26 00:19:38 +01:00
|
|
|
rm -f src/mesa/depend
|
2010-09-09 14:48:30 +02:00
|
|
|
export TALLOC_LIBS=-ltalloc
|
|
|
|
export TALLOC_CFLAGS="-I/usr/include"
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
egl_platforms=x11,drm,wayland
|
|
|
|
%else
|
|
|
|
egl_platforms=x11,drm
|
|
|
|
%endif
|
2009-03-26 17:25:45 +01:00
|
|
|
autoreconf -fi
|
2012-09-03 13:00:50 +02:00
|
|
|
### --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \
|
2012-09-18 17:44:41 +02:00
|
|
|
### --with-gallium-drivers=r300,r600,nouveau,swrast,svga \
|
2013-03-13 17:30:13 +01:00
|
|
|
### --with-gallium-drivers=r300,nouveau,swrast,svga \
|
2012-04-25 15:39:26 +02:00
|
|
|
%configure --enable-gles1 \
|
2011-06-10 12:03:49 +02:00
|
|
|
--enable-gles2 \
|
2012-08-28 15:09:46 +02:00
|
|
|
--enable-dri \
|
2013-02-04 17:42:19 +01:00
|
|
|
--with-egl-platforms=$egl_platforms \
|
2011-09-21 14:13:27 +02:00
|
|
|
--enable-shared-glapi \
|
2012-04-25 15:39:26 +02:00
|
|
|
--enable-texture-float \
|
2013-09-20 13:57:54 +02:00
|
|
|
--enable-osmesa \
|
2012-05-27 00:31:19 +02:00
|
|
|
%if %glamor
|
|
|
|
--enable-gbm \
|
|
|
|
--enable-glx-tls \
|
2013-07-15 15:37:01 +02:00
|
|
|
%endif
|
|
|
|
%if %egl_gallium
|
|
|
|
--enable-gallium-egl \
|
2012-05-27 00:31:19 +02:00
|
|
|
%endif
|
2014-08-15 14:43:38 +02:00
|
|
|
%if 0%{?suse_version} < 1315
|
2011-06-10 12:03:49 +02:00
|
|
|
--with-dri-searchpath=/usr/%{_lib}/dri/updates:/usr/%{_lib}/dri \
|
2014-08-15 14:43:38 +02:00
|
|
|
%else
|
|
|
|
--with-dri-searchpath=/usr/%{_lib}/dri \
|
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
%ifarch %ix86 x86_64
|
2013-03-21 17:53:52 +01:00
|
|
|
--enable-xa \
|
2012-03-22 12:18:14 +01:00
|
|
|
--enable-gallium-llvm \
|
2012-02-24 16:13:15 +01:00
|
|
|
--with-dri-drivers=i915,i965,nouveau,r200,radeon \
|
2013-12-02 11:29:34 +01:00
|
|
|
--enable-opencl-icd \
|
2013-07-15 15:37:01 +02:00
|
|
|
%if %llvm_r600
|
2014-05-05 10:12:09 +02:00
|
|
|
--enable-llvm-shared-libs \
|
2013-07-15 15:37:01 +02:00
|
|
|
--enable-r600-llvm-compiler \
|
|
|
|
--with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga \
|
|
|
|
%else
|
2012-04-24 11:10:24 +02:00
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast,svga \
|
2013-07-15 15:37:01 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
--enable-vdpau \
|
|
|
|
--enable-xvmc \
|
2010-03-05 02:08:54 +01:00
|
|
|
%endif
|
2013-09-25 10:23:56 +02:00
|
|
|
%ifarch %arm ppc64
|
2013-05-08 17:41:45 +02:00
|
|
|
--enable-xa \
|
|
|
|
--enable-gallium-llvm \
|
2014-05-12 15:08:48 +02:00
|
|
|
%ifarch ppc64
|
|
|
|
--disable-llvm-shared-libs \
|
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
--with-dri-drivers=nouveau \
|
2014-01-16 10:39:56 +01:00
|
|
|
%ifarch %arm
|
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast,svga,freedreno \
|
|
|
|
%else
|
2013-08-13 17:01:11 +02:00
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast,svga \
|
2014-01-16 10:39:56 +01:00
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
--enable-vdpau \
|
|
|
|
--enable-xvmc \
|
|
|
|
%endif
|
2013-09-25 10:23:56 +02:00
|
|
|
%ifarch ia64 ppc %sparc hppa
|
2012-02-24 16:13:15 +01:00
|
|
|
--with-dri-drivers=nouveau,r200,radeon \
|
|
|
|
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
2010-07-19 13:29:59 +02:00
|
|
|
%endif
|
2013-11-25 17:43:31 +01:00
|
|
|
%ifarch s390 aarch64 m68k
|
2009-08-06 17:44:49 +02:00
|
|
|
--with-dri-drivers=swrast \
|
2011-07-29 12:17:32 +02:00
|
|
|
--with-gallium-drivers="" \
|
2013-09-02 10:52:42 +02:00
|
|
|
%endif
|
|
|
|
%ifarch s390x
|
|
|
|
--enable-xa \
|
|
|
|
--enable-gallium-llvm \
|
|
|
|
--with-dri-drivers=swrast \
|
|
|
|
--with-gallium-drivers=swrast,svga \
|
2008-07-08 22:21:48 +02:00
|
|
|
%endif
|
2010-04-13 21:18:15 +02:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
2014-03-08 12:27:35 +01:00
|
|
|
make %{?_smp_mflags}
|
2013-12-17 15:00:58 +01:00
|
|
|
|
|
|
|
%install
|
2008-07-08 22:21:48 +02:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2012-09-24 21:39:55 +02:00
|
|
|
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
2013-07-29 15:54:03 +02:00
|
|
|
|
|
|
|
# Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306)
|
|
|
|
test -f $RPM_BUILD_ROOT%{_libdir}/libGL.so.1.2 || \
|
|
|
|
ln -s `readlink $RPM_BUILD_ROOT%{_libdir}/libGL.so.1` $RPM_BUILD_ROOT%{_libdir}/libGL.so.1.2
|
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
|
2013-07-15 15:37:01 +02:00
|
|
|
pushd $dir
|
|
|
|
xmkmf -a
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make install.man DESTDIR=$RPM_BUILD_ROOT MANPATH=%{_mandir} LIBMANSUFFIX=3gl
|
|
|
|
popd
|
2007-01-10 01:57:03 +01:00
|
|
|
done
|
2014-08-15 14:43:38 +02:00
|
|
|
%if 0%{?suse_version} < 1315
|
2013-07-15 15:37:01 +02:00
|
|
|
#DRI driver update mechanism
|
2007-01-10 01:57:03 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/dri/updates
|
|
|
|
install -m 644 $RPM_SOURCE_DIR/README.updates \
|
|
|
|
$RPM_BUILD_ROOT/usr/%{_lib}/dri/updates
|
2014-08-15 14:43:38 +02:00
|
|
|
%endif
|
2013-09-10 17:08:28 +02:00
|
|
|
|
2010-07-19 13:29:59 +02:00
|
|
|
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
2013-01-23 13:01:14 +01:00
|
|
|
### disabled for now on request of Coolo
|
|
|
|
### "please take out this libs things from Cristian for 12.3 - I have no interest in debugging
|
|
|
|
### broken build dependencies at this point"
|
|
|
|
#sed -i -e '/^Libs.private/d' -e '/^Requires.private/d' %{buildroot}%{_libdir}/pkgconfig/*.pc
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-10 01:57:03 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libEGL1 -p /sbin/ldconfig
|
|
|
|
%postun -n Mesa-libEGL1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libGL1 -p /sbin/ldconfig
|
|
|
|
%postun -n Mesa-libGL1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libGLESv1_CM1 -p /sbin/ldconfig
|
|
|
|
%postun -n Mesa-libGLESv1_CM1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libGLESv2-2 -p /sbin/ldconfig
|
|
|
|
%postun -n Mesa-libGLESv2-2 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%post -n libOSMesa9 -p /sbin/ldconfig
|
|
|
|
%postun -n libOSMesa9 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n libgbm1 -p /sbin/ldconfig
|
|
|
|
%postun -n libgbm1 -p /sbin/ldconfig
|
2012-02-21 12:52:23 +01:00
|
|
|
|
2014-04-07 16:51:28 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64 s390x
|
2013-12-02 11:29:34 +01:00
|
|
|
%post -n libxatracker2 -p /sbin/ldconfig
|
|
|
|
%postun -n libxatracker2 -p /sbin/ldconfig
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2014-04-01 11:29:15 +02:00
|
|
|
%if %xvmc_support
|
2012-06-12 17:58:01 +02:00
|
|
|
%post -n libXvMC_nouveau
|
|
|
|
%postun -n libXvMC_nouveau
|
|
|
|
|
|
|
|
%post -n libXvMC_r600
|
|
|
|
%postun -n libXvMC_r600
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2014-04-01 11:29:15 +02:00
|
|
|
%if %vdpau_r600
|
2012-06-12 17:58:01 +02:00
|
|
|
%post -n libvdpau_r600
|
|
|
|
%postun -n libvdpau_r600
|
2014-04-01 11:29:15 +02:00
|
|
|
%endif
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2013-07-15 15:37:01 +02:00
|
|
|
%if %llvm_r600
|
|
|
|
%post -n libvdpau_radeonsi
|
|
|
|
%postun -n libvdpau_radeonsi
|
|
|
|
%endif
|
2013-05-08 17:41:45 +02:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%post -n Mesa-libglapi0 -p /sbin/ldconfig
|
|
|
|
%postun -n Mesa-libglapi0 -p /sbin/ldconfig
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
%post -n libwayland-egl1 -p /sbin/ldconfig
|
|
|
|
%postun -n libwayland-egl1 -p /sbin/ldconfig
|
|
|
|
%endif
|
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-05-27 00:24:09 +02:00
|
|
|
%doc docs/README* docs/COPYING
|
2008-11-18 13:30:46 +01:00
|
|
|
%config /etc/drirc
|
2010-07-19 13:29:59 +02:00
|
|
|
%{_libdir}/dri/
|
2013-07-15 15:37:01 +02:00
|
|
|
%if %egl_gallium
|
|
|
|
%dir %_libdir/egl/
|
|
|
|
%_libdir/egl/egl_gallium.so
|
2014-05-12 15:08:48 +02:00
|
|
|
%endif
|
|
|
|
%if %gallium_loader
|
2013-07-15 15:37:01 +02:00
|
|
|
%dir %_libdir/gallium-pipe/
|
|
|
|
%_libdir/gallium-pipe/pipe_*.so
|
|
|
|
%endif
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%files -n Mesa-libEGL1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libEGL.so.1*
|
|
|
|
|
|
|
|
%files -n Mesa-libEGL-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/EGL
|
|
|
|
%_includedir/KHR
|
|
|
|
%_libdir/libEGL.so
|
|
|
|
%_libdir/pkgconfig/egl.pc
|
|
|
|
|
|
|
|
%files -n Mesa-libGL1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libGL.so.1*
|
|
|
|
|
|
|
|
%files -n Mesa-libGL-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %_includedir/GL
|
|
|
|
%_includedir/GL/*.h
|
2012-09-21 15:17:17 +02:00
|
|
|
%exclude %_includedir/GL/osmesa.h
|
2012-02-21 11:57:47 +01:00
|
|
|
%_libdir/libGL.so
|
|
|
|
%_libdir/pkgconfig/gl.pc
|
|
|
|
%_mandir/man3/gl[A-Z]*
|
|
|
|
|
|
|
|
%files -n Mesa-libGLESv1_CM1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libGLESv1_CM.so.1*
|
|
|
|
|
|
|
|
%files -n Mesa-libGLESv1_CM-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/GLES
|
|
|
|
%_libdir/libGLESv1_CM.so
|
|
|
|
%_libdir/pkgconfig/glesv1_cm.pc
|
|
|
|
|
|
|
|
%files -n Mesa-libGLESv2-2
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libGLESv2.so.2*
|
|
|
|
|
|
|
|
%files -n Mesa-libGLESv2-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/GLES2
|
|
|
|
%_libdir/libGLESv2.so
|
|
|
|
%_libdir/pkgconfig/glesv2.pc
|
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%files -n Mesa-libGLESv3-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/GLES3
|
|
|
|
#%_libdir/libGLESv3.so
|
|
|
|
#%_libdir/pkgconfig/glesv3.pc
|
|
|
|
|
2012-09-03 13:00:50 +02:00
|
|
|
%files -n libOSMesa9
|
2012-02-21 11:57:47 +01:00
|
|
|
%defattr(-,root,root)
|
2012-09-21 15:17:17 +02:00
|
|
|
%_libdir/libOSMesa.so.8.0.0
|
|
|
|
%_libdir/libOSMesa.so.8
|
2012-08-27 11:57:08 +02:00
|
|
|
|
|
|
|
%files -n libOSMesa-devel
|
|
|
|
%defattr(-,root,root)
|
2012-09-21 15:17:17 +02:00
|
|
|
%_includedir/GL/osmesa.h
|
2012-08-27 11:57:08 +02:00
|
|
|
%_libdir/libOSMesa.so
|
|
|
|
%_libdir/pkgconfig/osmesa.pc
|
2012-02-21 11:57:47 +01:00
|
|
|
|
2013-12-02 11:58:33 +01:00
|
|
|
%if 0%{?suse_version} >= 1310
|
2013-02-04 17:42:19 +01:00
|
|
|
%files -n libwayland-egl1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libwayland-egl.so.1*
|
|
|
|
|
2013-03-13 17:30:13 +01:00
|
|
|
%files -n libwayland-egl-devel
|
2013-02-04 17:42:19 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libwayland-egl.so
|
|
|
|
%_libdir/pkgconfig/wayland-egl.pc
|
|
|
|
%endif
|
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%files -n libgbm1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libgbm.so.1*
|
2013-07-15 15:37:01 +02:00
|
|
|
%if %egl_gallium
|
|
|
|
%dir %_libdir/gbm/
|
|
|
|
%_libdir/gbm/gbm_gallium_drm.so
|
|
|
|
%endif
|
2012-02-21 11:57:47 +01:00
|
|
|
|
|
|
|
%files -n libgbm-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/gbm.h
|
|
|
|
%_libdir/libgbm.so
|
|
|
|
%_libdir/pkgconfig/gbm.pc
|
|
|
|
|
2014-04-07 16:51:28 +02:00
|
|
|
%ifarch %ix86 x86_64 %arm ppc64 s390x
|
2013-12-02 11:29:34 +01:00
|
|
|
%files -n libxatracker2
|
2012-04-24 11:10:24 +02:00
|
|
|
%defattr(-,root,root)
|
2013-12-02 11:29:34 +01:00
|
|
|
%_libdir/libxatracker.so.2*
|
2012-04-24 11:10:24 +02:00
|
|
|
|
|
|
|
%files -n libxatracker-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/xa_*.h
|
|
|
|
%_libdir/libxatracker.so
|
|
|
|
%_libdir/pkgconfig/xatracker.pc
|
2013-07-26 10:56:04 +02:00
|
|
|
%endif
|
|
|
|
|
2014-04-01 11:29:15 +02:00
|
|
|
%if %xvmc_support
|
2012-06-12 17:58:01 +02:00
|
|
|
%files -n libXvMC_nouveau
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libXvMCnouveau.so
|
|
|
|
%_libdir/libXvMCnouveau.so.1
|
2013-03-13 17:30:13 +01:00
|
|
|
%_libdir/libXvMCnouveau.so.1.0.0
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2014-04-01 11:29:15 +02:00
|
|
|
%files -n libXvMC_r600
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libXvMCr600.so
|
|
|
|
%_libdir/libXvMCr600.so.1
|
|
|
|
%_libdir/libXvMCr600.so.1.0.0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %vdpau_nouveau
|
2013-12-06 11:51:38 +01:00
|
|
|
%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
|
2012-06-12 17:58:01 +02:00
|
|
|
|
2014-04-01 11:29:15 +02:00
|
|
|
%if %vdpau_r600
|
2012-06-12 17:58:01 +02:00
|
|
|
%files -n libvdpau_r600
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/vdpau/libvdpau_r600.so
|
|
|
|
%_libdir/vdpau/libvdpau_r600.so.1
|
2013-03-13 17:30:13 +01:00
|
|
|
%_libdir/vdpau/libvdpau_r600.so.1.0.0
|
2013-09-02 10:52:42 +02:00
|
|
|
%endif
|
|
|
|
|
2013-07-15 15:37:01 +02:00
|
|
|
%if %llvm_r600
|
|
|
|
%files -n libvdpau_radeonsi
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/vdpau/libvdpau_radeonsi.so
|
|
|
|
%_libdir/vdpau/libvdpau_radeonsi.so.1
|
|
|
|
%_libdir/vdpau/libvdpau_radeonsi.so.1.0.0
|
|
|
|
%endif
|
2012-09-03 13:00:50 +02:00
|
|
|
|
2012-02-21 11:57:47 +01:00
|
|
|
%files -n Mesa-libglapi0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libglapi.so.0*
|
|
|
|
|
2012-08-27 11:57:08 +02:00
|
|
|
%files -n Mesa-libglapi-devel
|
|
|
|
%defattr(-,root,root)
|
2012-09-24 21:39:55 +02:00
|
|
|
%_libdir/libglapi.so
|
2012-08-27 11:57:08 +02:00
|
|
|
|
2007-01-10 01:57:03 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2013-07-15 15:37:01 +02:00
|
|
|
%doc docs/*.html
|
2012-02-21 11:57:47 +01:00
|
|
|
%_includedir/GL/internal
|
|
|
|
%_libdir/pkgconfig/dri.pc
|
2007-01-10 01:57:03 +01:00
|
|
|
|
2007-03-15 01:44:44 +01:00
|
|
|
%changelog
|