Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "The OpenGL utility toolkit" |
| 2 | DESCRIPTION = "GLU is a utility toolkit used with OpenGL implementations" |
| 3 | |
| 4 | HOMEPAGE = "http://mesa3d.org" |
| 5 | BUGTRACKER = "https://bugs.freedesktop.org" |
| 6 | SECTION = "x11" |
| 7 | LICENSE = "MIT" |
| 8 | LIC_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 |
| 12 | PE = "2" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 14 | SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \ |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 15 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 17 | SRC_URI[sha256sum] = "bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | |
| 19 | S = "${WORKDIR}/glu-${PV}" |
| 20 | |
| 21 | DEPENDS = "virtual/libgl" |
| 22 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 23 | inherit meson pkgconfig features_check |
| 24 | |
| 25 | EXTRA_OEMESON = "-Dgl_provider=gl" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 26 | |
| 27 | # Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 28 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | |
| 30 | # Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 31 | DEV_PKG_DEPENDENCY = "" |