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:
parent
b1d59e5f33
commit
67b391434c
17 changed files with 22 additions and 44 deletions
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +0,0 @@
|
||||||
MesaLib
|
|
1
srcpkgs/libGL/libglapi
Symbolic link
1
srcpkgs/libGL/libglapi
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libglapi
|
|
@ -1,6 +1,6 @@
|
||||||
# Template build file for 'MesaLib'.
|
# Template build file for 'libGL'.
|
||||||
pkgname=MesaLib
|
pkgname=libGL
|
||||||
version=10.3.4
|
version=10.3.5
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="Mesa-${version}"
|
wrksrc="Mesa-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -12,8 +12,8 @@ short_desc="Graphics library similar to SGI's OpenGL"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.mesa3d.org/"
|
homepage="http://www.mesa3d.org/"
|
||||||
license="MIT, LGPL-2.1"
|
license="MIT, LGPL-2.1"
|
||||||
distfiles="ftp://ftp.freedesktop.org/pub/mesa/${version}/${pkgname}-${version}.tar.bz2"
|
distfiles="ftp://ftp.freedesktop.org/pub/mesa/${version}/MesaLib-${version}.tar.bz2"
|
||||||
checksum=e6373913142338d10515daf619d659433bfd2989988198930c13b0945a15e98a
|
checksum=eb75d2790f1606d59d50a6acaa637b6c75f2155b3e0eca3d5099165c0d9556ae
|
||||||
|
|
||||||
hostmakedepends="
|
hostmakedepends="
|
||||||
automake libtool flex pkg-config llvm libxml2-python wayland-devel"
|
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
|
libudev-devel libdrm-devel expat-devel talloc-devel libvdpau-devel
|
||||||
libXdamage-devel libXvMC-devel>=1.0.6 libxshmfence-devel wayland-devel
|
libXdamage-devel libXvMC-devel>=1.0.6 libxshmfence-devel wayland-devel
|
||||||
elfutils-devel ncurses-devel zlib-devel libffi-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.
|
# 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
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*)
|
i686*|x86_64*)
|
||||||
|
@ -53,7 +55,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
*) configure_args+=" --with-dri-driverdir=/usr/lib/xorg/modules/drivers";;
|
*) configure_args+=" --with-dri-driverdir=/usr/lib/xorg/modules/drivers";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
conf_files="/etc/drirc"
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
@ -91,14 +92,6 @@ libGLES_package() {
|
||||||
vmove "usr/lib/libGLES*.so.*"
|
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() {
|
libOSMesa_package() {
|
||||||
short_desc="Mesa Off-Screen interface library"
|
short_desc="Mesa Off-Screen interface library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
@ -129,20 +122,6 @@ MesaLib-devel_package() {
|
||||||
vmove "usr/lib/*.so"
|
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() {
|
libxatracker_package() {
|
||||||
short_desc="Mesa XA tracker interface library"
|
short_desc="Mesa XA tracker interface library"
|
||||||
pkg_install() {
|
pkg_install() {
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
|
@ -1 +0,0 @@
|
||||||
MesaLib
|
|
|
@ -1 +1 @@
|
||||||
MesaLib
|
libGL
|
Loading…
Reference in a new issue