summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2022-11-20 16:48:29 +0000
committerEmil Velikov2022-11-20 16:48:29 +0000
commite5e2432afbc4dca3ad12a6d544ef029f0b50b1dd (patch)
tree644faa4d355fe4b1cf67801792fe57a93f9f320f
parent24ebe6fde66f669dce97cb54bd7c4db71f13fa6d (diff)
downloadaur-e5e2432afbc4dca3ad12a6d544ef029f0b50b1dd.tar.gz
waffle-git: demote libgl and libgles as optdepends
One can use waffle without libGL.so aka (GLX or OpenGL). Similarly using GLES + GLX (aka libGL.so) also an option. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b4d125aafcd0..9ed98f89ff74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = waffle-git
pkgdesc = Library for choosing window system and OpenGL API at runtime (git version)
pkgver = v1.7.0.r71.g692046d
- pkgrel = 2
+ pkgrel = 3
url = https://waffle.freedesktop.org
arch = x86_64
arch = aarch64
@@ -17,8 +17,8 @@ pkgbase = waffle-git
makedepends = wayland-protocols
depends = libx11
depends = libxcb
- depends = libgl
- depends = libgles
+ optdepends = libgl: for OpenGL or GLX support
+ optdepends = libgles: for GLES support
optdepends = libegl: for gbm, surfaceless, x11_egl or wayland support
optdepends = mesa: for gbm support
optdepends = libdrm: for gbm support
diff --git a/PKGBUILD b/PKGBUILD
index 3117b468f710..b8698cfade01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=waffle-git
pkgver=v1.7.0.r71.g692046d
-pkgrel=2
+pkgrel=3
pkgdesc='Library for choosing window system and OpenGL API at runtime (git version)'
arch=('x86_64' 'aarch64')
url='https://waffle.freedesktop.org'
@@ -12,8 +12,10 @@ provides=('waffle')
conflicts=('waffle')
license=('BSD')
-depends=('libx11' 'libxcb' 'libgl' 'libgles')
-optdepends=('libegl: for gbm, surfaceless, x11_egl or wayland support'
+depends=('libx11' 'libxcb')
+optdepends=('libgl: for OpenGL or GLX support'
+ 'libgles: for GLES support'
+ 'libegl: for gbm, surfaceless, x11_egl or wayland support'
'mesa: for gbm support'
'libdrm: for gbm support'
'wayland: for wayland support')