diff options
Diffstat (limited to 'libre-multilib/lib32-mesa-libcl/PKGBUILD')
-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 |