mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 06:49:33 +02:00
cairo: Add 'egl' and 'glesv2' PACKAGECONFIG options
(From OE-Core rev: f405f6983b4f36db4ec1b89c30b1082aec2545f8) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0e849f08d3
commit
af63a096cd
@@ -12,12 +12,14 @@ SECTION = "libs"
|
|||||||
LICENSE = "MPL-1 & LGPLv2.1"
|
LICENSE = "MPL-1 & LGPLv2.1"
|
||||||
X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
|
X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
|
||||||
DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
|
DEPENDS = "libpng fontconfig pixman glib-2.0 zlib"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
|
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
|
||||||
${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
|
${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)}"
|
||||||
PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}"
|
PACKAGECONFIG[x11] = "--with-x=yes,--without-x,${X11DEPENDS}"
|
||||||
PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb"
|
PACKAGECONFIG[directfb] = "--enable-directfb=yes,,directfb"
|
||||||
PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
|
PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
|
||||||
BBCLASSEXTEND = "native"
|
PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
|
||||||
|
PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
|
||||||
|
|
||||||
#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
|
#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
|
||||||
require cairo-fpu.inc
|
require cairo-fpu.inc
|
||||||
@@ -31,3 +33,5 @@ inherit autotools pkgconfig
|
|||||||
export ac_cv_lib_bfd_bfd_openr="no"
|
export ac_cv_lib_bfd_bfd_openr="no"
|
||||||
# Ensure we don't depend on LZO
|
# Ensure we don't depend on LZO
|
||||||
export ac_cv_lib_lzo2_lzo2a_decompress="no"
|
export ac_cv_lib_lzo2_lzo2a_decompress="no"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user