diff --git a/srcpkgs/MesaLib/MesaLib-devel.template b/srcpkgs/MesaLib/MesaLib-devel.template index 308e0ddda0..7791ed0919 100644 --- a/srcpkgs/MesaLib/MesaLib-devel.template +++ b/srcpkgs/MesaLib/MesaLib-devel.template @@ -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() { diff --git a/srcpkgs/MesaLib/depends b/srcpkgs/MesaLib/depends index b34f20ba61..f137837273 100644 --- a/srcpkgs/MesaLib/depends +++ b/srcpkgs/MesaLib/depends @@ -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. diff --git a/srcpkgs/MesaLib/libEGL.template b/srcpkgs/MesaLib/libEGL.template new file mode 100644 index 0000000000..2a81f7b4ca --- /dev/null +++ b/srcpkgs/MesaLib/libEGL.template @@ -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 +} diff --git a/srcpkgs/MesaLib/libGL.template b/srcpkgs/MesaLib/libGL.template new file mode 100644 index 0000000000..ccd60b0a42 --- /dev/null +++ b/srcpkgs/MesaLib/libGL.template @@ -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 +} diff --git a/srcpkgs/MesaLib/libGLES.template b/srcpkgs/MesaLib/libGLES.template new file mode 100644 index 0000000000..d52ac5539c --- /dev/null +++ b/srcpkgs/MesaLib/libGLES.template @@ -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 +} diff --git a/srcpkgs/MesaLib/libGLU.template b/srcpkgs/MesaLib/libGLU.template new file mode 100644 index 0000000000..a640d16376 --- /dev/null +++ b/srcpkgs/MesaLib/libGLU.template @@ -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 +} diff --git a/srcpkgs/MesaLib/libGLw.template b/srcpkgs/MesaLib/libGLw.template new file mode 100644 index 0000000000..fee0d67624 --- /dev/null +++ b/srcpkgs/MesaLib/libGLw.template @@ -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 +} diff --git a/srcpkgs/MesaLib/libOpenVG.template b/srcpkgs/MesaLib/libOpenVG.template new file mode 100644 index 0000000000..3e9fdccb01 --- /dev/null +++ b/srcpkgs/MesaLib/libOpenVG.template @@ -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 +} diff --git a/srcpkgs/MesaLib/libglapi.template b/srcpkgs/MesaLib/libglapi.template new file mode 100644 index 0000000000..4019a5cea5 --- /dev/null +++ b/srcpkgs/MesaLib/libglapi.template @@ -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 +} diff --git a/srcpkgs/MesaLib/template b/srcpkgs/MesaLib/template index b6d5029cdb..9eebfef522 100644 --- a/srcpkgs/MesaLib/template +++ b/srcpkgs/MesaLib/template @@ -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 diff --git a/srcpkgs/libEGL b/srcpkgs/libEGL new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libEGL @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/srcpkgs/libGL b/srcpkgs/libGL new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libGL @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/srcpkgs/libGLES b/srcpkgs/libGLES new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libGLES @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/srcpkgs/libGLU b/srcpkgs/libGLU new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libGLU @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/srcpkgs/libGLw b/srcpkgs/libGLw new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libGLw @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/srcpkgs/libOpenVG b/srcpkgs/libOpenVG new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libOpenVG @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/srcpkgs/libglapi b/srcpkgs/libglapi new file mode 120000 index 0000000000..8bf5fbea21 --- /dev/null +++ b/srcpkgs/libglapi @@ -0,0 +1 @@ +MesaLib \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 395a06b554..86d36e6ecd 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -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