MesaLib-git: build with --disable-gallium-egl @xtraeme

As suggested by wayland. This option also disables libOpenVG, so remove
it completely.
This commit is contained in:
John Galt 2014-09-04 11:39:14 -07:00
parent b99d926537
commit dfb7a0419c
3 changed files with 7 additions and 22 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-git-20140722_1
libgbm.so.1 libgbm-9.0_1
libgbm.so.1 libgbm-git-20140722_1
librsvg-2.so.2 librsvg-2.26.0_1

View File

@ -1,12 +1,12 @@
# Template build file for 'MesaLib-git'.
pkgname=MesaLib-git
version=20140903
revision=1
revision=2
wrksrc="Mesa-git-${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"
replaces="MesaLib>=0"
provides="MesaLib-${version}_${revision}"
@ -25,8 +25,7 @@ makedepends="
# Set subpackages manually to set proper rdeps in 32bit pkgs.
subpackages="libglapi-git libgbm-git libEGL-git libGL-git libGLES-git
libOpenVG-git libOSMesa-git libwayland-egl-git MesaLib-devel-git
mesa-swraster-dri-git"
libOSMesa-git libwayland-egl-git MesaLib-devel-git mesa-swraster-dri-git"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
@ -108,7 +107,6 @@ libgbm-git_package() {
provides="libgbm-${version}_${revision}"
pkg_install() {
vmove "usr/lib/libgbm.so.*"
vmove usr/lib/gbm/gbm_gallium_drm.so
}
}
@ -123,15 +121,6 @@ libGL-git_package() {
}
}
libOpenVG-git_package() {
short_desc="Free implementation of the OpenVG API - runtime"
replaces="libOpenVG>=0"
provides="libOpenVG-${version}_${revision}"
pkg_install() {
vmove "usr/lib/libOpenVG.so.*"
}
}
libOSMesa-git_package() {
short_desc="Mesa Off-Screen interface library"
replaces="libOSMesa>=0"
@ -147,7 +136,6 @@ libwayland-egl-git_package() {
provides="libwayland-egl-${version}_${revision}"
pkg_install() {
vmove "usr/lib/libwayland-egl.so.*"
vmove usr/lib/egl
}
}
@ -155,10 +143,9 @@ MesaLib-devel-git_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-git>=${version}_${revision} libOpenVG-git>=${version}_${revision}
libGLES-git>=${version}_${revision} libEGL-git>=${version}_${revision}
libOSMesa-git>=${version}_${revision} libgbm-git>=${version}_${revision}
libwayland-egl-git>=${version}_${revision}"
libGL-git>=${version}_${revision} libGLES-git>=${version}_${revision}
libEGL-git>=${version}_${revision} libOSMesa-git>=${version}_${revision}
libgbm-git>=${version}_${revision} libwayland-egl-git>=${version}_${revision}"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
depends+=" libxatracker-git>=${version}_${revision}"
fi

View File

@ -1 +0,0 @@
MesaLib-git