summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-02 20:30:07 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-10-02 20:30:07 -0300
commit260694c6e7d4c9b84dafd771f2746952941eeaf3 (patch)
tree623ad83d7a6c4dcdbcee0d1bc6196624b39aea4e /libre
parent1c1ff165dc890876d7e801fe2666e1c5edb889f1 (diff)
update mesa-libcl with gallium pipe (r300, nouveau, svga and swrast)
Diffstat (limited to 'libre')
-rw-r--r--libre/mesa-libcl/PKGBUILD19
1 files changed, 15 insertions, 4 deletions
diff --git a/libre/mesa-libcl/PKGBUILD b/libre/mesa-libcl/PKGBUILD
index 40782e4fa..c4d87279e 100644
--- a/libre/mesa-libcl/PKGBUILD
+++ b/libre/mesa-libcl/PKGBUILD
@@ -4,13 +4,13 @@
pkgbase=mesa
_pkgname=libcl
pkgname=$pkgbase-$_pkgname
-pkgver=10.2.8
-pkgrel=1
+pkgver=10.3.0
+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')
+depends=("$pkgbase" 'libclc' 'clang')
makedepends=('dri2proto' 'dri3proto' 'glproto' 'presentproto' 'python2')
@@ -18,7 +18,7 @@ provides=("$_pkgname")
conflicts=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx')
replaces=("$_pkgname" "$_pkgname-libre" 'opencl-nvidia' 'opencl-nvidia-304xx')
source=("ftp://ftp.freedesktop.org/pub/$pkgbase/${pkgver%.0}/${pkgbase^}Lib-$pkgver.tar.bz2")
-sha512sums=('dc0e3ece2195be22b3d0e062fd541b049aac190b5cad36dd1ccf745148d2e958cdb7c99ea5280859169ad46624aee0bedeb585bde8d93f52dd9236fec5c1250b')
+sha512sums=('c5edc62dcd953b67307cd8a10921ad3f07bd72cdb81ca69f68706a757fd6c5e439f05f546e401e0b5e6923e0decdf34f0b48dcc1d8a758508a7f8fedb734442c')
build() {
cd $srcdir/${pkgbase^}-$pkgver
@@ -27,9 +27,17 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast \
+ --with-egl-platforms=x11,drm,wayland \
--enable-llvm-shared-libs \
+ --enable-egl \
+ --disable-gallium-egl \
+ --disable-gallium-gbm \
+ --enable-gallium-llvm \
--enable-opencl \
--with-clang-libdir=/usr/lib
+ # --with-gallium-drivers, --with-egl-platforms, --enable-egl, --disable-gallium-egl, --disable-gallium-gbm, --enable-gallium-llvm
+ # added, due are not r300, nouveau, svga and swrast gallium-pipe files on opencl-mesa package
make
# fake installation
@@ -43,6 +51,9 @@ package() {
install -vm755 -d $pkgdir/usr/lib/
mv -v $srcdir/fakeinstall/usr/lib/libOpenCL* $pkgdir/usr/lib/
+ install -m755 -d ${pkgdir}/usr/lib/gallium-pipe
+ mv -v ${srcdir}/fakeinstall/usr/lib/gallium-pipe/pipe_{nouveau,r300,swrast,vmwgfx}.so ${pkgdir}/usr/lib/gallium-pipe/
+
install -vm755 -d $pkgdir/usr/share/licenses/$pkgname
install -vm644 docs/COPYING $pkgdir/usr/share/licenses/$pkgname
install -vm644 docs/license.html $pkgdir/usr/share/licenses/$pkgname/LICENSE