Commit ef901ba1 authored by Xuetian Weng's avatar Xuetian Weng

update lib32-mesa

parent 6c686fe3
......@@ -3,16 +3,16 @@
_pkgbasename=mesa
pkgbase=lib32-$_pkgbasename
pkgname=('lib32-ati-dri' 'lib32-intel-dri' 'lib32-nouveau-dri' 'lib32-mesa' 'lib32-mesa-libgl')
pkgver=10.2.3
pkgrel=2
pkgname=('lib32-ati-dri' 'lib32-intel-dri' 'lib32-nouveau-dri' 'lib32-svga-dri' 'lib32-mesa' 'lib32-mesa-libgl')
pkgver=10.2.4
pkgrel=1
arch=('x86_64')
makedepends=('python2' 'lib32-libxml2' 'lib32-expat' 'lib32-libx11' 'glproto' 'lib32-libdrm' 'dri2proto' 'presentproto' 'dri3proto'
'lib32-libxxf86vm' 'lib32-libxdamage' 'gcc-multilib' 'lib32-elfutils' 'lib32-llvm' 'lib32-systemd' 'lib32-libvdpau' 'lib32-wayland' 'lib32-libxshmfence' 'libtool')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2)
sha256sums=('e482a96170c98b17d6aba0d6e4dda4b9a2e61c39587bb64ac38cadfa4aba4aeb')
sha256sums=('06a2341244eb85c283f59f70161e06ded106f835ed9b6be1ef0243bd9344811a')
build() {
export CC="gcc -m32"
......@@ -59,6 +59,7 @@ build() {
make DESTDIR=${srcdir}/fakeinstall install
}
package_lib32-ati-dri() {
pkgdesc="Mesa drivers for AMD/ATI Radeon (32-bit)"
depends=('lib32-mesa-libgl' "lib32-mesa=${pkgver}" 'lib32-libtxc_dxtn' 'ati-dri')
......@@ -104,6 +105,21 @@ package_lib32-nouveau-dri() {
ln -s nouveau-dri "$pkgdir/usr/share/licenses/lib32-nouveau-dri"
}
package_lib32-svga-dri() {
pkgdesc="Gallium3D VMware guest GL driver"
depends=('libdrm' 'expat' 'llvm-libs')
install -m755 -d ${pkgdir}/usr/lib32/xorg/modules/dri
mv -v ${srcdir}/fakeinstall/usr/lib32/xorg/modules/dri/vmwgfx_dri.so ${pkgdir}/usr/lib32/xorg/modules/dri/
install -m755 -d ${pkgdir}/usr/lib32/gallium-pipe
mv -v ${srcdir}/fakeinstall/usr/lib32/gallium-pipe/pipe_vmwgfx* ${pkgdir}/usr/lib32/gallium-pipe/
install -m755 -d "${pkgdir}/usr/share/licenses"
ln -s svga-dri "$pkgdir/usr/share/licenses/lib32-svga-dri"
}
package_lib32-mesa() {
pkgdesc="an open-source implementation of the OpenGL specification (32-bit)"
depends=('lib32-libdrm' 'lib32-libxxf86vm' 'lib32-libxdamage' 'lib32-systemd' 'lib32-elfutils' 'lib32-llvm-libs' 'lib32-libvdpau' 'lib32-wayland') # $_pkgbasename=$pkgver)
......@@ -112,10 +128,11 @@ package_lib32-mesa() {
conflicts=('lib32-libglapi' 'lib32-libgles' 'lib32-libegl')
replaces=('lib32-libglapi' 'lib32-libgles' 'lib32-libegl')
install -m755 -d ${pkgdir}/usr/lib32/{gallium-pipe,gbm}
install -m755 -d ${pkgdir}/usr/lib32/{gallium-pipe,gbm,egl}
mv -v ${srcdir}/fakeinstall/usr/lib32/lib{OSMesa,gbm,glapi}.so* ${pkgdir}/usr/lib32/
mv -v ${srcdir}/fakeinstall/usr/lib32/gallium-pipe/pipe_swrast* ${pkgdir}/usr/lib32/gallium-pipe/
mv -v ${srcdir}/fakeinstall/usr/lib32/gbm/gbm_gallium_drm* ${pkgdir}/usr/lib32/gbm/
mv -v ${srcdir}/fakeinstall/usr/lib32/egl/egl_gallium* ${pkgdir}/usr/lib32/egl/
mv -v ${srcdir}/fakeinstall/usr/lib32/pkgconfig ${pkgdir}/usr/lib32/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment