summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-01 22:20:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:35:41 +0000
commitda2e820471bb72ac72ff190183a826da85df894e (patch)
tree1946c6d27aa22addf9649906b67ff8c20aec050e /meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb
parent824525d94bf71ff06db964d62651ebc3d449598b (diff)
downloadpoky-da2e820471bb72ac72ff190183a826da85df894e.tar.gz
libepoxy: improve musl patch
dlvsym() is used by the libepoxy test suite, but this is glibc-specific and isn't present in musl. Instead of adding an option to control whether dlvsym is available (which could be detected by Meson), as we don't install the test suite simply add an option to disable the entire test suite (and submit the patch upstream). Also remove the build dependency on util-macros as that is a remnant of the autotools build. (From OE-Core rev: 80cee6088fa60eb5197f8ed9d135986b8e7d471a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb')
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb
index dfdd19248d..5ca0868c22 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_1.5.0.bb
@@ -6,7 +6,7 @@ LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" 6LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
7 7
8SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 8SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \
9 file://0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch \ 9 file://no-tests.patch \
10 " 10 "
11SRC_URI[md5sum] = "63fe3847789258254dcd7e3fdb9e7f5e" 11SRC_URI[md5sum] = "63fe3847789258254dcd7e3fdb9e7f5e"
12SRC_URI[sha256sum] = "4c94995398a6ebf691600dda2e9685a0cac261414175c2adf4645cdfab42a5d5" 12SRC_URI[sha256sum] = "4c94995398a6ebf691600dda2e9685a0cac261414175c2adf4645cdfab42a5d5"
@@ -16,10 +16,8 @@ inherit meson pkgconfig distro_features_check
16 16
17REQUIRED_DISTRO_FEATURES = "opengl" 17REQUIRED_DISTRO_FEATURES = "opengl"
18 18
19DEPENDS = "util-macros"
20
21PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl" 19PACKAGECONFIG[egl] = "-Degl=yes, -Degl=no, virtual/egl"
22PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl" 20PACKAGECONFIG[x11] = "-Dglx=yes, -Dglx=no, virtual/libx11 virtual/libgl"
23PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" 21PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl"
24 22
25EXTRA_OEMESON_append_libc-musl = " -Dhas-dlvsym=false " 23EXTRA_OEMESON += "-Dtests=false"