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 | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 14 | SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.gz \ |
| 15 | file://0001-Remove-deprecated-register-in-C-17.patch \ |
| 16 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | |
Andrew Geissler | 5f35090 | 2021-07-23 13:09:54 -0400 | [diff] [blame] | 18 | SRC_URI[sha256sum] = "24effdfb952453cc00e275e1c82ca9787506aba0282145fff054498e60e19a65" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
| 20 | S = "${WORKDIR}/glu-${PV}" |
| 21 | |
| 22 | DEPENDS = "virtual/libgl" |
| 23 | |
Brad Bishop | 6dbb316 | 2019-11-25 09:41:34 -0500 | [diff] [blame] | 24 | inherit autotools pkgconfig features_check |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 25 | |
| 26 | # 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] | 27 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
| 29 | # 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] | 30 | DEV_PKG_DEPENDENCY = "" |