MesaLib: update to 9.0.1; new subpkgs: mesa-{ati,intel,nouveau,swraster,vmwgfx}-dri.

This commit is contained in:
Juan RP 2012-11-17 15:04:12 +01:00
parent 0ddb07a227
commit d426f37101
23 changed files with 130 additions and 26 deletions

View File

@ -951,6 +951,7 @@ libkeyutils.so.1 libkeyutils-1.5.5_1
libiptcdata.so.0 libiptcdata-1.0.4_1 libiptcdata.so.0 libiptcdata-1.0.4_1
libutempter.so.0 libutempter-1.1.5_1 libutempter.so.0 libutempter-1.1.5_1
libxatracker.so.1 MesaLib-7.11_1 libxatracker.so.1 MesaLib-7.11_1
libdricore9.0.1.so.1 MesaLib-9.0.1_1
libtumbler-1.so.0 tumbler-4.9.2_1 libtumbler-1.so.0 tumbler-4.9.2_1
libwebrtc_audio_processing.so.0 webrtc-audio-processing-0.1_1 libwebrtc_audio_processing.so.0 webrtc-audio-processing-0.1_1
libcupsmime.so.1 libcups-1.5.3_1 libcupsmime.so.1 libcups-1.5.3_1

View File

@ -5,7 +5,8 @@ depends="glproto dri2proto>=2.1 libXext-devel libXxf86vm-devel libXdamage-devel
libXfixes-devel libX11-devel libxcb-devel libdrm-devel>=2.4.39 expat-devel libXfixes-devel libX11-devel libxcb-devel libdrm-devel>=2.4.39 expat-devel
libXt-devel libGL-${version}_${revision} libOpenVG-${version}_${revision} libXt-devel libGL-${version}_${revision} libOpenVG-${version}_${revision}
libGLES-${version}_${revision} libEGL-${version}_${revision} libGLES-${version}_${revision} libEGL-${version}_${revision}
libOSMesa-${version}_${revision} libgbm-${version}_${revision}" libOSMesa-${version}_${revision} libgbm-${version}_${revision}
${sourcepkg}-${version}_${revision}"
short_desc="${short_desc} - development files" short_desc="${short_desc} - development files"
long_desc="${long_desc} long_desc="${long_desc}

View File

@ -2,13 +2,3 @@ libstdc++.so.6
libm.so.6 libm.so.6
libc.so.6 libc.so.6
libgcc_s.so.1 libgcc_s.so.1
libexpat.so.1
libpthread.so.0
libdl.so.2
libdrm_intel.so.1
libdrm.so.2
libdrm_nouveau.so.2
libdrm_radeon.so.1
libX11-xcb.so.1
libxcb-dri2.so.0
libXv.so.1

View File

@ -1,7 +1,5 @@
libX11-xcb.so.1 libwayland-client.so.0
libxcb-dri2.so.0 libwayland-server.so.0
libxcb-xfixes.so.0
libxcb.so.1
libX11.so.6 libX11.so.6
libpthread.so.0 libpthread.so.0
libudev.so.1 libudev.so.1
@ -9,8 +7,6 @@ libdl.so.2
libdrm.so.2 libdrm.so.2
libc.so.6 libc.so.6
libOpenVG.so.1 libOpenVG.so.1
libXext.so.6
libXfixes.so.3
libdrm_nouveau.so.2 libdrm_nouveau.so.2
libdrm_radeon.so.1 libdrm_radeon.so.1
libglapi.so.0 libglapi.so.0

View File

@ -15,4 +15,5 @@ replaces="MesaLib<7.11_2"
do_install() { do_install() {
vmove "usr/lib/libEGL*.so*" usr/lib vmove "usr/lib/libEGL*.so*" usr/lib
vmove usr/lib/egl usr/lib vmove usr/lib/egl usr/lib
vmove "usr/lib/libwayland-egl.*" usr/lib
} }

View File

@ -1,7 +1,7 @@
# Create libGL.so symlinks. # Create libGL.so symlinks.
case ${ACTION} in case ${ACTION} in
post) post)
if [ ! -e usr/lib/libGL-nvidia.so* ]; then if [ ! -h usr/lib/libGL.so -a -h usr/lib/libGL.so.1 ]; then
cd usr/lib cd usr/lib
ln -sf libGL-mesa.so* libGL.so ln -sf libGL-mesa.so* libGL.so
ln -sf libGL-mesa.so* libGL.so.1 ln -sf libGL-mesa.so* libGL.so.1

View File

@ -1,5 +1,4 @@
libudev.so.1 libudev.so.1
libkms.so.1
libdl.so.2 libdl.so.2
libpthread.so.0 libpthread.so.0
libc.so.6 libc.so.6

View File

@ -0,0 +1,13 @@
libdrm.so.2
libdrm_radeon.so.1
libX11-xcb.so.1
libxcb-dri2.so.0
libm.so.6
libgcc_s.so.1
libc.so.6
libstdc++.so.6
libXv.so.1
libdricore9.0.1.so.1
libexpat.so.1
libpthread.so.0
libdl.so.2

View File

@ -0,0 +1,13 @@
# Template file for 'mesa-ati-dri'.
#
short_desc="Mesa DRI drivers for ATI GPUs"
long_desc="
This package contains the ${short_desc}."
do_install() {
vmove "usr/lib/libXvMCr[36]00.so*" usr/lib
vmove "usr/lib/vdpau/libvdpau_r[36]00.so*" usr/lib/vdpau
vmove "usr/lib/vdpau/libvdpau_radeon*.so*" usr/lib/vdpau
vmove "usr/lib/xorg/modules/dri/radeon*" usr/lib/xorg/modules/dri
vmove "usr/lib/xorg/modules/dri/r[236]00*" usr/lib/xorg/modules/dri
}

View File

@ -0,0 +1,10 @@
libdricore9.0.1.so.1
libexpat.so.1
libm.so.6
libpthread.so.0
libdl.so.2
libdrm_intel.so.1
libdrm.so.2
libc.so.6
libstdc++.so.6
libgcc_s.so.1

View File

@ -0,0 +1,9 @@
# Template file for 'mesa-intel-dri'.
#
short_desc="Mesa DRI drivers for Intel GPUs"
long_desc="
This package contains the ${short_desc}."
do_install() {
vmove "usr/lib/xorg/modules/dri/i9[16]5_dri.*" usr/lib/xorg/modules/dri
}

View File

@ -0,0 +1,13 @@
libdrm_nouveau.so.2
libX11-xcb.so.1
libxcb-dri2.so.0
libm.so.6
libstdc++.so.6
libgcc_s.so.1
libc.so.6
libdricore9.0.1.so.1
libdrm.so.2
libexpat.so.1
libpthread.so.0
libdl.so.2
libXv.so.1

View File

@ -0,0 +1,11 @@
# Template file for 'mesa-nouveau-dri'.
#
short_desc="Mesa DRI drivers for NVIDIA GPUs (nouveau dri)"
long_desc="
This package contains the ${short_desc}."
do_install() {
vmove "usr/lib/libXvMCnouveau.so*" usr/lib
vmove "usr/lib/vdpau/libvdpau_nouveau.so*" usr/lib/vdpau
vmove "usr/lib/xorg/modules/dri/nouveau*" usr/lib/xorg/modules/dri
}

View File

@ -0,0 +1,8 @@
libm.so.6
libstdc++.so.6
libgcc_s.so.1
libc.so.6
libXv.so.1
libexpat.so.1
libpthread.so.0
libdl.so.2

View File

@ -0,0 +1,11 @@
# Template file for 'mesa-swraster-dri'.
#
short_desc="Mesa DRI drivers for the Software Rasterizer"
long_desc="
This package contains the ${short_desc}."
do_install() {
vmove "usr/lib/libXvMCsoftpipe.so*" usr/lib
vmove "usr/lib/vdpau/libvdpau_softpipe.so*" usr/lib/vdpau
vmove "usr/lib/xorg/modules/dri/swrast*" usr/lib/xorg/modules/dri
}

View File

@ -0,0 +1,8 @@
libdrm.so.2
libexpat.so.1
libm.so.6
libpthread.so.0
libdl.so.2
libstdc++.so.6
libgcc_s.so.1
libc.so.6

View File

@ -0,0 +1,9 @@
# Template file for 'mesa-vmwgfx-dri'.
#
short_desc="Mesa DRI drivers for VMware"
long_desc="
This package contains the ${short_desc}."
do_install() {
vmove "usr/lib/xorg/modules/dri/vmwgfx*" usr/lib/xorg/modules/dri
}

View File

@ -1,7 +1,7 @@
# Template build file for 'MesaLib'. # Template build file for 'MesaLib'.
pkgname=MesaLib pkgname=MesaLib
version=9.0 version=9.0.1
revision=2 revision=1
wrksrc="Mesa-${version}" wrksrc="Mesa-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
@ -9,14 +9,14 @@ configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl
--with-dri-driverdir=/usr/lib/xorg/modules/dri --enable-vdpau --enable-xa --with-dri-driverdir=/usr/lib/xorg/modules/dri --enable-vdpau --enable-xa
--enable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float --enable-gallium-egl --enable-xvmc --enable-osmesa --enable-texture-float
--with-gallium-drivers=r300,r600,radeonsi,svga,swrast,nouveau --with-gallium-drivers=r300,r600,radeonsi,svga,swrast,nouveau
--with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast --enable-gbm" --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast --enable-gbm
subpackages="libgbm libEGL libglapi libGLES libGL libOpenVG libOSMesa MesaLib-devel" --with-egl-platforms=wayland"
short_desc="Graphics library similar to SGI's OpenGL" 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/$pkgname-$version.tar.bz2"
checksum=0b7d206a2721d1c843f3decb71e10f86941cb4ddfd4c8a48cee75e7f0aabc3b5 checksum=57a7ba83bace3f3a7dc0929fe026ef5f0ad454234ec4ad8a3e0d31650a75db6f
long_desc=" long_desc="
MesaLib is a 3-D graphics library with an API which is very similar to MesaLib 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 that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax
@ -24,10 +24,16 @@ long_desc="
Inc. However, the author makes no claim that Mesa is in any way a Inc. However, the author makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with Silicon Graphics, Inc." compatible replacement for OpenGL or associated with Silicon Graphics, Inc."
makedepends="perl flex pkg-config glproto dri2proto>=2.1 makedepend conf_files="/etc/drirc"
makedepends="automake perl flex pkg-config glproto dri2proto>=2.1 makedepend
libXext-devel libXxf86vm-devel libXdamage-devel libXfixes-devel libxcb-devel libXext-devel libXxf86vm-devel libXdamage-devel libXfixes-devel libxcb-devel
libudev-devel>=183 libdrm-devel expat-devel libXt-devel talloc-devel libudev-devel>=183 libdrm-devel expat-devel libXt-devel talloc-devel
libxml2-python llvm-devel libvdpau-devel libXvMC-devel>=1.0.6 automake" libxml2-python llvm-devel libvdpau-devel libXvMC-devel>=1.0.6 wayland-devel"
subpackages="libgbm libEGL libglapi libGLES libGL libOpenVG libOSMesa
MesaLib-devel mesa-ati-dri mesa-intel-dri mesa-nouveau-dri mesa-swraster-dri
mesa-vmwgfx-dri"
pre_configure() { pre_configure() {
./autogen.sh ./autogen.sh

1
srcpkgs/mesa-ati-dri Symbolic link
View File

@ -0,0 +1 @@
MesaLib

1
srcpkgs/mesa-intel-dri Symbolic link
View File

@ -0,0 +1 @@
MesaLib

1
srcpkgs/mesa-nouveau-dri Symbolic link
View File

@ -0,0 +1 @@
MesaLib

1
srcpkgs/mesa-swraster-dri Symbolic link
View File

@ -0,0 +1 @@
MesaLib

1
srcpkgs/mesa-vmwgfx-dri Symbolic link
View File

@ -0,0 +1 @@
MesaLib