diff --git a/srcpkgs/MesaLib/template b/srcpkgs/MesaLib/template index e8ef3febe5..f651c73e6e 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() {