Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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 | file://no-tests.patch \ |
| 10 | " |
| 11 | SRC_URI[md5sum] = "63fe3847789258254dcd7e3fdb9e7f5e" |
| 12 | SRC_URI[sha256sum] = "4c94995398a6ebf691600dda2e9685a0cac261414175c2adf4645cdfab42a5d5" |
| 13 | UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" |
| 14 | |
| 15 | inherit meson pkgconfig distro_features_check |
| 16 | |
| 17 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 18 | |
| 19 | PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl" |
| 20 | PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl" |
| 21 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" |
| 22 | |
| 23 | EXTRA_OEMESON += "-Dtests=false" |