blob: 8151727c52a31b0a1b3741fff96bdd164284be12 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "The OpenGL utility toolkit"
2DESCRIPTION = "GLU is a utility toolkit used with OpenGL implementations"
3
4HOMEPAGE = "http://mesa3d.org"
5BUGTRACKER = "https://bugs.freedesktop.org"
6SECTION = "x11"
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://include/GL/glu.h;endline=29;md5=6b79c570f644363b356456e7d44471d9 \
9 file://src/libtess/tess.c;endline=29;md5=6b79c570f644363b356456e7d44471d9"
10
11# Epoch as this used to be part of mesa
12PE = "2"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
Andrew Geissler5082cc72023-09-11 08:41:39 -040014SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \
Andrew Geisslerc5535c92023-01-27 16:10:19 -060015 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050016
Andrew Geissler5082cc72023-09-11 08:41:39 -040017SRC_URI[sha256sum] = "bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050018
19S = "${WORKDIR}/glu-${PV}"
20
21DEPENDS = "virtual/libgl"
22
Andrew Geissler5082cc72023-09-11 08:41:39 -040023inherit meson pkgconfig features_check
24
25EXTRA_OEMESON = "-Dgl_provider=gl"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050026
27# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES
Brad Bishop6e60e8b2018-02-01 10:27:11 -050028REQUIRED_DISTRO_FEATURES = "x11 opengl"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029
30# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty
Andrew Geissler615f2f12022-07-15 14:00:58 -050031DEV_PKG_DEPENDENCY = ""