summaryrefslogtreecommitdiff
path: root/user/cogl/APKBUILD
blob: 7e0311e660ffd5b90dd8701728021a33e7de4a57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=cogl
pkgver=1.22.8
pkgrel=1
pkgdesc="GObject-based GL/GLES abstraction library"
url="https://gnome.org"
arch="all"
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 libglvnd-dev
	wayland-dev wayland-protocols"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/cogl/1.22/cogl-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-kms-egl-platform=yes \
		--enable-xlib-egl-platform=yes \
		--enable-wayland-egl-platform=yes \
		--enable-wayland-egl-server=yes
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="702d5b1b22dc34bffaa82c9c57021caf036ee3a13fa7ca24a90cca1ebc0f8b7a86070cc1fe5125757132b02774fa874bb55675c96d1ccbc233fac0e6132da65f  cogl-1.22.8.tar.xz"