MesaLib: split shared libs into its own subpkgs.
This commit is contained in:
parent
f7b236d3ee
commit
e1f2d7c335
18 changed files with 164 additions and 25 deletions
|
@ -5,12 +5,10 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
revision=2
|
||||
|
||||
Add_dependency run pkg-config
|
||||
Add_dependency run glproto
|
||||
Add_dependency run dri2proto ">=2.1"
|
||||
Add_dependency run makedepend
|
||||
Add_dependency run libXext-devel
|
||||
Add_dependency run libXxf86vm-devel
|
||||
Add_dependency run libXdamage-devel
|
||||
|
@ -20,7 +18,10 @@ Add_dependency run libxcb-devel
|
|||
Add_dependency run libdrm-devel ">=2.4.23"
|
||||
Add_dependency run expat-devel
|
||||
Add_dependency run libXt-devel
|
||||
Add_dependency run MesaLib
|
||||
Add_dependency run libGL
|
||||
Add_dependency run libOpenVG
|
||||
Add_dependency run libGLES
|
||||
Add_dependency run libGLU
|
||||
|
||||
do_install()
|
||||
{
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
abi_depends=">=7.3"
|
||||
api_depends="${abi_depends}"
|
||||
abi_depends=">=7.11"
|
||||
api_depends=">=7.11_2" # multiple subpkgs for shared libs.
|
||||
|
|
28
srcpkgs/MesaLib/libEGL.template
Normal file
28
srcpkgs/MesaLib/libEGL.template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'libEGL'.
|
||||
#
|
||||
short_desc="Free implementation of the EGL API - runtime"
|
||||
long_desc="
|
||||
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.
|
||||
|
||||
This package contains modules to interface with the existing system GLX or
|
||||
DRI2 drivers to provide OpenGL via EGL. The MesaLib package provides drivers
|
||||
to provide hardware-accelerated OpenGL|ES and OpenVG support."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libX11
|
||||
Add_dependency run libxcb
|
||||
Add_dependency run libdrm
|
||||
Add_dependency run libOpenVG
|
||||
Add_dependency run libXext
|
||||
Add_dependency run libXfixes
|
||||
Add_dependency run libglapi
|
||||
Add_dependency run libudev
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run libgcc
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libEGL*.so*" usr/lib
|
||||
vmove usr/lib/egl usr/lib
|
||||
}
|
24
srcpkgs/MesaLib/libGL.template
Normal file
24
srcpkgs/MesaLib/libGL.template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'libGL'.
|
||||
#
|
||||
short_desc="Free implementation of the OpenGL API - GLX runtime"
|
||||
long_desc="
|
||||
This version of Mesa provides GLX and DRI capabilities: it is capable of both
|
||||
direct and indirect rendering. For direct rendering, it can use DRI modules
|
||||
from the MesaLib package to accelerate drawing.
|
||||
|
||||
This package does not include the modules themselves: these can be found in
|
||||
the MesaLib package."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libglapi
|
||||
Add_dependency run libXext
|
||||
Add_dependency run libXdamage
|
||||
Add_dependency run libXfixes
|
||||
Add_dependency run libXxf86vm
|
||||
Add_dependency run libX11
|
||||
Add_dependency run libxcb
|
||||
Add_dependency run libdrm
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libGL.so*" usr/lib
|
||||
}
|
19
srcpkgs/MesaLib/libGLES.template
Normal file
19
srcpkgs/MesaLib/libGLES.template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'libGLES'.
|
||||
#
|
||||
short_desc="Free implementation of the OpenGL|ES 1.x and 2.x API"
|
||||
long_desc="
|
||||
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.
|
||||
OpenGL|ES 2.x provides an API for programmable hardware including vertex
|
||||
and fragment shaders."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libglapi
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libGLES*.so*" usr/lib
|
||||
}
|
19
srcpkgs/MesaLib/libGLU.template
Normal file
19
srcpkgs/MesaLib/libGLU.template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'libGLU'.
|
||||
#
|
||||
short_desc="Mesa OpenGL utility library (GLU)"
|
||||
long_desc="
|
||||
GLU offers simple interfaces for building mipmaps; checking for the presence
|
||||
of extensions in the OpenGL (or other libraries which follow the same
|
||||
conventions for advertising extensions); drawing piecewise-linear curves,
|
||||
NURBS, quadrics and other primitives (including, but not limited to,
|
||||
teapots); tesselating surfaces; setting up projection matrices and
|
||||
unprojecting screen coordinates to world coordinates."
|
||||
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run libGL
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libGLU.so*" usr/lib
|
||||
}
|
21
srcpkgs/MesaLib/libGLw.template
Normal file
21
srcpkgs/MesaLib/libGLw.template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'libGLw'.
|
||||
#
|
||||
short_desc="Free implementation of the OpenGL API - runtime"
|
||||
long_desc="
|
||||
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.
|
||||
However, the author makes no claim that Mesa is in any way a compatible
|
||||
replacement for OpenGL or associated with Silicon Graphics, Inc.
|
||||
|
||||
This package provides a simple widgets library, libGLw, which allows
|
||||
Motif-based applications to embed an OpenGL drawing context."
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libX11
|
||||
Add_dependency run libXt
|
||||
Add_dependency run libGL
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libGLw.so*" usr/lib
|
||||
}
|
15
srcpkgs/MesaLib/libOpenVG.template
Normal file
15
srcpkgs/MesaLib/libOpenVG.template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'libOpenVG'.
|
||||
#
|
||||
short_desc="Free implementation of the OpenVG API - runtime"
|
||||
long_desc="
|
||||
This package contains the mesa implementation of the OpenVG 2D acceleration
|
||||
library. OpenVG provides a device independent and vendor-neutral interface
|
||||
for sophisticated 2D graphical applications, while allowing device
|
||||
manufacturers to provide hardware acceleration on devices ranging from wrist
|
||||
watches to full microprocessor-based desktop and server machines."
|
||||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libOpenVG.so*" usr/lib
|
||||
}
|
12
srcpkgs/MesaLib/libglapi.template
Normal file
12
srcpkgs/MesaLib/libglapi.template
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Template file for 'libglapi'.
|
||||
#
|
||||
short_desc="Free implementation of the GL API - shared library"
|
||||
long_desc="
|
||||
The Mesa GL API module is responsible for dispatching all the gl* functions.
|
||||
It is intended to be mainly used by both the libGLES package."
|
||||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install() {
|
||||
vmove "usr/lib/libglapi.so*" usr/lib
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'MesaLib'.
|
||||
pkgname=MesaLib
|
||||
version=7.11
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Mesa-${version}"
|
||||
distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
|
@ -22,21 +22,14 @@ long_desc="
|
|||
Inc. However, the author makes no claim that Mesa is in any way a
|
||||
compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
|
||||
|
||||
subpackages="$pkgname-devel"
|
||||
subpackages="libEGL libglapi libGLES libGL libGLU libGLw libOpenVG"
|
||||
subpackages="${subpackages} ${pkgname}-devel"
|
||||
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run libXext
|
||||
Add_dependency run libXxf86vm
|
||||
Add_dependency run libXdamage
|
||||
Add_dependency run libXfixes
|
||||
Add_dependency run libX11
|
||||
Add_dependency run libxcb
|
||||
Add_dependency run libudev
|
||||
Add_dependency run libdrm ">=2.4.23"
|
||||
Add_dependency run expat
|
||||
Add_dependency run libXt
|
||||
Add_dependency run talloc
|
||||
Add_dependency run libdrm
|
||||
|
||||
Add_dependency build perl ">=0"
|
||||
Add_dependency build flex
|
||||
|
|
1
srcpkgs/libEGL
Symbolic link
1
srcpkgs/libEGL
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
1
srcpkgs/libGL
Symbolic link
1
srcpkgs/libGL
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
1
srcpkgs/libGLES
Symbolic link
1
srcpkgs/libGLES
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
1
srcpkgs/libGLU
Symbolic link
1
srcpkgs/libGLU
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
1
srcpkgs/libGLw
Symbolic link
1
srcpkgs/libGLw
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
1
srcpkgs/libOpenVG
Symbolic link
1
srcpkgs/libOpenVG
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
1
srcpkgs/libglapi
Symbolic link
1
srcpkgs/libglapi
Symbolic link
|
@ -0,0 +1 @@
|
|||
MesaLib
|
|
@ -98,14 +98,14 @@ libjpeg.so.8 libturbojpeg libturbojpeg-devel
|
|||
libpng14.so.14 libpng libpng-devel
|
||||
libXrender.so.1 libXrender libXrender-devel
|
||||
libXrandr.so.2 libXrandr libXrandr-devel
|
||||
libGLU.so.1 MesaLib MesaLib-devel
|
||||
libEGL.so.1 MesaLib MesaLib-devel
|
||||
libGL.so.1 MesaLib MesaLib-devel
|
||||
libGLw.so.1 MesaLib MesaLib-devel
|
||||
libdricore.so MesaLib MesaLib-devel
|
||||
libglapi.so.0 MesaLib MesaLib-devel
|
||||
libGLU.so.1 libGLU MesaLib-devel
|
||||
libEGL.so.1 libEGL MesaLib-devel
|
||||
libGL.so.1 libGL MesaLib-devel
|
||||
libGLw.so.1 libGLw MesaLib-devel
|
||||
libglapi.so.0 libglapi MesaLib-devel
|
||||
libOpenVG.so.1 libOpenVG MesaLib-devel
|
||||
libglsl.so MesaLib MesaLib-devel
|
||||
libOpenVG.so.1 MesaLib MesaLib-devel
|
||||
libdricore.so MesaLib MesaLib-devel
|
||||
librsvg-2.so.2 librsvg librsvg-devel
|
||||
libdbus-1.so.3 dbus-libs dbus-devel
|
||||
libdbus-glib-1.so.2 dbus-glib dbus-glib-devel
|
||||
|
|
Loading…
Reference in a new issue