diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2015-05-21 14:42:16 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-24 07:19:18 +0100 |
commit | c1eefc5a4bee25dcf9f8fbe57dc980e9fe352cf7 (patch) | |
tree | 5a503e585296293e396c0f4481ff1a771dca6575 /meta/recipes-graphics/libepoxy/libepoxy_git.bb | |
parent | 887fcb565381c59b1cc0b3426e1188baf030f2da (diff) | |
download | poky-c1eefc5a4bee25dcf9f8fbe57dc980e9fe352cf7.tar.gz |
libepoxy: make buildable for x11-less environments / update to latest version
* Make glx part configurable by PACKAGECONFIG enabled by 'x11' distro feature
* Major upstream enhancement is using pkgconfig for egl. This should make
those egl implementations happy that require compiler extra options for their
egl headers.
Example: meta-fsl-arm/imx-gpu-viv sets -DLINUX (and others) in egl.pc. These
are mandatory for proper builds.
(From OE-Core rev: 7bbd34c0efd0f7d65edb7187abdde695e45f62e2)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libepoxy/libepoxy_git.bb')
-rw-r--r-- | meta/recipes-graphics/libepoxy/libepoxy_git.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb new file mode 100644 index 0000000000..9816257495 --- /dev/null +++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb | |||
@@ -0,0 +1,24 @@ | |||
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 | |||
9 | SRC_URI = " \ | ||
10 | git://github.com/anholt/libepoxy.git \ | ||
11 | file://0001-select-platforms-based-on-configuration-results.patch \ | ||
12 | file://0002-add-an-option-to-disable-glx-support.patch \ | ||
13 | " | ||
14 | SRCREV="20062c25e7612cab023cdef44d3277ba1bd0b2de" | ||
15 | PV = "1.2+git${SRCPV}" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | inherit autotools pkgconfig | ||
20 | |||
21 | DEPENDS = "util-macros virtual/egl" | ||
22 | |||
23 | PACKAGECONFIG[x11] = "--enable-glx, --disable-glx, virtual/libx11" | ||
24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||