summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-10 05:20:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-10 05:20:02 -0300
commit179933bdd5845ddb451272c375587c869358fda2 (patch)
tree478d121d4cfdefc8c7a6f21ce6ac8a6ae6798bf6 /libre
parentff97af5966112c88a25b5c5a6d81a676005113e8 (diff)
downloadabslibre-179933bdd5845ddb451272c375587c869358fda2.tar.gz
abslibre-179933bdd5845ddb451272c375587c869358fda2.tar.bz2
abslibre-179933bdd5845ddb451272c375587c869358fda2.zip
mesa-libcl: rebuild pkg
Diffstat (limited to 'libre')
-rw-r--r--libre/mesa-libcl/PKGBUILD20
1 files changed, 7 insertions, 13 deletions
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD
index 81f5560bd..83c773958 100644
--- a/libre/mesa-libcl/PKGBUILD
+++ b/libre/mesa-libcl/PKGBUILD
@@ -5,20 +5,18 @@ pkgbase=mesa
_pkgname=libcl
pkgname=$pkgbase-$_pkgname
pkgver=10.2.7
-pkgrel=2
-pkgdesc='Mesa 3-D OpenCL library'
+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')
-optdepends=('opencl-headers: headers necessary for OpenCL development')
-makedepends=('python2' 'libxml2' 'glproto' 'dri2proto' 'dri3proto' 'presentproto'
- 'libvdpau' 'clang')
-provides=("$_pkgname-libre" "$_pkgname" 'opencl-nvidia' 'opencl-nvidia-304xx' 'opencl-$pkgbase')
-conflicts=("$_pkgname-libre" "$_pkgname" 'opencl-nvidia' 'opencl-nvidia-304xx' 'opencl-$pkgbase')
-replaces=("$_pkgname-libre" "$_pkgname" 'opencl-nvidia' 'opencl-nvidia-304xx' 'opencl-$pkgbase')
+makedepends=('dri2proto' 'dri3proto' 'glproto' 'presentproto' 'python2')
+provides=("$_pkgname-libre" "$_pkgname" 'opencl-nvidia' 'opencl-nvidia-304xx')
+conflicts=("$_pkgname-libre" "$_pkgname" 'opencl-nvidia' 'opencl-nvidia-304xx')
+replaces=("$_pkgname-libre" "$_pkgname" 'opencl-nvidia' 'opencl-nvidia-304xx')
source=("ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2"
"llvm35.patch")
sha512sums=('c6d346499ef9596d3b5cd0bdc0ec64b58e8170203e0c977c54b55652c8792beb471822c101461745f7228a7d15a43924211f56fc0cc989defdc1acc4ea7b8a71'
@@ -40,7 +38,6 @@ build() {
--enable-llvm-shared-libs \
--enable-opencl \
--with-clang-libdir=/usr/lib
- # --enable-opencl-icd
make
# fake installation
@@ -51,11 +48,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/lib/
- mv -v $srcdir/fakeinstall/usr/lib/lib*OpenCL* $pkgdir/usr/lib/
+ mv -v $srcdir/fakeinstall/usr/lib/libOpenCL* $pkgdir/usr/lib/
install -vm755 -d $pkgdir/usr/share/licenses/$pkgname
install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname