summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/mesa-libcl/PKGBUILD51
1 files changed, 41 insertions, 10 deletions
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD
index 9e3371236..a80417a3e 100644
--- a/libre/mesa-libcl/PKGBUILD
+++ b/libre/mesa-libcl/PKGBUILD
@@ -5,17 +5,25 @@ pkgbase=mesa
_pkgname=libcl
pkgname=$pkgbase-$_pkgname
_pkgflag=libre
-pkgver=10.1.3
-pkgrel=2
+pkgver=10.1.4
+pkgrel=1
pkgdesc='Mesa 3-D OpenCL library'
url=http://${pkgbase}3d.sourceforge.net
-license=(MIT Khronos LGPL)
-arch=(mips64el x86_64 i686)
+license=(
+ custom
+)
+arch=(
+ mips64el
+ x86_64
+ i686
+)
depends=(
libclc
$pkgbase
)
-optdepends='opencl-headers: headers necessary for OpenCL development'
+optdepends=(
+ opencl-headers: headers necessary for OpenCL development
+)
makedepends=(
clang
dri2proto
@@ -26,17 +34,40 @@ makedepends=(
presentproto
python2
)
-provides=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx opencl-$pkgbase)
-conflicts=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx opencl-$pkgbase)
-replaces=($_pkgname-$_pkgflag $_pkgname opencl-nvidia opencl-nvidia-304xx opencl-$pkgbase)
-source=ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2
-sha512sums=3c15b3c26db4d104450155c9b48264b6abd9fbe5b1bbe812299c9ce993cde54f8e0c1ffb2b25b9d46c818e870a514c41cac9b88fc1826d735bdf26fad498ce45
+provides=(
+ $_pkgname-$_pkgflag
+ $_pkgname
+ opencl-nvidia
+ opencl-nvidia-304xx
+ opencl-$pkgbase
+)
+conflicts=(
+ $_pkgname-$_pkgflag
+ $_pkgname
+ opencl-nvidia
+ opencl-nvidia-304xx
+ opencl-$pkgbase
+)
+replaces=(
+ $_pkgname-$_pkgflag
+ $_pkgname
+ opencl-nvidia
+ opencl-nvidia-304xx
+ opencl-$pkgbase
+)
+source=(
+ ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2
+)
+sha512sums=(
+ 3260c535d4ad2123fba29090b6d2d48b508086916b55bfad304936a48b0f79dd176be50a080add59755e9b2cc65c797dcb6a3aad34a1f7a6c30b97ef9428d02d
+)
build() {
cd $srcdir/${pkgbase^}-$pkgver
autoreconf -vfi
./configure --prefix=/usr\
--enable-opencl\
+ --enable-opencl --enable-opencl-icd\
--enable-gallium-llvm\
--enable-r600-llvm-compiler\
--enable-dri3\