MesaLib: rebuild with --enable-opencl-icd.

This commit is contained in:
Juan RP 2014-07-23 09:45:52 +02:00
parent 7a488a8a90
commit fa28fb8240

View file

@ -1,7 +1,7 @@
# Template build file for 'MesaLib'.
pkgname=MesaLib
version=10.2.4
revision=3
revision=4
wrksrc="Mesa-${version}"
build_style=gnu-configure
configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm
@ -29,7 +29,7 @@ i686*|x86_64*)
configure_args+=" --with-gallium-drivers=r300,r600,radeonsi,svga,swrast,nouveau"
configure_args+=" --with-dri-drivers=i915,i965,r200,radeon,nouveau,swrast"
configure_args+=" --enable-xa --enable-dri3"
configure_args+=" --enable-opencl --enable-r600-llvm-compiler"
configure_args+=" --enable-opencl --enable-opencl-icd --enable-r600-llvm-compiler"
hostmakedepends+=" clang libclc-devel-git"
;;
*)
@ -208,10 +208,10 @@ mesa-vmwgfx-dri_package() {
mesa-opencl_package() {
short_desc="Mesa implementation of OpenCL (r600+ only)"
depends="libclc-r600"
provides="libOpenCL-${version}_${revision}"
replaces="libOpenCL>=0"
pkg_install() {
vmove "/usr/lib/libOpenCL*"
vmove etc/OpenCL
vmove "/usr/lib/lib*OpenCL*"
mv ${XBPS_DESTDIR}/MesaLib-devel-${version}/usr/lib/lib*OpenCL.so ${PKGDESTDIR}/usr/lib
}
}