diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-01-04 15:12:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-05 12:02:37 +0000 |
commit | 043f0218491452de223a5f0b47945fc6ec1633eb (patch) | |
tree | 622c00deacec31448cf5c36f604a34446c62b6d6 /meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb | |
parent | 7e1df9f68a444b1d6ee1895f272b6de8ba1c031a (diff) | |
download | poky-043f0218491452de223a5f0b47945fc6ec1633eb.tar.gz |
libepoxy: convert to meson build
Add a patch to work around absence of dlvsym() on musl
(wasn't previously a problem as autotools weren't building tests by default)
(From OE-Core rev: aaa523e87c73abc2cf8cf3ea55d9e2c6789d3b9a)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb')
-rw-r--r-- | meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb index 0172322b92..72167a2fb8 100644 --- a/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb +++ b/meta/recipes-graphics/libepoxy/libepoxy_1.4.3.bb | |||
@@ -6,17 +6,21 @@ LICENSE = "MIT" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" |
7 | 7 | ||
8 | SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \ | 8 | SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \ |
9 | file://Add-fallback-definition-for-EGL-CAST.patch" | 9 | file://Add-fallback-definition-for-EGL-CAST.patch \ |
10 | file://0001-Make-it-possible-to-disable-the-use-of-dlvsym-needed.patch \ | ||
11 | " | ||
10 | SRC_URI[md5sum] = "af4c3ce0fb1143bdc4e43f85695a9bed" | 12 | SRC_URI[md5sum] = "af4c3ce0fb1143bdc4e43f85695a9bed" |
11 | SRC_URI[sha256sum] = "0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6" | 13 | SRC_URI[sha256sum] = "0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6" |
12 | UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" | 14 | UPSTREAM_CHECK_URI = "https://github.com/anholt/libepoxy/releases" |
13 | 15 | ||
14 | inherit autotools pkgconfig distro_features_check | 16 | inherit meson pkgconfig distro_features_check |
15 | 17 | ||
16 | REQUIRED_DISTRO_FEATURES = "opengl" | 18 | REQUIRED_DISTRO_FEATURES = "opengl" |
17 | 19 | ||
18 | DEPENDS = "util-macros" | 20 | DEPENDS = "util-macros" |
19 | 21 | ||
20 | PACKAGECONFIG[egl] = "--enable-egl, --disable-egl, virtual/egl" | 22 | PACKAGECONFIG[egl] = "-Denable-egl=yes, -Denable-egl=no, virtual/egl" |
21 | PACKAGECONFIG[x11] = "--enable-glx, --disable-glx, virtual/libx11" | 23 | PACKAGECONFIG[x11] = "-Denable-glx=yes, -Denable-glx=no, virtual/libx11" |
22 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" | 24 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} egl" |
25 | |||
26 | EXTRA_OEMESON_append_libc-musl = " -Dhas-dlvsym=false " | ||