libGL: depend on llvm3.9; fix depends

Since llvm-5.0.1 can't be built for arm* and mips* use llvm3.9 for now.
Fix depends listed in #10197
This commit is contained in:
Jürgen Buchmüller 2017-12-26 08:39:20 +01:00
parent 95d3d32702
commit be99f9c017

View file

@ -1,7 +1,7 @@
# Template build file for 'libGL'. # Template build file for 'libGL'.
pkgname=libGL pkgname=libGL
version=17.3.0 version=17.3.0
revision=1 revision=2
wrksrc="mesa-${version}" wrksrc="mesa-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-shared-glapi --enable-gbm configure_args="--enable-shared-glapi --enable-gbm
@ -16,7 +16,7 @@ distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
checksum=29a0a3a6c39990d491a1a58ed5c692e596b3bfc6c01d0b45e0b787116c50c6d9 checksum=29a0a3a6c39990d491a1a58ed5c692e596b3bfc6c01d0b45e0b787116c50c6d9
hostmakedepends=" hostmakedepends="
automake libtool flex pkg-config llvm python-Mako libxml2-python automake libtool flex pkg-config llvm3.9 python-Mako libxml2-python
$(vopt_if wayland 'wayland-protocols wayland-devel')" $(vopt_if wayland 'wayland-protocols wayland-devel')"
makedepends=" makedepends="
glproto dri2proto dri3proto presentproto libatomic-devel libXext-devel libXxf86vm-devel glproto dri2proto dri3proto presentproto libatomic-devel libXext-devel libXxf86vm-devel
@ -105,7 +105,7 @@ post_install() {
} }
libglapi_package() { libglapi_package() {
depends="libudev" depends="eudev-libudev"
short_desc="Free implementation of the GL API - shared library" short_desc="Free implementation of the GL API - shared library"
pkg_install() { pkg_install() {
vmove "usr/lib/libglapi.so*" vmove "usr/lib/libglapi.so*"
@ -124,7 +124,7 @@ libEGL_package() {
} }
} }
libGLES_package() { libGLES_package() {
depends="libudev" depends="eudev-libudev"
short_desc="Free implementation of the OpenGL|ES 1.x and 2.x API" short_desc="Free implementation of the OpenGL|ES 1.x and 2.x API"
pkg_install() { pkg_install() {
vmove "usr/lib/libGLES*.so*" vmove "usr/lib/libGLES*.so*"
@ -213,7 +213,7 @@ mesa-vc4-dri_package() {
} }
mesa-opencl_package() { mesa-opencl_package() {
short_desc="Mesa implementation of OpenCL (r600+ only)" short_desc="Mesa implementation of OpenCL (r600+ only)"
depends="libclc libOpenCL" depends="libclc-git ocl-icd"
pkg_install() { pkg_install() {
vmove etc/OpenCL vmove etc/OpenCL
vmove "usr/lib/lib*OpenCL*" vmove "usr/lib/lib*OpenCL*"