summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/libglu_9.0.1.bb
blob: 703f131f79d225d25ef34c2e224a6e69ef517749 (plain)
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
SUMMARY = "The OpenGL utility toolkit"
DESCRIPTION = "GLU is a utility toolkit used with OpenGL implementations"

HOMEPAGE = "http://mesa3d.org"
BUGTRACKER = "https://bugs.freedesktop.org"
SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://include/GL/glu.h;endline=29;md5=6b79c570f644363b356456e7d44471d9 \
                    file://src/libtess/tess.c;endline=29;md5=6b79c570f644363b356456e7d44471d9"

# Epoch as this used to be part of mesa
PE = "2"
PR = "0"

SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.gz"

SRC_URI[md5sum] = "5599a0e0a97335e10239d9165aced60d"
SRC_URI[sha256sum] = "f6f484cfcd51e489afe88031afdea1e173aa652697e4c19ddbcb8260579a10f7"

S = "${WORKDIR}/glu-${PV}"

DEPENDS = "virtual/libgl"

inherit autotools pkgconfig features_check

# Requires libGL.so which is provided by mesa when x11 in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES = "x11 opengl"

# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty
RDEPENDS_${PN}-dev = ""