[waffle] [PATCH 2/7] pkg/archlinux: waffle does not link against libegl
Emil Velikov
emil.l.velikov at gmail.com
Mon Nov 10 07:56:34 PST 2014
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 <emil.l.velikov at gmail.com>
---
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
More information about the waffle
mailing list