summaryrefslogtreecommitdiff
path: root/user/cogl
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-26 09:06:20 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 04:55:38 -0600
commit485ea65cc2b4b36d18f2512b9eca2f00c06fe996 (patch)
tree6026a65ac5bc659cbd9150cba403d2b11a586e5d /user/cogl
parent22a6bb2eddd635f29c0d2a83312eaf52612b85c4 (diff)
downloadpackages-485ea65cc2b4b36d18f2512b9eca2f00c06fe996.tar.gz
packages-485ea65cc2b4b36d18f2512b9eca2f00c06fe996.tar.bz2
packages-485ea65cc2b4b36d18f2512b9eca2f00c06fe996.tar.xz
packages-485ea65cc2b4b36d18f2512b9eca2f00c06fe996.zip
user/cogl: Add libglvnd dep, Wayland support
* mesa-dev is still needed for the KMS backend.
Diffstat (limited to 'user/cogl')
-rw-r--r--user/cogl/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/user/cogl/APKBUILD b/user/cogl/APKBUILD
index 2f1b161e3..7e0311e66 100644
--- a/user/cogl/APKBUILD
+++ b/user/cogl/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=cogl
pkgver=1.22.8
-pkgrel=0
+pkgrel=1
pkgdesc="GObject-based GL/GLES abstraction library"
url="https://gnome.org"
arch="all"
@@ -10,7 +10,8 @@ options="!check" # broken testsuite, no logs/messages to determine why
license="MIT AND SGI-B-2.0 AND BSD-3-Clause AND Public-Domain AND LGPL-2.0+ AND Apache-2.0"
depends=""
makedepends="glib-dev libxcomposite-dev libxrandr-dev mesa-dev cairo-dev
- pango-dev vala gobject-introspection-dev gdk-pixbuf-dev"
+ pango-dev vala gobject-introspection-dev gdk-pixbuf-dev libglvnd-dev
+ wayland-dev wayland-protocols"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/cogl/1.22/cogl-$pkgver.tar.xz"
@@ -23,7 +24,9 @@ build() {
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-kms-egl-platform=yes \
- --enable-xlib-egl-platform=yes
+ --enable-xlib-egl-platform=yes \
+ --enable-wayland-egl-platform=yes \
+ --enable-wayland-egl-server=yes
make
}