MesaLib: build with --disable-gallium-egl as suggested by wayland.

This option also disables libOpenVG, so remove it completely.
This commit is contained in:
Juan RP 2014-09-05 01:23:54 +02:00
parent adf1745251
commit d0a258ac63
3 changed files with 5 additions and 18 deletions

View File

@ -129,7 +129,6 @@ libGL.so.1 nvidia304-304.00_1
libGL.so.1 nvidia331-331.67_1
libglapi.so.0 libglapi-7.11_1
libglapi.so.0 libglapi-git-20140722_1
libOpenVG.so.1 libOpenVG-7.11_1
libOpenVG.so.1 libOpenVG-git-20140722_1
libgbm.so.1 libgbm-9.0_1
libgbm.so.1 libgbm-git-20140722_1

View File

@ -1,12 +1,12 @@
# Template build file for 'MesaLib'.
pkgname=MesaLib
version=10.2.6
revision=3
revision=4
wrksrc="Mesa-${version}"
build_style=gnu-configure
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm
--enable-gles1 --enable-gles2 --enable-openvg --enable-egl --enable-vdpau
--enable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float
--enable-gles1 --enable-gles2 --enable-egl --enable-vdpau
--disable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float
--with-egl-platforms=x11,drm,wayland"
short_desc="Graphics library similar to SGI's OpenGL"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -24,8 +24,7 @@ makedepends="
elfutils-devel ncurses-devel zlib-devel libffi-devel"
# Set subpackages manually to set proper rdeps in 32bit pkgs.
subpackages="libglapi libgbm libEGL libGL libGLES libOpenVG libOSMesa
libwayland-egl mesa-swraster-dri"
subpackages="libglapi libgbm libEGL libGL libGLES libOSMesa libwayland-egl mesa-swraster-dri"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
@ -81,7 +80,6 @@ libgbm_package() {
replaces="libgbm-git>=0"
pkg_install() {
vmove "usr/lib/libgbm.so.*"
vmove usr/lib/gbm/gbm_gallium_drm.so
}
}
@ -112,14 +110,6 @@ libGL_package() {
}
}
libOpenVG_package() {
short_desc="Free implementation of the OpenVG API - runtime"
replaces="libOpenVG-git>=0"
pkg_install() {
vmove "usr/lib/libOpenVG.so.*"
}
}
libOSMesa_package() {
short_desc="Mesa Off-Screen interface library"
replaces="libOSMesa-git>=0"
@ -133,7 +123,6 @@ libwayland-egl_package() {
replaces="libwayland-egl-git>=0"
pkg_install() {
vmove "usr/lib/libwayland-egl.so.*"
vmove usr/lib/egl
}
}
@ -141,7 +130,7 @@ MesaLib-devel_package() {
depends="glproto dri2proto>=2.1 dri3proto presentproto libxshmfence-devel
libXext-devel libXxf86vm-devel libXdamage-devel expat-devel
libXfixes-devel libX11-devel libxcb-devel libdrm-devel>=2.4.39
libGL>=${version}_${revision} libOpenVG>=${version}_${revision}
libGL>=${version}_${revision}
libGLES>=${version}_${revision} libEGL>=${version}_${revision}
libOSMesa>=${version}_${revision} libgbm>=${version}_${revision}
libwayland-egl>=${version}_${revision}"

View File

@ -1 +0,0 @@
MesaLib