From acefaafc1eac779bffebf17c798be1b466f3ac95 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 2 Dec 2012 15:52:18 +0100 Subject: [PATCH] MesaLib: split libwayland-egl into its own subpkg. --- common/shlibs | 2 +- srcpkgs/MesaLib/libEGL.template | 1 - srcpkgs/MesaLib/libwayland-egl.template | 13 +++++++++++++ srcpkgs/MesaLib/template | 4 ++-- srcpkgs/libwayland-egl | 1 + 5 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/MesaLib/libwayland-egl.template create mode 120000 srcpkgs/libwayland-egl diff --git a/common/shlibs b/common/shlibs index 8a906ab56a4..008a7eb7e3f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -97,7 +97,7 @@ libXrender.so.1 libXrender-0.9.4_1 libXrandr.so.2 libXrandr-1.3.0_1 libGLU.so.1 glu-9.0.0_1 libEGL.so.1 libEGL-7.11_1 -libwayland-egl.so.1 libEGL-9.0.1_1 +libwayland-egl.so.1 libwayland-egl-9.0.1_4 libGLESv1_CM.so.1 libGLES-9.0.1_1 libGLESv2.so.2 libGLES-9.0.1_1 libGL.so.1 libGL-7.11_1 diff --git a/srcpkgs/MesaLib/libEGL.template b/srcpkgs/MesaLib/libEGL.template index 420e93ac8ea..e5232c5b8f5 100644 --- a/srcpkgs/MesaLib/libEGL.template +++ b/srcpkgs/MesaLib/libEGL.template @@ -15,5 +15,4 @@ replaces="MesaLib<7.11_2" do_install() { vmove "usr/lib/libEGL*.so*" usr/lib vmove usr/lib/egl usr/lib - vmove "usr/lib/libwayland-egl.*" usr/lib } diff --git a/srcpkgs/MesaLib/libwayland-egl.template b/srcpkgs/MesaLib/libwayland-egl.template new file mode 100644 index 00000000000..78d32f82ba5 --- /dev/null +++ b/srcpkgs/MesaLib/libwayland-egl.template @@ -0,0 +1,13 @@ +# Template file for 'libwayland-egl'. +# +short_desc="Free implementation of the EGL API - wayland runtime" +long_desc=" + This package contains the EGL native platform graphics interface library. + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES and OpenVG. + + This package contains the wayland EGL backend." + +do_install() { + vmove "usr/lib/libwayland-egl.*" usr/lib +} diff --git a/srcpkgs/MesaLib/template b/srcpkgs/MesaLib/template index 0cad20c7e4f..94ae5594896 100644 --- a/srcpkgs/MesaLib/template +++ b/srcpkgs/MesaLib/template @@ -1,7 +1,7 @@ # Template build file for 'MesaLib'. pkgname=MesaLib version=9.0.1 -revision=3 +revision=4 wrksrc="Mesa-${version}" build_style=gnu-configure configure_args="--enable-glx-tls --enable-shared-glapi --enable-gallium-g3dvl @@ -35,7 +35,7 @@ makedepends="automake perl flex pkg-config glproto dri2proto>=2.1 makedepend subpackages="libgbm libEGL libglapi libGLES libGL libOpenVG libOSMesa MesaLib-devel mesa-ati-dri mesa-intel-dri mesa-nouveau-dri mesa-swraster-dri - mesa-vmwgfx-dri" + mesa-vmwgfx-dri libwayland-egl" pre_configure() { ./autogen.sh diff --git a/srcpkgs/libwayland-egl b/srcpkgs/libwayland-egl new file mode 120000 index 00000000000..8bf5fbea217 --- /dev/null +++ b/srcpkgs/libwayland-egl @@ -0,0 +1 @@ +MesaLib \ No newline at end of file