mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
cogl-1.0: make building cogl-pango optional
Add a 'cogl-pango' PACKAGECONFIG option and enable it by default. (From OE-Core rev: 767a2893f6cbc7d48619086970b8ed6262a883e7) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9b6011c2d1
commit
7d013f32ab
@@ -8,7 +8,7 @@ SRC_URI += "file://cogl_fixed_mul-constraint.patch \
|
|||||||
|
|
||||||
inherit clutter
|
inherit clutter
|
||||||
|
|
||||||
DEPENDS = "pango glib-2.0 gdk-pixbuf"
|
DEPENDS = "glib-2.0 gdk-pixbuf"
|
||||||
PACKAGES =+ "${PN}-examples \
|
PACKAGES =+ "${PN}-examples \
|
||||||
libcogl libcogl-dev \
|
libcogl libcogl-dev \
|
||||||
libcogl-gles2 libcogl-gles2-dev \
|
libcogl-gles2 libcogl-gles2-dev \
|
||||||
@@ -34,6 +34,8 @@ EXTRA_OECONF += "--disable-introspection \
|
|||||||
--disable-gles1 \
|
--disable-gles1 \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
PACKAGECONFIG[cogl-pango] = "--enable-cogl-pango,--disable-cogl-pango,pango"
|
||||||
|
|
||||||
# GL flavours
|
# GL flavours
|
||||||
PACKAGECONFIG[gl] = "--enable-gl,--disable-gl,${EDEPENDS_GL},${ERDEPENDS_GL}"
|
PACKAGECONFIG[gl] = "--enable-gl,--disable-gl,${EDEPENDS_GL},${ERDEPENDS_GL}"
|
||||||
PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,${EDEPENDS_GLES2}, ${ERDEPENDS_GLES2}"
|
PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,${EDEPENDS_GLES2}, ${ERDEPENDS_GLES2}"
|
||||||
@@ -52,7 +54,7 @@ PACKAGECONFIG[wayland-server] = "--enable-wayland-egl-server,--disable-wayland-e
|
|||||||
|
|
||||||
# Respect the DISTRO_FEATURES to pull in GLX or Wayland as appropriate by
|
# Respect the DISTRO_FEATURES to pull in GLX or Wayland as appropriate by
|
||||||
# default.
|
# default.
|
||||||
PACKAGECONFIG ??= "gl \
|
PACKAGECONFIG ??= "cogl-pango gl \
|
||||||
${@base_contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', '', d)} \
|
${@base_contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', '', d)} \
|
||||||
${@base_contains('DISTRO_FEATURES', 'x11', 'glx', '', d)}"
|
${@base_contains('DISTRO_FEATURES', 'x11', 'glx', '', d)}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user