MesaLib: renamed to libGL and updated to 10.3.5.

libGL is now the main pkg and replaces MesaLib and mesa-swraster-dri.
This commit is contained in:
Juan RP 2014-12-08 08:58:12 +01:00
parent b1d59e5f33
commit 67b391434c
17 changed files with 22 additions and 44 deletions

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +0,0 @@
MesaLib

1
srcpkgs/libGL/libglapi Symbolic link
View file

@ -0,0 +1 @@
libglapi

View file

@ -1,6 +1,6 @@
# Template build file for 'MesaLib'.
pkgname=MesaLib
version=10.3.4
# Template build file for 'libGL'.
pkgname=libGL
version=10.3.5
revision=1
wrksrc="Mesa-${version}"
build_style=gnu-configure
@ -12,8 +12,8 @@ short_desc="Graphics library similar to SGI's OpenGL"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.mesa3d.org/"
license="MIT, LGPL-2.1"
distfiles="ftp://ftp.freedesktop.org/pub/mesa/${version}/${pkgname}-${version}.tar.bz2"
checksum=e6373913142338d10515daf619d659433bfd2989988198930c13b0945a15e98a
distfiles="ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2"
checksum=eb75d2790f1606d59d50a6acaa637b6c75f2155b3e0eca3d5099165c0d9556ae
hostmakedepends="
automake libtool flex pkg-config llvm libxml2-python wayland-devel"
@ -22,9 +22,11 @@ makedepends="
libudev-devel libdrm-devel expat-devel talloc-devel libvdpau-devel
libXdamage-devel libXvMC-devel>=1.0.6 libxshmfence-devel wayland-devel
elfutils-devel ncurses-devel zlib-devel libffi-devel"
replaces="MesaLib>=0 mesa-swraster-dri>=0"
conf_files="/etc/drirc"
# Set subpackages manually to set proper rdeps in 32bit pkgs.
subpackages="libglapi libgbm libEGL libGL libGLES libOSMesa libwayland-egl mesa-swraster-dri"
subpackages="libglapi libgbm libEGL libGLES libOSMesa libwayland-egl"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
@ -53,7 +55,6 @@ case "$XBPS_TARGET_MACHINE" in
*) configure_args+=" --with-dri-driverdir=/usr/lib/xorg/modules/drivers";;
esac
conf_files="/etc/drirc"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
@ -91,14 +92,6 @@ libGLES_package() {
vmove "usr/lib/libGLES*.so.*"
}
}
libGL_package() {
depends="libudev"
short_desc="Free implementation of the OpenGL API - GLX runtime"
pkg_install() {
vmove "usr/lib/libGL.so*"
vmove usr/lib/xorg/modules/extensions
}
}
libOSMesa_package() {
short_desc="Mesa Off-Screen interface library"
pkg_install() {
@ -129,20 +122,6 @@ MesaLib-devel_package() {
vmove "usr/lib/*.so"
}
}
mesa-swraster-dri_package() {
short_desc="Mesa DRI drivers for the Software Rasterizer"
pkg_install() {
vmove "usr/lib/xorg/modules/drivers/swrast*"
vmove usr/lib/xorg/modules/drivers/kms_swrast_dri.so
# XXX
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*)
vmove "usr/lib/gallium-pipe/pipe_swrast.so"
;;
esac
}
}
libxatracker_package() {
short_desc="Mesa XA tracker interface library"
pkg_install() {

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +1 @@
MesaLib
libGL

View file

@ -1 +0,0 @@
MesaLib

View file

@ -1 +1 @@
MesaLib
libGL