From 260694c6e7d4c9b84dafd771f2746952941eeaf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?coadde=20=5BM=C3=A1rcio=20Alexandre=20Silva=20Delgado=5D?= Date: Thu, 2 Oct 2014 20:30:07 -0300 Subject: update mesa-libcl with gallium pipe (r300, nouveau, svga and swrast) --- libre/mesa-libcl/PKGBUILD | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD index 40782e4fa..c4d87279e 100644 --- a/libre/mesa-libcl/PKGBUILD +++ b/libre/mesa-libcl/PKGBUILD @@ -4,13 +4,13 @@ pkgbase=mesa _pkgname=libcl pkgname=$pkgbase-$_pkgname -pkgver=10.2.8 -pkgrel=1 +pkgver=10.3.0 +pkgrel=3 pkgdesc='Mesa 3-D OpenCL library and ICD loader' arch=('i686' 'x86_64' 'mips64el') url="http://${pkgbase}3d.sourceforge.net" license=('custom') -depends=("$pkgbase=$pkgver" 'libclc' 'clang') +depends=("$pkgbase" 'libclc' 'clang') makedepends=('dri2proto' 'dri3proto' 'glproto' 'presentproto' 'python2') @@ -18,7 +18,7 @@ provides=("$_pkgname") conflicts=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx') replaces=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx') source=("ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2") -sha512sums=('dc0e3ece2195be22b3d0e062fd541b049aac190b5cad36dd1ccf745148d2e958cdb7c99ea5280859169ad46624aee0bedeb585bde8d93f52dd9236fec5c1250b') +sha512sums=('c5edc62dcd953b67307cd8a10921ad3f07bd72cdb81ca69f68706a757fd6c5e439f05f546e401e0b5e6923e0decdf34f0b48dcc1d8a758508a7f8fedb734442c') build() { cd $srcdir/${pkgbase^}-$pkgver @@ -27,9 +27,17 @@ build() { ./configure --prefix=/usr \ --sysconfdir=/etc \ + --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \ + --with-egl-platforms=x11,drm,wayland \ --enable-llvm-shared-libs \ + --enable-egl \ + --disable-gallium-egl \ + --disable-gallium-gbm \ + --enable-gallium-llvm \ --enable-opencl \ --with-clang-libdir=/usr/lib + # --with-gallium-drivers, --with-egl-platforms, --enable-egl, --disable-gallium-egl, --disable-gallium-gbm, --enable-gallium-llvm + # added, due are not r300, nouveau, svga and swrast gallium-pipe files on opencl-mesa package make # fake installation @@ -43,6 +51,9 @@ package() { install -vm755 -d $pkgdir/usr/lib/ mv -v $srcdir/fakeinstall/usr/lib/libOpenCL* $pkgdir/usr/lib/ + install -m755 -d ${pkgdir}/usr/lib/gallium-pipe + mv -v ${srcdir}/fakeinstall/usr/lib/gallium-pipe/pipe_{nouveau,r300,swrast,vmwgfx}.so ${pkgdir}/usr/lib/gallium-pipe/ + install -vm755 -d $pkgdir/usr/share/licenses/$pkgname install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname install -vm644 docs/license.html $pkgdir/usr/share/licenses/$pkgname/LICENSE -- cgit v1.2.3-2-g168b