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

2014-11-11 Thread Chad Versace

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 

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() {
}


___
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle


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

2014-11-10 Thread Emil Velikov
As such demote libegl to makedepend/optdepent, so that
one can build waffle, and optionally use x11_egl/gbm/wayland.

Signed-off-by: Emil Velikov 
---
 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() {
 }
 
 package() {
+  optdepends=('libegl: for x11_egl, gbm or wayland support')
+
   cd "$srcdir/${_unpackdir}"
   make DESTDIR="$pkgdir/" install
   install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
-- 
2.1.3

___
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle