summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_1.5.3.bb16
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"
14inherit meson pkgconfig distro_features_check 14inherit meson pkgconfig distro_features_check
15 15
16REQUIRED_DISTRO_FEATURES = "opengl" 16REQUIRED_DISTRO_FEATURES = "opengl"
17REQUIRED_DISTRO_FEATURES_class-native = ""
18REQUIRED_DISTRO_FEATURES_class-nativesdk = ""
17 19
18PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl" 20PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl"
19PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl" 21PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl"
20PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" 22PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl"
21 23
22EXTRA_OEMESON += "-Dtests=false" 24EXTRA_OEMESON += "-Dtests=false"
25
26PACKAGECONFIG_class-native = "egl"
27PACKAGECONFIG_class-nativesdk = "egl"
28
29BBCLASSEXTEND = "native nativesdk"
30
31# This will ensure that dlopen will attempt only GL libraries provided by host
32do_install_append_class-native() {
33 chrpath --delete ${D}${libdir}/*.so
34}
35
36do_install_append_class-nativesdk() {
37 chrpath --delete ${D}${libdir}/*.so
38}