Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] mesa: Upgrade to 10.4.0
@ 2015-01-28  7:15 Pengyu Ma
  2015-01-28  8:56 ` Pengyu Ma
  0 siblings, 1 reply; 2+ messages in thread
From: Pengyu Ma @ 2015-01-28  7:15 UTC (permalink / raw)
  To: pengyu.ma, openembedded-core

Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com>
---
 meta/recipes-graphics/mesa/mesa_10.4.0.bb |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta/recipes-graphics/mesa/mesa_10.4.0.bb

diff --git a/meta/recipes-graphics/mesa/mesa_10.4.0.bb b/meta/recipes-graphics/mesa/mesa_10.4.0.bb
new file mode 100644
index 0000000..7d3723e
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa_10.4.0.bb
@@ -0,0 +1,16 @@
+require ${BPN}.inc
+
+SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "b7b37117eecbdfaaf3075acfb063d5a3"
+SRC_URI[sha256sum] = "98a7dff3a1a6708c79789de8b9a05d8042e867067f70e8f30387c15026233219"
+
+S = "${WORKDIR}/Mesa-${PV}"
+
+#because we cannot rely on the fact that all apps will use pkgconfig,
+#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
+do_install_append() {
+    if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
+        sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
+    fi
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mesa: Upgrade to 10.4.0
  2015-01-28  7:15 [PATCH] mesa: Upgrade to 10.4.0 Pengyu Ma
@ 2015-01-28  8:56 ` Pengyu Ma
  0 siblings, 0 replies; 2+ messages in thread
From: Pengyu Ma @ 2015-01-28  8:56 UTC (permalink / raw)
  To: Pengyu Ma, openembedded-core

Ignore this, I got some feedback from Robert, will send V2.

Pengyu

On 01/28/2015 03:15 PM, Pengyu Ma wrote:
> Signed-off-by: Pengyu Ma <pengyu.ma@windriver.com>
> ---
>   meta/recipes-graphics/mesa/mesa_10.4.0.bb |   16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100644 meta/recipes-graphics/mesa/mesa_10.4.0.bb
>
> diff --git a/meta/recipes-graphics/mesa/mesa_10.4.0.bb b/meta/recipes-graphics/mesa/mesa_10.4.0.bb
> new file mode 100644
> index 0000000..7d3723e
> --- /dev/null
> +++ b/meta/recipes-graphics/mesa/mesa_10.4.0.bb
> @@ -0,0 +1,16 @@
> +require ${BPN}.inc
> +
> +SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "b7b37117eecbdfaaf3075acfb063d5a3"
> +SRC_URI[sha256sum] = "98a7dff3a1a6708c79789de8b9a05d8042e867067f70e8f30387c15026233219"
> +
> +S = "${WORKDIR}/Mesa-${PV}"
> +
> +#because we cannot rely on the fact that all apps will use pkgconfig,
> +#make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
> +do_install_append() {
> +    if ${@bb.utils.contains('PACKAGECONFIG', 'egl', 'true', 'false', d)}; then
> +        sed -i -e 's/^#ifdef MESA_EGL_NO_X11_HEADERS/#if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '0', '1', d)}/' ${D}${includedir}/EGL/eglplatform.h
> +    fi
> +}



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-28  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28  7:15 [PATCH] mesa: Upgrade to 10.4.0 Pengyu Ma
2015-01-28  8:56 ` Pengyu Ma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox