mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
cairo: Add a PACKAGECONFIG "trace" to disable cairo-trace
cairo-trace is the only part of cairo that is licensed as GPL-3.0, and is normally packaged separately in cairo-perf-utils. The "trace" PACKAGECONFIG is enabled by default for backwards compatibility. (From OE-Core rev: e0c4535fb3c347e19d3dada07a97545bfd48239c) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
5f3bfc5b0f
commit
58a6955820
|
@ -40,7 +40,8 @@ X11DEPENDS = "virtual/libx11 libsm libxrender libxext"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
|
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'directfb', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xcb', '', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)}"
|
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \
|
||||||
|
trace"
|
||||||
|
|
||||||
PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}"
|
PACKAGECONFIG[x11] = "--with-x=yes -enable-xlib,--with-x=no --disable-xlib,${X11DEPENDS}"
|
||||||
PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
|
PACKAGECONFIG[xcb] = "--enable-xcb,--disable-xcb,libxcb"
|
||||||
|
@ -49,6 +50,7 @@ PACKAGECONFIG[valgrind] = "--enable-valgrind=yes,--disable-valgrind,valgrind"
|
||||||
PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
|
PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
|
||||||
PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
|
PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
|
||||||
PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
|
PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
|
||||||
|
PACKAGECONFIG[trace] = "--enable-trace,--disable-trace"
|
||||||
|
|
||||||
EXTRA_OECONF += " \
|
EXTRA_OECONF += " \
|
||||||
${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \
|
${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \
|
||||||
|
@ -66,6 +68,8 @@ do_install_append () {
|
||||||
rm -rf ${D}${libdir}/cairo/cairo-sphinx*
|
rm -rf ${D}${libdir}/cairo/cairo-sphinx*
|
||||||
rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr*
|
rm -rf ${D}${libdir}/cairo/.debug/cairo-fdr*
|
||||||
rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx*
|
rm -rf ${D}${libdir}/cairo/.debug/cairo-sphinx*
|
||||||
|
rmdir -p --ignore-fail-on-non-empty ${D}${bindir}
|
||||||
|
rmdir -p --ignore-fail-on-non-empty ${D}${libdir}/cairo
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils"
|
PACKAGES =+ "cairo-gobject cairo-script-interpreter cairo-perf-utils"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user