diff options
| -rw-r--r-- | meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb index 92f644c039..dd706a9606 100644 --- a/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb +++ b/meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb | |||
| @@ -14,9 +14,25 @@ UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" | |||
| 14 | inherit meson pkgconfig distro_features_check | 14 | inherit meson pkgconfig distro_features_check |
| 15 | 15 | ||
| 16 | REQUIRED_DISTRO_FEATURES = "opengl" | 16 | REQUIRED_DISTRO_FEATURES = "opengl" |
| 17 | REQUIRED_DISTRO_FEATURES_class-native = "" | ||
| 18 | REQUIRED_DISTRO_FEATURES_class-nativesdk = "" | ||
| 17 | 19 | ||
| 18 | PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl" | 20 | PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl" |
| 19 | PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl" | 21 | PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl" |
| 20 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" | 22 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" |
| 21 | 23 | ||
| 22 | EXTRA_OEMESON += "-Dtests=false" | 24 | EXTRA_OEMESON += "-Dtests=false" |
| 25 | |||
| 26 | PACKAGECONFIG_class-native = "egl" | ||
| 27 | PACKAGECONFIG_class-nativesdk = "egl" | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "native nativesdk" | ||
| 30 | |||
| 31 | # This will ensure that dlopen will attempt only GL libraries provided by host | ||
| 32 | do_install_append_class-native() { | ||
| 33 | chrpath --delete ${D}${libdir}/*.so | ||
| 34 | } | ||
| 35 | |||
| 36 | do_install_append_class-nativesdk() { | ||
| 37 | chrpath --delete ${D}${libdir}/*.so | ||
| 38 | } | ||
