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