[waffle] [PATCH 2/7] pkg/archlinux: waffle does not link against libegl

Chad Versace chad.versace at intel.com
Tue Nov 11 21:15:36 PST 2014


On Mon 10 Nov 2014, Emil Velikov wrote:
>As such demote libegl to makedepend/optdepent, so that
>one can build waffle, and optionally use x11_egl/gbm/wayland.

Patch 2 is
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

And, I see for *more* EGL dependency removal. If I understand correctly, 
at buildtime Waffle uses only the EGL headers, which we could easily 
import into git. That would remove even libEGL from the build 
dependencies, which might be overzealous but looks tempting.

> pkg/archlinux/waffle-git/PKGBUILD | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
>diff --git a/pkg/archlinux/waffle-git/PKGBUILD b/pkg/archlinux/waffle-git/PKGBUILD
>index e4a86d8..7dea3a1 100644
>--- a/pkg/archlinux/waffle-git/PKGBUILD
>+++ b/pkg/archlinux/waffle-git/PKGBUILD
>@@ -12,7 +12,6 @@ provides=(waffle)
> conflicts=(waffle)
> depends=(
>   'libgl' # for glx
>-  'libegl'
>   'libgbm'
>   'libx11'
>   'libxcb'
>@@ -22,6 +21,8 @@ makedepends=(
>   'cmake'
>   'xcb-proto'
>
>+  'libegl'
>+
>   # for building the docs.
>   'libxslt'
>   'docbook-xsl'
>@@ -50,6 +51,8 @@ build() {
> }



More information about the waffle mailing list