From 844d4619d61100b2975d8f5aa4046dd302486855 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Apr 2014 08:58:49 +0200 Subject: [PATCH] MesaLib: make lib{E,}GL depend on libudev; tries to dlopen() it anyway... --- srcpkgs/MesaLib/template | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/srcpkgs/MesaLib/template b/srcpkgs/MesaLib/template index e8ef3febe5f..f651c73e6ee 100644 --- a/srcpkgs/MesaLib/template +++ b/srcpkgs/MesaLib/template @@ -1,7 +1,7 @@ # Template build file for 'MesaLib'. pkgname=MesaLib version=10.1.0 -revision=7 +revision=8 wrksrc="Mesa-${version}" build_style=gnu-configure configure_args="--enable-glx-tls --enable-shared-glapi --enable-gbm @@ -64,6 +64,15 @@ libgbm_package() { } } +libglapi_package() { + depends="libudev" + short_desc="Free implementation of the GL API - shared library" + replaces="MesaLib<7.11_2" + pkg_install() { + vmove "usr/lib/libglapi.so.*" + } +} + libEGL_package() { short_desc="Free implementation of the EGL API - runtime" replaces="MesaLib<7.11_2" @@ -72,15 +81,8 @@ libEGL_package() { } } -libglapi_package() { - short_desc="Free implementation of the GL API - shared library" - replaces="MesaLib<7.11_2" - pkg_install() { - vmove "usr/lib/libglapi.so.*" - } -} - libGLES_package() { + depends="libudev" short_desc="Free implementation of the OpenGL|ES 1.x and 2.x API" replaces="MesaLib<7.11_2" pkg_install() { @@ -89,6 +91,7 @@ libGLES_package() { } libGL_package() { + depends="libudev" short_desc="Free implementation of the OpenGL API - GLX runtime" replaces="MesaLib<7.11_2" pkg_install() {