summaryrefslogtreecommitdiff
path: root/libre-multilib
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-10 06:23:23 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-10 06:23:23 -0300
commit66973ec991555a477d26529e8d0409bce6cc7bc0 (patch)
tree5f5f6a61660916e27c4743b3016c89f81381f93e /libre-multilib
parentc9658885e2ce80cd780928bdfd89c76839a421e8 (diff)
downloadabslibre-66973ec991555a477d26529e8d0409bce6cc7bc0.tar.gz
abslibre-66973ec991555a477d26529e8d0409bce6cc7bc0.tar.bz2
abslibre-66973ec991555a477d26529e8d0409bce6cc7bc0.zip
rebuild lib32-mesa-libcl
Diffstat (limited to 'libre-multilib')
-rw-r--r--libre-multilib/lib32-mesa-libcl/PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/libre-multilib/lib32-mesa-libcl/PKGBUILD b/libre-multilib/lib32-mesa-libcl/PKGBUILD
index 15f91e819..c7c9e7b24 100644
--- a/libre-multilib/lib32-mesa-libcl/PKGBUILD
+++ b/libre-multilib/lib32-mesa-libcl/PKGBUILD
@@ -5,20 +5,18 @@ pkgbase=mesa
_pkgname=libcl
pkgname=lib32-$pkgbase-$_pkgname
pkgver=10.2.7
-pkgrel=2
-pkgdesc='Mesa 3-D OpenCL library (32-bit)'
+pkgrel=3
+pkgdesc='Mesa 3-D OpenCL library and ICD loader (32-bit)'
arch=('x86_64')
url="http://${pkgbase}3d.sourceforge.net"
license=('custom')
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')
-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")
+makedepends=('dri2proto' 'dri3proto' 'glproto' 'presentproto' 'python2')
+provides=("lib32-$_pkgname")
+conflicts=("lib32-$_pkgname" "lib32-$_pkgname-libre" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx')
+replaces=("lib32-$_pkgname" "lib32-$_pkgname-libre" 'lib32-opencl-nvidia' 'lib32-opencl-nvidia-304xx')
source=("ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2"
"llvm35.patch")
sha512sums=('c6d346499ef9596d3b5cd0bdc0ec64b58e8170203e0c977c54b55652c8792beb471822c101461745f7228a7d15a43924211f56fc0cc989defdc1acc4ea7b8a71'
@@ -45,7 +43,6 @@ build() {
--enable-llvm-shared-libs \
--enable-opencl \
--with-clang-libdir=/usr/lib32
- # --enable-opencl-icd
make
# fake installation
@@ -56,11 +53,8 @@ build() {
package() {
cd $srcdir/${pkgbase^}-$pkgver
- #install -vm755 -d $pkgdir/etc
- #mv -v $srcdir/fakeinstall/etc/OpenCL $pkgdir/etc/
-
install -vm755 -d $pkgdir/usr/lib32/
- mv -v $srcdir/fakeinstall/usr/lib32/lib*OpenCL* $pkgdir/usr/lib32/
+ mv -v $srcdir/fakeinstall/usr/lib32/libOpenCL* $pkgdir/usr/lib32/
install -vm755 -d $pkgdir/usr/share/licenses/$pkgname
install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname