diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-10 00:24:04 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-10 00:24:04 -0300 |
commit | 7af3112a9a2474773ad9526934657533bb94252d (patch) | |
tree | 34666729922c2f53c3f0449d57c2a9ce5d802336 | |
parent | 23f1428b3c9b434f8b7b5458e75b65c4df7b7392 (diff) |
update lib32-mesa-libcl
-rw-r--r-- | libre-multilib/lib32-mesa-libcl/PKGBUILD | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/libre-multilib/lib32-mesa-libcl/PKGBUILD b/libre-multilib/lib32-mesa-libcl/PKGBUILD index c11c9353a..15f91e819 100644 --- a/libre-multilib/lib32-mesa-libcl/PKGBUILD +++ b/libre-multilib/lib32-mesa-libcl/PKGBUILD @@ -10,12 +10,12 @@ pkgdesc='Mesa 3-D OpenCL library (32-bit)' arch=('x86_64') url="http://${pkgbase}3d.sourceforge.net" license=('custom') -depends=("lib32-$pkgbase-$_pkgname" "lib32-$pkgbase=$pkgver" 'lib32-libclc' 'lib32-clang') +depends=("$pkgbase-$_pkgname" "lib32-$pkgbase=$pkgver" 'lib32-libclc' 'lib32-clang') optdepends=('opencl-headers: headers necessary for OpenCL development') # please use libretools, install "multilib-devel" on chroot and add # "CHROOTEXTRAPKG=(multilib-devel)" on "/etc/libretools.d/chroot.conf" file. makedepends=('python2' 'lib32-libxml2' 'glproto' 'dri2proto' 'dri3proto' 'presentproto' - 'lib32-libvdpau' 'lib32-clang') # 'imake') + 'lib32-libvdpau' 'lib32-clang') provides=("lib32-$_pkgname-libre" "lib32-$_pkgname" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx' "lib32-opencl-$pkgbase") conflicts=("lib32-$_pkgname-libre" "lib32-$_pkgname" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx' "lib32-opencl-$pkgbase") replaces=("lib32-$_pkgname-libre" "lib32-$_pkgname" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx' "lib32-opencl-$pkgbase") @@ -41,13 +41,11 @@ build() { autoreconf -vfi # our automake is far too new for their build system :) ./configure --prefix=/usr --libdir=/usr/lib32 --enable-32-bit \ - --enable-opencl \ - --enable-gallium-llvm \ - --enable-r600-llvm-compiler \ - --enable-dri3 \ - --with-clang-libdir=/usr/lib32 \ + --sysconfdir=/etc \ --enable-llvm-shared-libs \ - --with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast + --enable-opencl \ + --with-clang-libdir=/usr/lib32 + # --enable-opencl-icd make # fake installation @@ -56,14 +54,13 @@ build() { } package() { - #cd $srcdir/${pkgbase^}-$pkgver - #make -C src/gallium/targets/opencl DESTDIR=$pkgdir install + cd $srcdir/${pkgbase^}-$pkgver - install -vm755 -d $pkgdir/etc - mv -v $srcdir/fakeinstall/etc/OpenCL $pkgdir/etc/ + #install -vm755 -d $pkgdir/etc + #mv -v $srcdir/fakeinstall/etc/OpenCL $pkgdir/etc/ - install -vm755 -d $pkgdir/usr/lib/ - mv -v $srcdir/fakeinstall/usr/lib/lib*OpenCL* $pkgdir/usr/lib/ + install -vm755 -d $pkgdir/usr/lib32/ + mv -v $srcdir/fakeinstall/usr/lib32/lib*OpenCL* $pkgdir/usr/lib32/ install -vm755 -d $pkgdir/usr/share/licenses/$pkgname install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname |