blob: 106721226bf0490fdccf57ee89af34abf85ea85b [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "OpenGL function pointer management library"
2HOMEPAGE = "https://github.com/anholt/libepoxy/"
3SECTION = "libs"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
7
8SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \
9 "
10SRC_URI[md5sum] = "4a6b9e581da229dee74c2263c84b1eca"
11SRC_URI[sha256sum] = "a9562386519eb3fd7f03209f279f697a8cba520d3c155d6e253c3e138beca7d8"
12UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases"
13
14inherit meson pkgconfig distro_features_check
15
16REQUIRED_DISTRO_FEATURES = "opengl"
17
18PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl"
19PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl"
20PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl"
21
22EXTRA_OEMESON += "-Dtests=false"